Chris Martin struck back for New Zealand with two quick wickets to leave South Africa on 27 for 2 at the close of play on a rain-hit first day in the second Test in Hamilton on Thursday after the hosts' middle order had collapsed.
Martin had South Africa captain Graeme Smith (13) and night watchman Dale Steyn (4) caught by wicketkeeper Kruger van Wyk after the visitors had taken five wickets for no runs in 20 balls to bowl New Zealand out for 185 at Seddon Park.
Alivro Petersen was not out on eight, while Hashim Amla was on two for the visitors at the close of play.
Brendon McCullum's reckless hook shot to a Steyn bouncer that was over his head after he had battled for more than two hours sparked the collapse.
McCullum had curbed his natural attacking instincts to grind his way to 61 and share in an 89-run partnership with Ross Taylor (44) as New Zealand looked to be in a strong position after being asked to bat on a green-tinged pitch.
However, just as they had in the drawn first Test in Dunedin, McCullum and Taylor were dismissed in quick succession.
McCullum belted the ball straight to Jacques Rudolph at deep backward square, with the South African's only requirement to take a step back so he could catch the ball at waist height.
Taylor prodded at a straight delivery from Philander and was well caught at first slip by Smith, before Kane Williamson got a Steyn delivery that reared on him off a length and the ball hit the shoulder of the bat and flew to Smith.
Daniel Vettori then played around a Philander delivery that nipped back into the left-hander and was bowled, before Doug Bracewell feathered a catch to wicketkeeper Mark Boucher three balls later.
Pace bowler Mark Gillespie, who is making his return to the Test team for the first time in more than three years, finally ended the run of wickets at 133 when he nicked a ball through the slips to the boundary.
Gillespie (27) and van Wyk (21) combined for a cameo partnership of 43 runs in 40 balls before Imran Tahir trapped Brent Arnel lbw for three to end the innings.
Rain had forced the players off the field for just over two hours that destroyed much of the middle session.
Scorecard
New Zealand (1st innings):
R. Nicol c Boucher b Philander 2
M. Guptill b Steyn 22
B. McCullum c Rudolph b Steyn 61
R. Taylor c Smith b Philander 44
K. Williamson c Smith b Steyn 0
D. Vettori b Philander 0
K. van Wyk lbw b Morkel 21
D. Bracewell c Boucher b Philander 0
M. Gillespie c Petersen b Tahir 27
B. Arnel lbw b Tahir 3
C. Martin not out 0
Extras: (lb-3, nb-2)5;
Total: (all out, 61.2 overs) 185.
Fall of wickets: 1-11, 2-44, 3-133, 4-133, 5-133, 6-133, 7-133, 8-176, 9-184.
Bowling: Steyn 18-5-49-3, Philander 15-3-70-4 (nb-2), Kallis 9-4-9-0, Morkel 14-2-42-1, Tahir 5.2-1-12-2.
South Africa (1st innings):
G. Smith c van Wyk b Martin 13
A. Petersen not out 8
D. Steyn c van Wyk b Martin 4
H. Amla not out 2
Extras: 0
Total: (for two wickets, 11 overs) 27
Fall of wickets: 1-14, 2-18.
To bat: Jacques Kallis, AB de Villiers, Jacques Rudolph, Mark Boucher, Vernon Philander, Morne Morkel, Imran Tahir.
Bowling: Martin 5-2-18-2; Bracewell 4-1-7-0; Gillespie 1-0-1-0; Vettori 1-0-1-0.
McCullum, Taylor keep Kiwis' hopes against SA alive
Martin triple strike puts NZ on top
Test in balance as NZ take slim lead
Rain washes out final day in first SA v NZ Test
TOP SPORTS PHOTOS OF THE LAST 24 HOURS