File-transfer
PowerShell Commands
Download a File
Execute File in Memory
Upload a File
Download with Custom User-Agent
Base64 Encoded Upload
Windows Native Tools
Bitsadmin (Deprecated but Still Useful)
Certutil (Native to Windows for Certificate Management)
Linux-Based Tools
Wget
cURL
Python HTTP File Download
Other Methods
PHP File Download
SCP (Secure Copy Protocol) - Upload
SCP - Download
Netcat (Linux/Windows) Send File:
Receive File:
FTP Upload/Download (Interactive)
TFTP (Trivial File Transfer Protocol) Download:
Upload:
SMB (Using SMBClient)
Extra Tips
Bypass Restrictions: Consider using alternative ports, URL encoding, or modifying headers to bypass security restrictions.
Evasion Techniques: Use legitimate-looking User-Agents, filenames, or paths to evade detection.
Persistence: Combine these methods with scheduled tasks or registry modifications for persistence.
File Obfuscation: Encode files in Base64 to evade basic detection.
Alternate Data Streams (Windows):
Compression & Encryption: Compress files using
zip
or7z
with a password.
Last updated