Al-Attiyah, a further two-and-a-half minutes back in third, has an almost eight-and-a-half minute lead over de Villiers, who lost precious time in the final dunes in the approach to Iquique, in the race for the drivers' crown.
Al-Rajhi, who remains in contention for the drivers' title in third, 18min 40sec behind, said: "Today was a good day." The 33-year-old Dakar debutant added: "We drove fast and we had fun.
"The most difficult part was organising toilet stops! At such altitudes, just a sip of water makes you want to go ... The in-line start in Salar was great and carried out under good conditions.
"We didn't have the highest top speed, but we managed to catch up with the others. It was a bit like a game."
Terranova described the marathon stage as "an awesome experience".
Monday is the final rest day for the car drivers ahead of Saturday's finish in Buenos Aires. After Saturday's day off for motorcyclists, the 717km (321km timed) seventh stage, which took the two-wheeled competitors from Iquique to Uyuni, was won by Honda's Paulo Goncalves.
The Portuguese rider is third in the overall motorbike standings, 11 minutes behind his Spanish teammate Joan Barreda, with this pair separated by KTM's defending champion Marc Coma.
Coma, a four-time winner, is six minutes adrift.
-AAP