Threat video1:00
CodeBreach AWS CodeBuild Memory Dump: Detection & IOCs
Attackers can dump a CodeBuild runner's memory to steal repo tokens. The 9 detection rules, 16 IOCs and a free Splunk SPL rule cover each stage.
Read the full threat intel for CodeBreach AWS CodeBuild Memory Dump: Detection & IOCs →
Chapters
- 0:00The hook78,330 secrets stolen from runner memory.
- 0:04The storyFound in March 2025.
- 0:11Attack pathPull request triggers CodeBuild with trojan action.
- 0:25AttributionNo threat actor: this was defensive research.
- 0:30Indicators of compromise12 indicators to hunt: 1 domain, 1 URL and 1 SHA-1 hash, and more.
- 0:38MITRE ATT&CK techniques10 ATT&CK techniques, from resource development to exfiltration.
- 0:43Remediation4 steps now: Rotate any source-provider tokens with write permission used by CodeBuild.
- 0:50Detection rules9 detection rules, in SPL, KQL and Sigma.
Transcript
0:0078,330 secrets stolen from runner memory.
0:05Found in March 2025.
0:07Team PCP stole 78,330 secrets.
0:11Pull request triggers CodeBuild with trojan action.
0:14Loader decodes and runs memory-dump script.
0:17Runner memory dumped. Tokens extracted.
0:20Secrets leaked via log or C2.
0:26No threat actor: this was defensive research.
0:3012 indicators to hunt: 1 domain, 1 URL and 1 SHA-1 hash, and more.
0:3810 ATT&CK techniques, from resource development to exfiltration.
0:434 steps now: Rotate any source-provider tokens with write permission used by CodeBuild.
0:519 detection rules, in SPL, KQL and Sigma.
0:56Threadlinqs. The unified security engineering platform.