- Jackson Irvine (12')
- Awer Mabil (32')
- Garang Kuol (84')
- Félix Torres (23')
Socceroos boss Graham Arnold has spoken of wanting to use last year's round-of-16 exit as a springboard towards the 2026 tournament.
And the crowd of 20, 268 at CommBank Stadium in Sydney got an insight into what lies ahead over the next three-and-a-half years.
But the real moment of excitement came late in the second half when 19-year-old debutant Alex Robertson kickstarted a move which led to fellow teenager Garang Kuol grabbing his first international goal.
Uncapped Melbourne City midfielder Aiden O'Neill was the only player in Arnold's starting XI who didn't go to the World Cup and it allowed Australia to quickly get into their rhythm.
One nice break from Mitchell Duke failed to yield a goal but the forward was causing all sorts of issues for the Ecuadorians, and it wasn't long before he set up Irvine for Australia's opener.
Duke slid low to turn a Craig Goodwin free kick back across the six-yard box in the 12th minute and Irvine was given the simplest job to tap in.
Replays showed Duke was offside but with no VAR in use, Australia had the lead.
Sarmiento's night ended when he limped off with an injury on the half hour mark and Australia were able to re-establish an advantage soon after when they caught the visitors out at the back.
Defender Piero Hincape had a ball snatched off him by a pressing Irvine and the midfielder was able to tee Mabil up in the box.
The winger powered the ball into the back of the net and Australia looked promising.
Duke was at his bustling best and the forward could consider himself unlucky to have not scored on his return to Sydney's west.
Robertson, who has yet to start a senior game for Manchester City, looked assured on his maiden Socceroos outing and it was his intricate build-up play that began a move for Kuol's goal.
Robertson charged down the left exchanging passes on the way before finding Aziz Behich, whose cross was tapped in by Kuol.
- Dae-Yong Kim