Square nuts can usually be removed with the correct 12-point socket for that size. That is one of the reasons some of the older sets of sockets had lots of 12-points with them.