Running/Sprinting backwards is also known as moonwalking, its using auto facetarget to face the selected enemy while still having full freedom of movement in any direction

Its also achievable manually using the ingame macro system, it isnt hacking