Technique.View on attack.mitre.org
Adversaries may abuse BITS jobs to persistently execute code and perform various background tasks. Windows Background Intelligent Transfer Service (BITS) is a low-bandwidth, asynchronous file transfer mechanism exposed through Component Object Model (COM). BITS is commonly used by updaters, messengers, and other applications preferred to operate in the background (using available idle bandwidth) without interrupting other networked applications. File transfer tasks are implemented as BITS jobs, which contain a queue of one or more file operations.
The interface to create and manage BITS jobs is accessible through PowerShell and the BITSAdmin tool.
Adversaries may abuse BITS to download (e.g. Ingress Tool Transfer), execute, and even clean up after running malicious code (e.g. Indicator Removal). BITS tasks are self-contained in the BITS job database, without new files or registry modifications, and often permitted by host firewalls. BITS enabled execution may also enable persistence by creating long-standing jobs (the default maximum lifetime is 90 days and extendable) or invoking an arbitrary program when a job completes or errors (including after system reboots).
BITS upload functionalities can also be used to perform Exfiltration Over Alternative Protocol.
Rules on DetectionCode tagged with T1197.
| Rule | Type | Risk | Data source |
|---|---|---|---|
| BITS Job Persistence | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| BITSAdmin Download File | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
| Cisco NVM - Curl Execution With Insecure Flags | Anomaly | NULL | Cisco Network Visibility Module Flow Data |
| Cisco NVM - Suspicious Download From File Sharing Website | Anomaly | NULL | Cisco Network Visibility Module Flow Data |
| PowerShell Start-BitsTransfer | TTP | NULL | Sysmon EventID 1, Windows Event Log Security 4688, CrowdStrike ProcessRollup2 |
None recorded.
| Used by | Procedure example |
|---|---|
| GroupAPT39 | APT39 has used the BITS protocol to exfiltrate stolen data from a compromised host. |
| GroupAPT41 | |
| GroupLeviathan | |
| GroupPatchwork | Patchwork has used BITS jobs to download malicious payloads. |
| GroupWizard Spider | Wizard Spider has used batch scripts that utilizes WMIC to execute a BITSAdmin transfer of a ransomware payload to each compromised machine. |
| Used by | Procedure example |
|---|---|
| MalwareBazar | Bazar has been downloaded via Windows BITS functionality. |
| ToolBITSAdmin | BITSAdmin can be used to create BITS Jobs to launch a malicious process. |
| MalwareCobalt Strike | Cobalt Strike can download a hosted "beacon" payload using BITSAdmin. |
| MalwareEgregor | Egregor has used BITSadmin to download and execute malicious DLLs. |
| MalwareJPIN | A JPIN variant downloads the backdoor payload via the BITS service. |
| MalwareMarkiRAT | MarkiRAT can use BITS Utility to connect with the C2 server. |
| MalwareProLock | ProLock can use BITS jobs to download its malicious payload. |
| MalwareUBoatRAT | UBoatRAT takes advantage of the /SetNotifyCmdLine option in BITSAdmin to ensure it stays running on a system to maintain persistence. |
Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.