windows community v1.0.0

samlib.dll

samlib.dll — Sideloading hijacking (Microsoft)

📋 Live Preview
samlib.dll
samlib.dll

Sandbox: execFile · Timeout: 30s

Capabilities

security.defenseevasion.dll-hijack
security.privilegeescalation.dll-hijack

Documentation

examples:

  • description: "Place malicious samlib.dll in the search order location" command: "copy malicious.dll "%SYSTEM32%\samlib.dll""
  • description: "Execute the vulnerable binary to trigger the hijack" command: ""%SYSTEM32%\dpapimig.exe""

samlib.dll

Vendor: Microsoft

Expected Location: %SYSTEM32%

Vulnerable Executables:

  • %SYSTEM32%\dpapimig.exe (Sideloading)
  • %SYSTEM32%\dsmgmt.exe (Sideloading)
  • %SYSTEM32%\easinvoker.exe (Sideloading) [AutoElevate]
  • %SYSTEM32%\netplwiz.exe (Sideloading) [AutoElevate]
  • %SYSTEM32%\ntdsutil.exe (Sideloading)

Acknowledgement: Wietze

Acknowledgement: Chris Spehn

References