πShells & Payloads
Staged payload:
Executes in multiple stages and is more complex and requires meterpreter listener
Stageless payload:
The payload app contains all shellcode required to execute hence larger in size. Shell can be caught in netcat. Try this first.
Payloads
To use encoding:
Listener
Netcat can not handle staged payloads
To use a meterpreter listener use:
Archiving
Archiving the payload:
Removing the .RAR Extension
Archiving the Payload Again
Shells
Basic bash reverse shell:
Reverse shell on linux
Reverse shell on windows with psexec
windows netcat
Web Shells
Code: php
Code: jsp
Code: asp
Default locations:
Web Server
Default Webroot
Apache
/var/www/html/
Nginx
/usr/local/nginx/html/
IIS
c:\inetpub\wwwroot\
XAMPP
C:\xampp\htdocs\
Example:
Then to access:
VBScript Shell
or
Powershell:
Reverse shells:
Bind shell:
Last updated
Was this helpful?
