<aside> πŸ“Œ Summary

</aside>

Pass Attacks

Definition

Pass the hash is a cyber-attack where an attacker uses a stolen hashed password to authenticate and access systems without revealing the actual password. The attacker captures hashed credentials, often through vulnerabilities like NTLM protocols, and uses them to gain unauthorized access.

Pass the password is a similar attack where the attacker uses plaintext passwords obtained from one system to access others due to password reuse.

Proof of Concept with CME

To pass both hash and password as well to scan the network we’re going to use https://github.com/mpgn/CrackMapExec.

<aside> πŸ’‘ At least when it is installed with pipx, Crack Map Exec can be executed through crackmapexec or cme.

</aside>

<aside> πŸ’‘ Here we only use smb mode but taking a look at other modes results like winrm can be useful !

</aside>

Computer sweeping with CME

First, we might want to scan the network looking for newly available computers.

crackmapexec smb 192.168.138.0/24 -u lkisaka -d ORB.local -p Password1

Untitled

<aside> πŸ’‘ Note : the machines noted as Pwn3d can be looted with the used credentials.

</aside>

Computer sweeping with CME