Created
September 26, 2023 18:44
-
-
Save MHaggis/2a66973eedfe4b432b4e097fa76ee810 to your computer and use it in GitHub Desktop.
Atomic Test for https://lolbas-project.github.io/lolbas/Binaries/Provlaunch/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Provlaunch.exe Executes Arbitrary Command via Registry Key | |
description: | | |
Provlaunch.exe executes a command defined in the Registry. This test will create the necessary registry keys and values, then run provlaunch.exe to execute an arbitrary command. | |
- https://twitter.com/0gtweet/status/1674399582162153472 | |
- https://lolbas-project.github.io/lolbas/Binaries/Provlaunch/ | |
Registry keys are deleted after successful execution. | |
supported_platforms: | |
- windows | |
executor: | |
command: | | |
reg.exe add HKLM\SOFTWARE\Microsoft\Provisioning\Commands\LOLBin\dummy1 /v altitude /t REG_DWORD /d 0 | |
reg add HKLM\SOFTWARE\Microsoft\Provisioning\Commands\LOLBin\dummy1\dummy2 /v Commandline /d calc.exe | |
c:\windows\system32\provlaunch.exe LOLBin | |
name: command_prompt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment