One Day Sec

How does the registry key creation for the exploit work, and what is the role of the GUID used in the code?

The exploit creates a new registry key under `HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\` (e.g., named `payload`) that contains an `UninstallString` value with the attacker's command (e.g., `calc.exe`). The GUID `{18E78D31-BBCC-4e6f-A21D-0A15BBC62D49}` in the code corresponds to the name of this subkey. When `LaunchUninstallStringAndWait` is called, it retrieves and executes the `UninstallString` from that registry location, effectively running the payload with high privileges. This technique is reminiscent of Testing and Analysis of Bypassing AppLocker Using LUA Scripts, where registry-based execution paths are exploited.
registry key creationUninstallStringGUIDpayload executionCOM interface

Browse all Q&A →