T1001.001 Sumo Logic CSE · Sumo

Detect Junk Data in Sumo Logic CSE

Adversaries may add junk data to protocols used for command and control to make detection more difficult. By appending, prepending, or inserting random or meaningless data into C2 communications, adversaries prevent trivial signature-based detection. Examples include SUNBURST appending junk bytes to HTTP C2, P2P ZeuS adding junk data to UDP peer communications, Downdelph inserting pseudo-random characters between meaningful characters in C2 requests, and GoldMax generating decoy traffic to surround malicious traffic. This technique is primarily a network-level obfuscation method, making it challenging to detect purely through host-based telemetry.

MITRE ATT&CK

Tactic
Command and Control
Technique
T1001 Data Obfuscation
Sub-technique
T1001.001 Junk Data
Canonical reference
https://attack.mitre.org/techniques/T1001/001/

Sumo Detection Query

Sumo Logic CSE (Sumo)
sql
// Approach 1: Beaconing detection from suspicious processes
_sourceCategory=windows/sysmon OR _sourceCategory=WinEventLog/Sysmon
| where EventID = 3
| parse field=Image "*\\*" as img_path, process_name
| where process_name matches /(?i)(powershell|pwsh|cmd|wscript|cscript|mshta|rundll32|regsvr32|svchost|dllhost)\.exe/
| where !(DestinationIp matches /^(10\.|172\.(1[6-9]|2[0-9]|3[01])\.|192\.168\.|127\.)/)
| where DestinationPort in ("80","443","8080","8443","4444","4445","1080","3128")
| timeslice 1h
| stats count as ConnectionCount, dc(DestinationIp) as UniqueIPs, 
         first(CommandLine) as SampleCommandLine,
         min(_messagetime) as FirstSeen, max(_messagetime) as LastSeen
         by Computer, process_name, DestinationPort, _timeslice
| where ConnectionCount >= 5
| sort by ConnectionCount desc
| fields -_timeslice

// Approach 2: DNS junk label detection
// Run separately
_sourceCategory=windows/sysmon
| where EventID = 22
| parse field=QueryName "*" as query_full
| parse regex field=query_full "^(?<first_label>[^.]+)"
| where length(first_label) > 20 OR 
        first_label matches /^[0-9a-f]{16,}$/ OR
        count(split(query_full, ".")) > 6
| stats count as QueryCount, 
         dc(QueryName) as UniqueDomains,
         values(QueryName) as SampleDomains,
         first(Image) as Process
         by Computer, first_label
| where QueryCount >= 3 OR UniqueDomains >= 3
| sort by QueryCount desc
high severity medium confidence

Sumo Logic detection for T1001.001 Junk Data C2. Query 1 uses Sysmon EventID 3 (network connection) to identify beaconing patterns from suspicious LOLBin processes with high connection frequency to public C2 ports. Query 2 uses Sysmon EventID 22 (DNS) to find queries with long or hex-encoded first labels typical of junk-padded DNS C2 channels.

Data Sources

Sumo Logic Cloud SIEMWindows Sysmon via Sumo Logic collectorWindows Event Logs

Required Tables

_sourceCategory=windows/sysmon_sourceCategory=WinEventLog/Sysmon

False Positives & Tuning

  • Automated software deployment tools making frequent connections during patch cycles
  • Browser-based applications with aggressive health check or telemetry intervals
  • CDN-hosted SaaS products using long subdomain routing labels for geo/tenant routing
  • Corporate proxy agents performing connection pooling that mimics beaconing patterns
Download portable Sigma rule (.yml)

Other platforms for T1001.001


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1HTTP C2 Simulation with Junk Data Padding

    Expected signal: Sysmon Event ID 1: PowerShell process creation with command line containing 'Net.WebClient' and 'UploadString'. Sysmon Event ID 3: Multiple network connection attempts to 127.0.0.1:8080. Security Event ID 4688 (if command line auditing enabled). PowerShell ScriptBlock Log Event ID 4104 showing the full beaconing script.

  2. Test 2DNS-Based C2 with Junk Subdomain Labels

    Expected signal: Sysmon Event ID 22 (DNS Query): Multiple DNS lookup events with QueryName values containing long, random-looking subdomain labels (>20 characters) under c2sim.local. The labels will contain Base64-encoded content with interleaved junk characters. Sysmon Event ID 1 for the PowerShell process creation.

  3. Test 3Junk Data File Padding Simulation

    Expected signal: Sysmon Event ID 11 (File Create): File creation event for junktest_sim.dll in %TEMP% with large file size (~50MB). Sysmon Event ID 1 for the PowerShell process. The file hash (SHA-256) will be recorded in the Sysmon event.

  4. Test 4Periodic Beaconing with Junk UDP Padding

    Expected signal: Sysmon Event ID 3 (Network Connection): UDP connections from powershell.exe to 127.0.0.1:4444 (Sysmon may capture UDP connections depending on configuration). Sysmon Event ID 1 for process creation. Security Event ID 4688 if command line auditing is enabled.

Unlock Pro Content

Get the full detection package for T1001.001 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections