2 techniquesLinux · Windows · ActiveDirectoryWADComsGPL-3.0
Impacket-atexec-Creds
ExecutionLinuxWindowsActiveDirectory
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
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