windows community v1.0.0

twinapi.dll

twinapi.dll — Sideloading, Environment Variable hijacking (Microsoft)

📋 Live Preview
twinapi.dll
twinapi.dll

Sandbox: execFile · Timeout: 30s

Capabilities

security.defenseevasion.dll-hijack

Documentation

examples:

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

twinapi.dll

Vendor: Microsoft

Expected Location: %SYSTEM32%

Vulnerable Executables:

  • %SYSTEM32%\dataexchangehost.exe (Sideloading)
  • %SYSTEM32%\rasphone.exe (Environment Variable)
  • %SYSTEM32%\rdpclip.exe (Environment Variable)
  • %PROGRAMFILES%\Microsoft\Edge\Application\msedge.exe (Environment Variable)
  • %PROGRAMFILES%\Microsoft Office\root\Office%VERSION%\excel.exe (Environment Variable)
  • %PROGRAMFILES%\Microsoft Office\root\Office%VERSION%\powerpnt.exe (Environment Variable)
  • %PROGRAMFILES%\Microsoft Office\root\Office%VERSION%\winword.exe (Environment Variable)
  • %PROGRAMFILES%\Microsoft Office\root\Office%VERSION%\msaccess.exe (Environment Variable)
  • %PROGRAMFILES%\Microsoft Office\root\Office%VERSION%\mspub.exe (Environment Variable)

Acknowledgement: Wietze

Acknowledgement: Chris Spehn

References