Aamer Jamal took six wickets on debut as Pakistan bowled out Australia for 487 on the second day of the opening Test in Perth on Friday.
The hosts resumed on 346-5 after opener David Warner scored a defiant 164 on the opening day, with Mitchell Marsh on 16 and Alex Carey 15.
An untroubled Marsh looked destined for a fourth Test ton, but he was bowled by paceman Khurram Shahzad for 90 on the first ball after lunch.
Shahzad ended with 2-83, but fellow debutant Jamal stole the spotlight with 6-111.
Pakistan have never won a Test series in Australia and have failed to win a Test in the country since 1995.
Scoreboard after Australia's first innings on day two of the first Test against Pakistan at Perth Stadium on Friday:
Australia 1st innings (overnight 346-5)
D. Warner c ul-Haq by Jamal 164
U. Khawaja c Ahmed b Afridi 41
M. Labuschagne lbw Ashraf 16
S. Smith c Ahmed b Shahzad 31
T. Head c Salman b Jamal 40
M. Marsh b Shahzad 90
A. Carey b Jamal 34
M. Starc b Jamal 12
P. Cummins c Salman b Jamal 9
N. Lyon c Salman b Jamal 5
J. Hazlewood not out 4
Extras (b1, lb17, nb9, w14) 41
Total (all out; 113.2 overs) 487
Fall of wickets: 1-126 (Khawaja), 2-159 (Labuschagne), 3-238 (Smith), 4-304 (Head), 5-321 (Warner), 6-411 (Carey), 7-449 (Starc), 8-476 (Marsh), 9-481 (Cummins), 10-487 (Lyon)
Bowling: Shaheen Shah Afridi 27-7-96-1, Khurram Shahzad 22-5-83-2, Aamer Jamal 20.2-1-111-6, Faheem Ashraf 17-1-93-1, Salman Ali Agha 27-3-86-0
Toss: Australia
Umpires: Richard Illingworth (ENG), Joel Wilson (WIS)
TV umpire: Michael Gough (ENG)
Match referee: Javagal Srinath (IND)