Sigma rule: Monitoring For Persistence Via BITS

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-925cde5fb07a, updated 2024-01-25T00:00:00.000Z.

Rule

Title
Monitoring For Persistence Via BITS
Status
test
Level
medium
Author
Sreeman
Date
2020-10-29
Modified
2024-01-25
File
rules/windows/process_creation/proc_creation_win_bitsadmin_potential_persistence.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

BITS will allow you to schedule a command to execute after a successful download to notify you that the job is finished.
When the job runs on the system the command specified in the BITS job will be executed.
This can be abused by actors to create a backdoor within the system and for persistence.
It will be chained in a BITS job to schedule the download of malware/additional binaries and execute the program after being downloaded.

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\bitsadmin.exe'
    - OriginalFileName: 'bitsadmin.exe'
selection_cli_notify_1:
    CommandLine|contains: '/SetNotifyCmdLine'
selection_cli_notify_2:
    CommandLine|contains:
        - '%COMSPEC%'
        - 'cmd.exe'
        - 'regsvr32.exe'
selection_cli_add_1:
    CommandLine|contains: '/Addfile'
selection_cli_add_2:
    CommandLine|contains:
        - 'http:'
        - 'https:'
        - 'ftp:'
        - 'ftps:'
condition: selection_img and (all of selection_cli_notify_* or all of selection_cli_add_*)

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.persistence
  • attack.execution
  • attack.stealth
  • attack.t1197

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_bitsadmin_potential_persistence.yml

Sources and licences

  • SigmaHQ

    "Monitoring For Persistence Via BITS" by Sreeman (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_bitsadmin_potential_persistence.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Monitoring For Persistence Via BITS",
entity page, dataset version ref-925cde5fb07a, updated 2024-01-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b9cbbc17-d00d-4e3d-a827-b06d03d2380d (accessed 2026-11-03).
Underlying source: SigmaHQ rule b9cbbc17-d00d-4e3d-a827-b06d03d2380d, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.