This is a special socket designed for removing damaged nuts. The spiral grooves cut into the nut and pull the socket onto it while applying rotational torque.
Large Version