Earlier in the day, Steve Smith declared with Australia 9-624, leading by 181 runs after their first innings and giving his attack something at which to bowl.
Pakistan then lost one wicket in a brief spurt before lunch, four more fell in the afternoon session before losing the final five after tea to be all out for 163.
After being given an awkward 70 overs to negotiate, Pakistan started terribly when opener Sami Aslam dropped a defensive stroke on to his pads and back into the stumps in the second over.