~/talk

GitHub Actions: Vulnerabilities, Attacks, and Counter-measures

Talkat NDC Security 2023 · 2023-01-16..01-19· [security, devops-and-delivery]
links:none on file
slides:none on file

Shows that GitHub Actions runners (Azure VMs) are abused at scale to mine cryptocurrency using an XMRig miner embedded in workflow steps and to persist via legitimate helpers like the actions/checkout dependency and a retry action that respawns jobs. Demonstrates a working reverse shell via netcat from the runner to an external C2 over allowed egress on port 443, then uses nmap for lateral discovery; finds hundreds of near-identical malicious repos, artifacts vanish when runners terminate, and GitHub tokens grant repo-level access only while jobs run.

AI-written summary · about

  1. 0:00Start
  2. 1:11@magnologan
  3. 4:34GitHub Codespaces
  4. 12:25Overview - Marketplace
  5. 14:03Overview - Actions in Action
  6. 17:56Vulnerabilities
  7. 21:30Leveraging third-party GHA
  8. 22:33Abusing Windows Runners pt 2
  9. 24:57Abusing Linux Runners
  10. 29:58Command Injection via untrusted inputs
  11. 30:46Malicious GitHub Actions
  12. 37:27Run nmap inside the Azure network
  13. 39:09Reverse shell from the Runner
  14. 41:00Pivot attacks using Runners
  15. 41:19Countermeasures
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.