Hams definitely. I always feel sore for like two or three days in my hams after doing stiff leg deadlifts. The more you bend your legs when doing them the more you also work the rest of your leg, like with a squat. I use squats for the quads and butt and use Deadlifts to target the hams.
Never felt it in my sphincter though.