
Script di test per CVE-2020-1472 sia per RPC/TCP che per RPC/SMB
Uno script Python basato sullo script SecuraBV.
Dimostra che CVE-2020-1472 può essere sfruttato tramite RPC/SMB, e non solo su RPC/TCP.
Inoltre, c'è un byte casuale nella sfida finale del client e nella credenziale del client - per testare contro firme IDS banali. La scansione RPC/SMB viene eseguita di default. A seconda del server di destinazione, alcuni potrebbero richiedere un utente autenticato valido per ottenere il permesso alla pipe netlogon.
usage: zerologon_test.py [-h] [-u] [-d] [-p] [-t] [-pp] dc_name dc_ip
Perform zerologon test over RPC/TCP or RPC/SMB
positional arguments:
dc_name NetBIOS name of the domain controller
dc_ip ip address of the domain controller
optional arguments:
-h, --help, /?, /h, /help
show this help message and exit
-u , --user authenticated domain user,may be required for SMB
-d , --domain domain name, required only when authentication over SMB
-p , --pass authenticated domain user's password, may be required for SMB
-t , --type rpc or smb scan. choices: [smb, rpc], (default: 'smb').
-pp, --privacy if exists adds packet privacy