~/talk

Searching for RPC Functions to Coerce Authentications in Microsoft Protocols

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

Automates parsing Microsoft OpenSpecs and IDL to extract RPC interfaces, operation numbers and parameter names, translates IDL types into Impacket structures and generates Python PoC with Impacket via Jinja2 templates, then runs those PoCs to trigger authentications; the pipeline rediscovers PrinterBug, PetitPotam, ShadowCoerce and DFSCoerce in minutes and ships a repo of per-call PoCs. Includes a tool called coercer with scan / coerce / fuzz modes for scanning machines, provoking and mass-testing RPC calls. Works but needs target services enabled and manual type-mapping; defenses: disable unused services, enable Extended Protection for Authentication, and block outbound SMB.

AI-written summary · about

  1. 0:00Intro
  2. 2:12Required information to call a Remote Procedure
  3. 2:51Remote Procedures manipulating files
  4. 6:54Automated search of RPCs triggering authentications
  5. 8:32Parsing Microsoft Open Specifications documentation
  6. 9:03Microsoft Open Specifications structure
  7. 10:30Parsing Interface Definition Language (IDL)
  8. 12:50Searching for interesting RPC functions
  9. 15:07Autogenerating proof of concept python scripts
  10. 19:44IDL types vs Impacket types
  11. 21:26Windows coerced authentications methods
  12. 24:04Coercer: mode scan
  13. 26:13Defense techniques
~/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.