Fakhar Zaman and Sarfraz Ahmed came to Pakistan's rescue after a blistering spell of Nathan Lyon bowling had handed Australia early control of the second Test on day one in Abu Dhabi.
Pakistan were reeling on 57-5 part way through the morning session, their top order decimated by Lyon (4-78) in the space of six deliveries as he took four wickets for no runs.
That devastating burst took the him up to fourth in his country's all-time Test wickets list, above Mitchell Johnson, but his side's momentum was soon slowed.
Opener Zaman (94) and captain Sarfraz (94) combined for a sixth-wicket stand of 147, carrying Pakistan towards their total of 282 all out, although the wickets fell with some regularity again following that effective partnership.
The efforts of the batsmen were rewarded as Australia made a poor start of their own at the crease, Mohammad Abbas (2-9) taking two early wickets to leave Tim Paine's side on 20-2, trailing by 262.
An unorthodox early Marnus Labuschagne catch accounted for Mohammad Hafeez (4), but Pakistan were progressing steadily before Lyon intervened with an astonishing flurry.
The spinner first caught and bowled Azhar Ali (15) and then tempted Haris Sohail to jab at Travis Head from the following delivery, ending the 20th over on a hat-trick.
Lyon fell short of the treble, but his next over – following Jon Holland's maiden – was just as rewarding, with Labuschagne catching from Asad Shafiq before Babar Azam's stumps were ripped out.
Test debutant Fakhar managed to stand firm, however, and he and Sarfraz gradually turned the tide, plundering boundaries before the end of the first session and then ploughing on towards tea.
Australia looked to be in trouble as the duo raced towards centuries, losing both reviews in a desperate attempt to undo Pakistan, but Labuschagne (3-45) made his lbw breakthrough to stop Fakhar six runs short of a ton.
Sarfraz returned after tea but new partner Bilal Asif (12) did not survive long before edging to Tim Paine, with the skipper finally following as he sliced a tired shot to cover.
The big-hitting Yasir Shah (28) had his leg stump removed by Mitchell Marsh and the innings ended with Mitchell Starc rattling through Abbas (10).
But Abbas ensured Pakistan ended the day on top as he took out Usman Khawaja (3) and Peter Siddle (4), checking Australia's hopes of a straightforward follow-up to the epic draw of the first Test.
16 de enero 2019
|Panthers owner Tepper doesn´t rule out Newton missing 2019 because of shoulder injury|
|De Ligt will be world´s best centre-back – Koeman|
|Ronaldo a ´perfect machine´, says Gattuso|
|Barcelona? I can´t say anything - Stuani|
|Silva upbeat about Man City title chances|
|Celtics youngsters say Irving´s callout ´came from a good place´|
|NFL playoffs: Patrick Mahomes v Tom Brady|
|NFL playoffs: Jared Goff v Drew Brees|
|Sixers sign Brewer to 10-day contract|
|Lozano and Morgan scoop CONCACAF awards|
|Lakers ´optimistic´ about LeBron injury|
|Giants produce mammoth fourth quarter against Nymburk|
|Austin FC to join MLS in 2021|
15 de enero 2019
|Henry, Vieira look forward to reunion when Monaco host Nice|
|Barcelona reject Neymar phone call reports|
|Wentz is the quarterback ´going forward´, says Eagles coach Pederson|
|Gattuso: Higuain has not asked to leave|
|Drew Brees by the Opta numbers: 10 facts for QB´s milestone birthday|
|Harry Kane injury: England captain´s history of ankle woe|
|Harry Kane injury: Opta numbers suggest Spurs struggles|
|Harry Kane injury: Tottenham´s options in striker´s absence|
|Allegri: Supercoppa clash practice for Champions League knockouts|
|First in clean sheets, second to Schmeichel in titles – Cech´s Premier League career in Opta numbers|
|Warrington sign England star Widdop|
|Gatland confident Wales can win Six Nations|
|Fulham sign Netherlands international Babel|
|Harry Kane injury: Games the Tottenham striker will miss|
|Simeone focused on matches, not transfer dealings|
|Iran v Iraq: Pressure off for Queiroz & Katanec|
|Vietnam v Yemen: Kocian keeps the faith|
|Darren Bravo back in West Indies Test side for first time since 2016|
|Kane out until March with ankle injury|
|South Korea v China: Son arrives for Group C dead rubber|
|Kyrgyzstan v Philippines: Eriksson remains hopeful|
|McGrath to miss Six Nations, Sexton nearing fitness|
|Kohli savours Dhoni ´classic´|
|Ford: People obsess over Farrell fly-half battle|
|EFL asks Leeds to explain ´spygate´ scandal|
|No alarms for Djokovic and Zverev, Raonic masters Kyrgios|
|Australia 3 Syria 2: Rogic breaks hearts with stoppage-time winner|
|Palestine 0 Jordan 0: Socceroos winner keeps hopes alive for Lions of Canaan|
|Halep: The results don´t matter any more|
|Hard work for Halep as Serena and Osaka sail through|
|Napoli director to take legal action over ´false´ quotes about Rog move|
|Alexander-Arnold facing absence of up to four weeks|
|Solari: We only have one number nine at Real Madrid|
|Halfpenny & Young named in Wales´ Six Nations squad|
|Crawford v Khan confirmed for April 20|
|Centurion Kohli inspires India to level ODI series|
|Wagner hails Huddersfield togetherness after exit|
|Hughes to join Bristol, Le Roux also leaving Wasps|
|ICC appoints Sawhney as new CEO|
|Forest appoint club legend O´Neill as new manager|
|Halep digs deep to gain revenge over Kanepi|
|Cech to retire at the end of the season|
|Brisbane Roar 0 Melbourne Victory 5: Barbarouses treble sinks Roar|
|´Struggling´ Azarenka breaks down in tears following Australian Open exit|
|Dominant Djokovic coasts through in Melbourne|
|Allardyce admits Huddersfield appointment is ´highly unlikley´|
|Choupo-Mouting: Manchester United have changed|
|Faletau set to miss Six Nations with another broken arm|
|UEFA opens disciplinary proceedings into Chelsea chants|
|Serena´s the greatest ever - Bouchard relishing second-round clash|
|Mbappe can become the new Pele - Pele|
|Wade needs to learn quickly if he´s to make NFL switch a success, says Sanu|
|Azarenka beaten in first Australian Open match since 2016|
|Kings use balanced scoring attack to top Trail Blazers|
|Hewitt laughs off Tomic criticism|
|We love Ederson the way he is - Guardiola on Man City´s sweeper keeper|
|Serena: The greatest win of my career|