Skip to content

Create WorkFolders.yml#149

Merged
api0cradle merged 4 commits into
LOLBAS-Project:masterfrom
ElliotKillick:WorkFolders
Oct 22, 2021
Merged

Create WorkFolders.yml#149
api0cradle merged 4 commits into
LOLBAS-Project:masterfrom
ElliotKillick:WorkFolders

Conversation

@ElliotKillick
Copy link
Copy Markdown
Contributor

New execute lolbin: WorkFolders.exe

@wietze
Copy link
Copy Markdown
Member

wietze commented Oct 7, 2021

Hey @ElliotKillick could you elaborate on this one? I'm not quite how it works/what it does from the description. There are no resources available to get more details either... e.g. it references control.exe, what's the significance of that?

@ElliotKillick
Copy link
Copy Markdown
Contributor Author

ElliotKillick commented Oct 19, 2021

Hi @wietze, I took the liberty of adding a resources section to clear up any ambiguity in the description:
https://twitter.com/ElliotKillick/status/1449812843772227588

WorkFolders.exe is a small wrapper binary for control.exe with a parameter to open up the specified Control Panel menu. It does this with ShellExecute(), the problem arises because WorkFolders.exe fails to specify the full C:\Windows\System32\control.exe path instead just opting for control.exe. This causes ShellExecute() to first check the current working directory for control.exe thus how we get code execution.

@api0cradle
Copy link
Copy Markdown
Contributor

Awesome! Thanks for this contribution

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.

3 participants