Hard to completely prevent, but we can make it more difficult on an attacker:
Limit account re-use:
Utilize strong passwords:
Privilege Access Management (PAM):