Detection rules › Sigma

Silence.EDA Detection

Severity
critical
Author
Alina Stepchenkova, Group-IB, oscd.community
Source
upstream

Detects Silence EmpireDNSAgent as described in the Group-IP report

MITRE ATT&CK coverage

TacticTechniques
ExecutionT1059.001 Command and Scripting Interpreter: PowerShell
Command & ControlT1071.004 Application Layer Protocol: DNS, T1572 Protocol Tunneling
ImpactT1529 System Shutdown/Reboot

Event coverage

ProviderEvent IDTitle
PowerShell4104Creating Scriptblock text (MessageNumber of MessageTotal).

Stages and Predicates

Stage 1: empire

ScriptBlockText|contains: '$cmdargs'
ScriptBlockText|contains: Close-Dnscat2Tunnel
ScriptBlockText|contains: 'Exception in execution'
ScriptBlockText|contains: Restart-Computer
ScriptBlockText|contains: Stop-Computer
ScriptBlockText|contains: System.Diagnostics.Process

Stage 2: dnscat

ScriptBlockText|contains: '$Command | nslookup 2>&1 | Out-String'
ScriptBlockText|contains: '$Session.Dead = $True'
ScriptBlockText|contains: '$Session["Driver"] -eq'
ScriptBlockText|contains: New-RandomDNSField
ScriptBlockText|contains: '[Convert]::ToString($SYNOptions, 16)'
ScriptBlockText|contains: 'set type=$LookupType`nserver'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
ScriptBlockTextmatch
  • $Command | nslookup 2>&1 | Out-String
  • $Session.Dead = $True
  • $Session["Driver"] -eq
  • $cmdargs
  • Close-Dnscat2Tunnel
  • Exception in execution
  • New-RandomDNSField
  • Restart-Computer
  • Stop-Computer
  • System.Diagnostics.Process
  • [Convert]::ToString($SYNOptions, 16)
  • set type=$LookupType`nserver

Neighbors

Broader alternatives (more inclusive than this rule)

These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.