module

Windows Server 2012 SrClient DLL hijacking

Disclosed
2021-02-19
Created
2021-03-16

Description

All editions of Windows Server 2012 (but not 2012 R2) are vulnerable to DLL
hijacking due to the way TiWorker.exe will try to call the non-existent
`SrClient.dll` file when Windows Update checks for updates. This issue can be
leveraged for privilege escalation if %PATH% includes directories that are
writable by low-privileged users. The attack can be triggered by any
low-privileged user and does not require a system reboot.

This module has been successfully tested on Windows Server 2012 (x64).

Author

Erik Wynter

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/windows/local/srclient_dll_hijacking
msf exploit(srclient_dll_hijacking) > show targets
...targets...
msf exploit(srclient_dll_hijacking) > set TARGET < target-id >
msf exploit(srclient_dll_hijacking) > show options
...show and set options...
msf exploit(srclient_dll_hijacking) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.