Proactive Threat Hunting with MITRE ATT&CK & Sigma
Traditional SOC alerts catch known bad activity, but skilled adversaries often slip past signature‑based controls. Threat hunting flips the paradigm: analysts proactively search for indicators of compromise (IOCs) aligned with the MITRE ATT&CK framework. This lesson guides Pakistani SOC analysts through hypothesis‑driven hunts using Sigma rules and the ELK stack.
Why Hunt?
- Detect living‑off‑the‑land techniques that evade antivirus.
- Uncover dwell time before an alert fires.
- Satisfy regulatory requirements for continuous monitoring under the SBP IT Security Framework.
Building Hunt Hypotheses
A hypothesis is a testable statement linking a known ATT&CK technique to your environment. Example: „We suspect lateral movement via Pass‑the‑Hash on our Windows servers“ → Maps to technique T1550.002 – Use Alternate Authentication Material.
Writing Effective Sigma Rules
Sigma translates detection logic into a vendor‑agnostic format. A simple rule to detect brute‑force login attempts:
title: Brute Force Login
logsource:
product: windows
service: security
detection:
selection:
EventID: 4625
LogonType: 3
condition: count > 10 by AccountName in 5m
level: high
- Deploy the rule to your ELK cluster via Logstash or Fleet.
- Map the rule to ATT&CK IDs in the
tagsfield for traceability.
Integrating MISP Threat Feeds
- Subscribe to the MISP instance run by the National Cybercrime Investigation Agency (NCCIA).
- Pull IOC attributes (IPs, hashes) and create correlation searches in ELK.
- Use the Threat Intelligence app in Kibana to visualize matched events.
Hands‑On Hunt: Detecting Lateral Movement via Windows Event Logs
- Collect Event ID 4624 (successful logon) and 4672 (special privileges assigned).
- Write a Sigma rule that flags accounts with LogonType 10 (RDP) from an unexpected country.
- Correlate with MISP indicators of a known APT group targeting Pakistani banks.
- Document findings, create an incident in TheHive, and follow the SOC playbook.
Do / Don't
- Do: Start each hunt with a clear hypothesis; Don't: Hunt randomly without a goal.
- Do: Keep hunt records for at least 6 months; Don't: Ignore negative results— they still reduce uncertainty.
Takeaway
Write one Sigma rule this week that maps to a common ATT&CK technique in your logs, and schedule a daily hunt to run it. This practice builds the muscle of proactive detection.
