~/talk

The Hidden Risk in Undocumented API Behavior

Talkat RSA Conference 2023 · 2023-04-24..04-27· [security]
links:none on file
slides:none on file

Finds an undocumented Win32/registry behavior where common delete APIs follow registry symbolic links and delete the target not the link, forcing use of the undocumented NtDeleteKey and correct REG_OPTION_OPEN_LINK to remove links safely. Uses AccessChk and registry viewers, creates a symlink to CURRENT_USER\Software\Policies, triggers AV/EDR remediation (quick scan) to delete the policies key, sets AlwaysInstallElevated to escalate a standard user to SYSTEM, and tests 18 vendors—16 were initially vulnerable and later patched.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Session Outline
  3. 1:31(Symbolic) Links in Windows
  4. 2:50Registry Symbolic Links
  5. 5:00Creating Registry Symlink: issue #3
  6. 5:57Deleting Registry Symlink
  7. 8:13Documentation of Links Deletion
  8. 10:30Vulnerability: WYSINWYD
  9. 12:26An Industry Failure?
  10. 13:43Read-Only Registry Keys
  11. 17:05Risk #1: Some Interesting Policies
  12. 18:36Risk #1: Attack Vector (Diagram)
  13. 24:22Risk #2: Attack Vector (Diagram)
  14. 26:25Security Impact
  15. 28:44Mitigation / Microsoft
~/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.