Upload
Tool
Updog
updog --ssl --port 9090 --password "exegol4thewin" --directory /opt/resourcesLiving Off Trusted Sites
Wget and cURL
Upload a repo
git clone on attacker host
victim
Create a Web Server on attacker machine
Updog
Windows - HFS HTTP File Server
Powershell_HttpServer
Python 3
Python 2.7
PHP
Ruby
Upload file
Fileless Upload
with cURL
with wget
Bash
SCP
SSH on attacker host
SSH on remote host
Base64
Linux - Transfer from attack host to victim
Example 1
Example 2
Windows - Transfer from attack host to victim
Powershell
DownloadFile method
DownloadString - Fileless Method
Execution in memory
Cradles
Invoke-WebRequest
alias iwr, curl or wget
Changing User Agent - Avoid Detection
Request with Chrome User Agent
Invoke-RestMethod
WinHttpRequest
Msxml2
SMB
From Linux to Windows
Unauthenticated guest access blocked
SMB server with credz
Mount SMB server with credz
Metasploit - Upload
MetasploitSMBclient - put
SMB (445, 139) / RPCSource:
SMBmap - upload
SMB (445, 139) / RPCFTP
From Linux to Windows
or
Python
PHP
Ruby
Perl
Javascript
Windows
Create wget.js with this content
VBScript
Create wget.vbs with this content
Netcat (nc)
nc.exe:
Simple example
Victim
Attacker
Inbound connections blocked
Attack host
Victim
Ncat (ncat)
Simple example
Victim
Attacker
Inbound connections blocked
Attack host
Victim
Bash
Attack host
or
Victim
WinRM
Powershell
Evil-WinRM
RDP
rdesktop
xfreerdp
Remmina
Windows to windows:
LOLBAS

Bitsadmin
Certutil
GfxDownloadWrapper.exe
GTFOBins

OpenSSL
Attack host
Victim
Metasploit
MetasploitAvoid AV Detection
NetLoader and Assembly Loader - See Payload Delivery in Static Analysis
Static AnalysisResources
Last updated




