windows community v1.0.0

netsetupapi.dll

netsetupapi.dll — Environment Variable hijacking (Microsoft)

📋 Live Preview
netsetupapi.dll
netsetupapi.dll

Sandbox: execFile · Timeout: 30s

Capabilities

security.defenseevasion.dll-hijack

Documentation

examples:

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

netsetupapi.dll

Vendor: Microsoft

Expected Location: %SYSTEM32%

Vulnerable Executables:

  • %SYSTEM32%\rasphone.exe (Environment Variable)

Acknowledgement: Wietze

References