Skip to content

Add App Paths Hijacking (Proxy Execution) to WorkFolders.exe#490

Merged
wietze merged 5 commits intoLOLBAS-Project:masterfrom
ghosts621:patch-1
Mar 16, 2026
Merged

Add App Paths Hijacking (Proxy Execution) to WorkFolders.exe#490
wietze merged 5 commits intoLOLBAS-Project:masterfrom
ghosts621:patch-1

Conversation

@ghosts621
Copy link
Contributor

Hi team,

Submitting a new execution technique for WorkFolders.exe.

Currently, the existing technique relies on dropping a payload named control.exe into the Current Working Directory (CWD).

New Finding (App Paths Hijacking):
By modifying the (Default) value of the HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\control.exe registry key, WorkFolders.exe will seamlessly proxy-execute the arbitrary executable defined in the registry.

  • Privileges: User (HKCU modification requires no elevation).
  • POC: I've attached a PowerShell POC in the Resources demonstrating the registry modification, execution, and clean-up.

Added the new command block, registry detection IOC, Gist resource link, and acknowledgement. Let me know if you need any adjustments!

Hi team,

Submitting a new execution technique for `WorkFolders.exe`.

Currently, the existing technique relies on dropping a payload named `control.exe` into the Current Working Directory (CWD). 

**New Finding (App Paths Hijacking):**
By modifying the `(Default)` value of the `HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\control.exe` registry key, `WorkFolders.exe` will seamlessly proxy-execute the arbitrary executable defined in the registry. 

* **Privileges:** User (HKCU modification requires no elevation).
* **POC:** I've attached a PowerShell POC in the Resources demonstrating the registry modification, execution, and clean-up.

Added the new command block, registry detection IOC, Gist resource link, and acknowledgement. Let me know if you need any adjustments!
@ghosts621 ghosts621 requested a review from a team as a code owner February 22, 2026 12:59
Copy link
Member

@wietze wietze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ghosts621 !

@wietze wietze merged commit 41458bd into LOLBAS-Project:master Mar 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants