You're going to need more than a 36mm socket if the housing has been stripped around the hex???
An oil filter strap will be required to wrap around the filter housing in order to remove so best advice is to go get yourself a new one. if you get a new one then if you're careful enough actually no forget that lol