Midfielder Roberto Firmino scored his first goal for Brazil who beat Austria 2-1 in a friendly in Vienna.
The 23-year-old, from Hoffenheim, hit the 83rd-minute winner with a fierce 25-yard strike into the top corner.
Paris St-Germain defender David Luiz had put Brazil ahead in the 62nd minute with a header off a corner from his former Chelsea team-mate Oscar.
Aleksandar Dragovic equalised with a penalty 13 minutes later after Oscar fouled Aston Villa's Andreas Weimann.
Rubin Okotie hit the post with a header in the first half for Austria while Stoke's Marko Arnautovic also went close for the hosts with a curling effort that was deflected just wide.
It was Brazil's sixth straight win under new coach Dunga, although his side conceded their first goal since he was appointed after the World Cup this summer.