Skip to main content

A04 — Adversary Emulation: TechPay (Operation Desert Cipher)

Mode: Emulation · Org: TechPay FinTech · PROJ-2024-004

Scenario

TechPay's detection engineering team has deployed 8 rules based on the Operation Desert Cipher threat intelligence report (ClearSky; Iranian-nexus attribution). Your job: prove they actually work. Extract TTPs from the campaign report, write a safe 11-module emulation plan, execute in the lab, and produce a BoI-CD 362 Section 6 compliance report.

Your entry point: The CTI report is in 01-cti-report/operation-desert-cipher.md. You have a lab environment with JUMPHOST-LAB, TARGET-LAB, and a CyberShield-controlled C2 server.

Exercise Results

ModuleTechniqueResult
MOD-01T1133 VPN off-hours / non-corporate ASNPASS (3 min)
MOD-02T1087.002 Domain discoveryFAIL — gap confirmed
MOD-03T1021.001 RDP lateral movementPARTIAL (33 min; logon_type field absent)
MOD-04T1003.001 LSASS comsvcs.dllPASS (2 min; FP suppression correct)
MOD-05T1197 BITS job to externalPARTIAL (7 min; src_host null)
MOD-06T1543.003 Service from non-standard pathPASS (4 min)
MOD-07T1547.001 HKCU registry Run keyFAIL — Sysmon architectural gap
MOD-08T1005 DB full-table queryPASS (3 min)
MOD-09T1041 HTTPS exfiltration volumeFAIL — no rule deployed
MOD-10T1059.001 PowerShell encodedPASS (1 min)
MOD-11T1070.001 Log clear via wevtutilPASS (1 min)

Summary: 6 PASS / 2 PARTIAL / 3 FAIL · Compliance: COMPLIANT WITH CONDITIONS

Key Gaps Found

GapATT&CKRoot CausePriority
No exfiltration volume ruleT1041No NetFlow/Zeek source in Elastic; no threshold ruleP1
HKCU registry not monitoredT1547.001Sysmon EID 13 config covers HKLM onlyP1
No domain discovery ruleT1087.002net.exe rule missing; data source existsP2
RDP logon_type field missingT1021.001Elastic ingest pipeline field mapping bugP2

Assignment Deliverables

  1. Pre-emulation plan — INCD-style authorization package with safety measures per module
  2. TTP extraction table — 14 TTPs from report; excluded 3 with justification
  3. 11-module emulation plan — per-module: ATT&CK, detection under test, commands, pass criteria
  4. Execution log — timestamped results; anomaly observations; post-exercise cleanup
  5. Coverage matrix — DeTT&CT score per technique; P1/P2 gap priority
  6. Gap backlog — 7 gaps with root cause, remediation, effort estimate, compensating controls
  7. BoI-CD 362 Section 6 compliance report — status: COMPLIANT WITH CONDITIONS

Key Learning Objectives

  • Distinguish three FAIL types: rule missing, data source missing, architectural gap
  • Write MOD-11 (log clear) last — it destroys evidence of all prior modules
  • Explain LSASS GrantedAccess 0x1410 and why the FP suppression filter matters
  • Calculate DeTT&CT composite score from a mixed PASS/PARTIAL/FAIL result set
  • Draft a compliance report conclusion that is honest about gaps while meeting regulatory requirements

Critical Execution Note

MOD-11 (wevtutil log clear) must run last. It clears the Security, System, and Application Windows event logs on the lab host. All prior module results must be captured in VECTR before MOD-11 executes.