Detectionhightest

Suspicious Download From File-Sharing Website Via Bitsadmin

Detects usage of bitsadmin downloading a file from a suspicious domain

Open in Detection LabConvert ruleBuild Package
Florian Roth (Nextron Systems)Created 2022-06-28Updated 2026-03-298518ed3d-f7c9-4601-a26c-f361a4256a0cwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
detection:
    selection_img:
        - Image|endswith: '\bitsadmin.exe'
        - OriginalFileName: 'bitsadmin.exe'
    selection_flags:
        CommandLine|contains:
            - ' /transfer '
            - ' /create '
            - ' /addfile '
    selection_domain:
        CommandLine|contains:
            - '.githubusercontent.com'       # Includes both gists and github repositories / Michael Haag (idea)
            - '0x0.st'
            - 'anonfiles.com'
            - 'bashupload.com'
            - 'cdn.discordapp.com'
            - 'chunk.io'
            - 'ddns.net'
            - 'dl.dropboxusercontent.com'
            - 'ghostbin.co'
            - 'github.com' # bitsadmin /transfer n https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1047/bin/calc.dll %PUBLIC%\calc.dll
            - 'glitch.me'
            - 'gofile.io'
            - 'hastebin.com'
            - 'mediafire.com'
            - 'mega.nz'
            - 'onrender.com'
            - 'pages.dev'
            - 'paste.ee'
            - 'pastebin.com'
            - 'pastebin.pl'
            - 'pastetext.net'
            - 'privatlab.com'
            - 'privatlab.net'
            - 'send.exploit.in'
            - 'sendspace.com'
            - 'storage.googleapis.com'
            - 'storjshare.io'
            - 'supabase.co'
            - 'temp.sh'
            - 'transfer.sh'
            - 'trycloudflare.com'
            - 'ufile.io'
            - 'w3spaces.com'
            - 'workers.dev'
            - 'x0.at'
    condition: all of selection_*
False Positives

Some legitimate apps use this, but limited.

Testing & Validation

Simulations

atomic-red-teamT1105
View on ART

Windows - BITSAdmin BITS Download

GUID: a1921cd3-9a2d-47d5-a891-f1d0f2a7a31b

Regression Tests

by Swachchhanda Shrawan Poudel (Nextron Systems)
Positive Detection Test1 matchevtx

Microsoft-Windows-Sysmon

Related Rules
SimilarDetectionhigh

Remote AppX Package Downloaded from File Sharing or CDN Domain

Detects an appx package that was added to the pipeline of the "to be processed" packages which was downloaded from a file sharing or CDN domain.

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionhigh

BITS Transfer Job Download From File Sharing Domains

Detects BITS transfer job downloading files from a file sharing domain.

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionhigh

Suspicious File Download From File Sharing Websites - File Stream

Detects the download of suspicious file type from a well-known file and paste sharing domain

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionmedium

Unusual File Download From File Sharing Websites - File Stream

Detects the download of suspicious file type from a well-known file and paste sharing domain

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionhigh

Network Communication Initiated To File Sharing Domains From Process Located In Suspicious Folder

Detects executables located in potentially suspicious directories initiating network connections towards file sharing domains.

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionhigh

Network Connection Initiated From Process Located In Potentially Suspicious Or Uncommon Location

Detects a network connection initiated by programs or processes running from suspicious or uncommon files system locations.

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionhigh

Suspicious File Downloaded From File-Sharing Website Via Certutil.EXE

Detects the execution of certutil with certain flags that allow the utility to download files from file-sharing websites.

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionhigh

Suspicious File Download From File Sharing Domain Via Curl.EXE

Detects potentially suspicious file download from file sharing domains using curl.exe

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionhigh

Potentially Suspicious File Download From File Sharing Domain Via PowerShell.EXE

Detects potentially suspicious file downloads from file sharing domains using PowerShell.exe

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionhigh

Suspicious File Download From File Sharing Domain Via Wget.EXE

Detects potentially suspicious file downloads from file sharing domains using wget.exe

Detects similar activity. Both rules may fire on overlapping events.

SimilarDetectionhigh

New Connection Initiated To Potential Dead Drop Resolver Domain

Detects an executable, which is not an internet browser or known application, initiating network connections to legit popular websites, which were seen to be used as dead drop resolvers in previous attacks. In this context attackers leverage known websites such as "facebook", "youtube", etc. In order to pass through undetected.

Detects similar activity. Both rules may fire on overlapping events.

Rule Metadata
Rule ID
8518ed3d-f7c9-4601-a26c-f361a4256a0c
Status
test
Level
high
Type
Detection
Created
2022-06-28
Modified
2026-03-29
Path
rules/windows/process_creation/proc_creation_win_bitsadmin_download_file_sharing_domains.yml
Raw Tags
attack.persistenceattack.executionattack.stealthattack.t1197attack.s0190attack.t1036.003attack.command-and-controlattack.t1105
View on GitHub