it must be Uruguay of 1950 winning it in Brazil..
Not sure there's anything on the scale of Greece 04 or Denmark 92 but both Uruguay 1950 and West Germany 1954 (especially the former) were less heralded teams that won the final against overwhelming favorites. In Uruguay 1950's case that win caused real and longstanding national trauma in Brazil.
You should look up the definition of underdog or read up on football history.
Uruguay was unbeaten in FIFA tournaments for 30 years until they finally lost to Hungary playing with 9 men in ET of the 1954 semifinal (2:2 at FT). One of the many games called "The Match of the Century".
Uruguay played Brazil, in Brazil, three times in a week two months before the World Cup. Won the first 4-3, lost the next 3-2 and the last 1-0. That's pretty even, more so when the visiting side gets run down while the locals kept mixing things up with fresh players.
It just happened that two months later Brazil was being Brazil and pummelling opponents while Uruguay characteristically played out tighter games.
Brazil was expected to win. The newspapers saluted the world champions before the game was even played. 200,000 people went to watch and celebrate... and 11 chaps had different plans. Even when they fell behind and had the chants of 200,000 thundering inside their heads, they kept their confidence and eye on the prize.
Brazil got caught up in the hype and the aftermath was soul-destroying, so much so that Brazilians alive in 1950 and 2014 tell you the 7-1 was nothing in comparison. Easily forgotten by pampered generations, while 1950 was meant to be THE ONE, THE FIRST.
But no, they weren't facing plucky underdogs or dark horses, not even remotely.