Narrated Al-Mughirah ibn Shu'bah:
The Messenger of Allah (ﷺ) wiped over the socks. Another version adds: "On the back (upper part) of the socks."