Bitsadmin.exe

type: OSBinaries
Used for managing background intelligent transfer

Full path

C:\Windows\System32\bitsadmin.exe
C:\Windows\SysWOW64\bitsadmin.exe

Commands

  1. ADSUser T1564.004

    Performs execution of specified file in the alternate data stream, can be used as a defensive evasion or persistence technique.

    bitsadmin /create 1 bitsadmin /addfile 1 c:\windows\system32\cmd.exe c:\data\playfolder\cmd.exe bitsadmin /SetNotifyCmdLine 1 c:\data\playfolder\1.txt:cmd.exe NULL bitsadmin /RESUME 1 bitsadmin /complete 1

    Create a bitsadmin job named 1, add cmd.exe to the job, configure the job to run the target command from an Alternate data stream, then resume and complete the job.

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

  2. DownloadUser T1105

    Download file from Internet

    bitsadmin /create 1 bitsadmin /addfile 1 https://live.sysinternals.com/autoruns.exe c:\data\playfolder\autoruns.exe bitsadmin /RESUME 1 bitsadmin /complete 1

    Create a bitsadmin job named 1, add cmd.exe to the job, configure the job to run the target command, then resume and complete the job.

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

  3. CopyUser T1105

    Copy file

    bitsadmin /create 1 & bitsadmin /addfile 1 c:\windows\system32\cmd.exe c:\data\playfolder\cmd.exe & bitsadmin /RESUME 1 & bitsadmin /Complete 1 & bitsadmin /reset

    Command for copying cmd.exe to another folder

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10

  4. ExecuteUser T1218

    Execute binary file specified. Can be used as a defensive evasion.

    bitsadmin /create 1 & bitsadmin /addfile 1 c:\windows\system32\cmd.exe c:\data\playfolder\cmd.exe & bitsadmin /SetNotifyCmdLine 1 c:\data\playfolder\cmd.exe NULL & bitsadmin /RESUME 1 & bitsadmin /Reset

    One-liner that creates a bitsadmin job named 1, add cmd.exe to the job, configure the job to run the target command, then resume and complete the job.

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10

Detection

Resources

acknowledgement: Rob Fuller @mubix, Chris Gates @carnal0wnage, Oddvar Moe @oddvarmoe