PISA Pakistan — Community CERT

← ⚙️ Cyber Threat Intelligence Foundations

32. Adversary Emulation and Threat Modeling: Simulating Pakistan-Focused Attack Scenarios

⏱ 10 min

From Passive CTI to Active Defense

Reading about APT36's TTP library in MISP is valuable, but adversary emulation lets your team actively simulate those techniques against your own defenses. Combining CTI with threat modeling frameworks like STRIDE and PASTA transforms intelligence into measurable security improvements. For Pakistani organizations, emulating threats documented in NCCIA 1799 advisories validates whether your SOC detections actually catch in-the-wild attack patterns.

Planning an Emulation Exercise

Define scope using your CTI intel:

  1. Select threat actor profile — Use MISP galaxy clusters for APT36, SideCopy, or SideWinder targeting Pakistan
  2. Map TTPs to ATT&CK Navigator — Generate heatmaps showing which techniques your team will simulate
  3. Define success criteria — e.g., "SOC must detect PowerShell lateral movement within 15 minutes"
  4. Establish scope and safety — Limit to specific IP ranges; ban destructive commands like rm -rf

Using Caldera for Automated Emulation

MITRE Caldera automates adversary emulation using the ATT&CK framework:

docker pull mitre/caldera:stable
docker run -d -p 8888:8888 mitre/caldera:stable
# Access via https://localhost:8888

Configure a Pakistani threat profile:

  • Upload APT36 TTPs as Caldera abilities (e.g., T1059.003: PowerShell Script Execution)
  • Set objectives matching real attack chains documented in SBP CTI reports
  • Deploy agents to test workstations via Caldera's sandbox mode

Threat Modeling with STRIDE

For new system deployments (e.g., JazzCash's new UPI integration), apply STRIDE:

  • Spoofing — Simulate fake payment gateway authentication
  • Tampering — Test invoice modification attack vectors
  • Repudiation — Verify audit logs capture all transaction anomalies
  • Information Disclosure — Probe API endpoints for PII leakage
  • Denial of Service — Stress test transaction processing resilience
  • Elevation of Privilege — Attempt privilege escalation from customer to admin role

Document findings as CTI-enriched MISP attributes to share with NADRA and SBP security teams.

Purple Team Integration

Adversary emulation works best as a purple team exercise:

  • Red team executes emulated attack chains
  • Blue team monitors detection coverage in ELK, MISP, and Wireshark
  • CTI analyst updates detection rules in Sigma based on successful emulated techniques

After each exercise, update your MISP threat actor profiles with lessons learned and detection gaps.

Do / Don't

  • Do baseline your detection capabilities before emulating—measure MTTD/MTTR improvements
  • Do coordinate with legal and HR before testing—obtain written authorization for penetration testing
  • Don't skip safe-word protocols; Caldera agents must halt immediately if defenses fail catastrophically
  • Don't reuse unchanged emulation plans—threat actors evolve; your exercises must adapt quarterly

Takeaway

Today: Download MITRE Caldera, import the ATT&CK framework subset relevant to Pakistan financial threats, and run a single ability (e.g., T1059.001: PowerShell Script Execution) against a sandboxed Windows host. Observe how your Wireshark/Zeek logs capture the activity—this 30-minute exercise demonstrates how adversary emulation validates your CTI-driven detection strategy.

← PrevNext →