Windows: Detect BITSAdmin Download of Files with Suspicious Extensions
Flags bitsadmin.exe commands that transfer or add files with suspicious extensions based on process creation command-line content.
FreeUnreviewedSigmahighv1
windows-detect-bitsadmin-download-of-files-with-suspicious-extensions-5b80a791
title: "Windows: Detect BITSAdmin Download of Files with Suspicious Extensions"
id: ca76123f-f99a-4c60-a854-a53f56e59767
status: test
description: This rule identifies Windows process creation events where bitsadmin.exe is used with transfer-related flags to download or add a file, and the command line includes one of many high-risk file extensions. Attackers may use BITSAdmin to stage payloads or scripts while blending into legitimate background transfer activity. Telemetry required includes process creation details such as Image/OriginalFileName and the full CommandLine containing the relevant flags and file extension indicators.
references:
- https://blog.netspi.com/15-ways-to-download-a-file/#bitsadmin
- https://isc.sans.edu/diary/22264
- https://lolbas-project.github.io/lolbas/Binaries/Bitsadmin/
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_bitsadmin_download_susp_extensions.yml
author: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2022-06-28
modified: 2023-05-30
tags:
- attack.persistence
- attack.execution
- attack.stealth
- attack.t1197
- attack.s0190
- attack.t1036.003
- attack.command-and-control
- attack.t1105
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: \bitsadmin.exe
- OriginalFileName: bitsadmin.exe
selection_flags:
CommandLine|contains:
- " /transfer "
- " /create "
- " /addfile "
selection_extension:
CommandLine|contains:
- .7z
- .asax
- .ashx
- .asmx
- .asp
- .aspx
- .bat
- .cfm
- .cgi
- .chm
- .cmd
- .dll
- .gif
- .jpeg
- .jpg
- .jsp
- .jspx
- .log
- .png
- .ps1
- .psm1
- .rar
- .scf
- .sct
- .txt
- .vbe
- .vbs
- .war
- .wsf
- .wsh
- .xll
- .zip
condition: all of selection_*
falsepositives:
- Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_bitsadmin_download_susp_extensions/info.yml
simulation:
- type: atomic-red-team
name: Windows - BITSAdmin BITS Download
technique: T1105
atomic_guid: a1921cd3-9a2d-47d5-a891-f1d0f2a7a31b
license: DRL-1.1
related:
- id: 5b80a791-ad9b-4b75-bcc1-ad4e1e89c200
type: derived
What it detects
This rule identifies Windows process creation events where bitsadmin.exe is used with transfer-related flags to download or add a file, and the command line includes one of many high-risk file extensions. Attackers may use BITSAdmin to stage payloads or scripts while blending into legitimate background transfer activity. Telemetry required includes process creation details such as Image/OriginalFileName and the full CommandLine containing the relevant flags and file extension indicators.
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.