~/talk

Writing Your Own Ticket to the Cloud Like APT: A Dive to AD FS Attacks, Detections, and Mitigations

Talkat Black Hat Europe 2022 · 2022-12-05..12-08· [security]
links:none on file
links:none on file
slides:none on file

Eighty-eight percent of Fortune 500s use Azure AD and ~68% of those use federation, so AD FS remains a high-value target. The workflow shows four practical ways to steal token‑signing material: read the AD FS config DB (WID/SQL), use .NET reflection to dump private service properties, call the PolicyStoreTransfer WCF service over port 80, or enumerate the AD DKM object via LDAP/DC replication. Detections map to events 4103/4104, 4624/624, 121, 4662; mitigations include blocking port 80, tightening SQL access, marking private keys non‑exportable and using HSM. Tools shown: AadInternals, AD FS dump, mimikatz.

AI-written summary · about

  1. 0:00Introduction
  2. 10:23Namepipe Connections
  3. 12:13Dotnet Reflection
  4. 14:35Powershell
  5. 17:50Synchronization
  6. 20:34Network Connection
  7. 27:52Key
  8. 32:19Remote Method
  9. 38:02Mitigations
~/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.