UNIFIED SOC INCIDENT RESPONSE BLUEPRINT
Hardening CI/CD Pipelines: Google's Software Supply Chain Guide
Google Cloud and Mandiant release an actionable defense-in-depth blueprint to safeguard CI/CD pipelines, build runners, and software supply chains from attack.
Detection & Hunting Detectors (1)
[T1195.001] Hardening CI/CD Pipelines Hunt QueryStandalone Rule
// Hunt for CI/CD runners initiating outbound network connections to non-allowlisted IP addresses
DeviceNetworkEvents
| where InitiatingProcessFileName in~ ("Runner.Worker", "gitlab-runner", "jenkins-agent", "actions-runner")
| where RemotePort in (80, 443, 8080, 22)
| where not(RemoteUrl has_any (".github.com", ".gitlab.com", ".npmjs.org", ".pypi.org", ".pkg.dev", ".docker.io"))
| project TimeGenerated, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, RemoteIP, RemoteUrl, RemotePort
| summarize ConnectionCount=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated) by DeviceName, InitiatingProcessFileName, RemoteIP, RemoteUrl
| sort by ConnectionCount descVerified Indicators of Compromise (2)
Indicators of Compromise (IOCs)
2 Identified
CONFIG_FLAG
ignore-scripts=falseENV_VAR
ACTIONS_ID_TOKEN_REQUEST_TOKEN