Logon Script Abuse

Check if you can update Logon script in SMB

crackmapexec smb $RHOST -u library -p library --shares

Check if a logon script is configured for your target users

Kali> bloodhound.py -u 'library' -p 'library' -v --zip -c All -ns $RHOST -d baby2.vl -dc dc.baby2.vl
# Ensure you configure DC FQDN name in host file 
Kali> cme ldap $RHOST -u library -p library --bloodhound -ns $RHOST -c all

Add vbs functions to the script

Another example:

Wait for a moment to get this script running while preparing the reverse shell

Last updated