Catalog WADComs

WAD · Tool

Impacket-atexec

2 techniques Linux · Windows · ActiveDirectoryWADComs GPL-3.0

Impacket-atexec-Creds

Execution LinuxWindowsActiveDirectory

Impacket's atexec.py uses the Task Scheduler service on the remote Windows host to execute the given command. It will create a windows task with a random name, trigger the task, and then delete it. The following command executes `whoami` on the remote Windows host. Command Reference: Target IP: 10.10.10.1 Domain: test.local Username: john Password: password123 Command Executed: whoami

python3 atexec.py test.local/john:password123@10.10.10.1 whoami
Native
Exploitation
Requires
Password, Username
Services
SMB

Impacket-atexec-Hash

Execution LinuxWindowsActiveDirectory

Impacket's atexec.py uses the Task Scheduler service on the remote Windows host to execute the given command. It will create a windows task with a random name, trigger the task, and then delete it. The following command executes `whoami` on the remote Windows host, authenticating with the hash of user `john`. Command Reference: Target IP: 10.10.10.1 Domain: test.local Username: john Hash: aad3b435b51404eeaad3b435b51404ee:5fbc3d5fec8206a30f4b6c473d68ae76 Command Executed: whoami

python3 atexec.py -hashes aad3b435b51404eeaad3b435b51404ee:5fbc3d5fec8206a30f4b6c473d68ae76 test.local/john@10.10.10.1 whoami
Native
Exploitation
Requires
Hash, Username
Services
SMB