The Hidden Risk in Undocumented API Behavior
summary
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
chapters (15)
- 0:00Intro
- 0:22Session Outline
- 1:31(Symbolic) Links in Windows
- 2:50Registry Symbolic Links
- 5:00Creating Registry Symlink: issue #3
- 5:57Deleting Registry Symlink
- 8:13Documentation of Links Deletion
- 10:30Vulnerability: WYSINWYD
- 12:26An Industry Failure?
- 13:43Read-Only Registry Keys
- 17:05Risk #1: Some Interesting Policies
- 18:36Risk #1: Attack Vector (Diagram)
- 24:22Risk #2: Attack Vector (Diagram)
- 26:25Security Impact
- 28:44Mitigation / Microsoft
related talks
49mThe Hidden Risk in Undocumented API Behavior
50mAutomated Discovery Of Logical Priv. Esc. Bugs In Win10
48m"Sneaking Past Device Guard"
51mSneaking Past Device Guard
33mAikido: Turning EDRs to Malicious Wipers Using 0-day Exploits
29mRendering Ransomware Detection and EDR Products Blind
41mThinking Outside the Sandbox - Violating Trust Boundaries in Uncommon Ways
40mBeyond Living-Off-the-Land: Why XP Exploits Still Matter
