Skip to content
This repository was archived by the owner on Dec 11, 2018. It is now read-only.

Latest commit

 

History

History
37 lines (28 loc) · 1.04 KB

Control.md

File metadata and controls

37 lines (28 loc) · 1.04 KB

UPDATE BOOKMARKS - PROJECT MOVED TO A DEDICATED PROJECT SITE. THIS SITE WILL NOT BE UPDATED ANYMORE, BUT WILL BE KEPT FOR HISTORICAL REASONS.

New site: https://github.com/LOLBAS-Project/LOLBAS Web portal: https://lolbas-project.github.io/

Control.exe

  • Functions: Execute, Read ADS
control.exe c:\windows\tasks\file.txt:evil.dll

Acknowledgements:

  • Jimmy - @bohops

Code sample: *

Resources:

Full path:

C:\Windows\system32\control.exe    
C:\Windows\sysWOW64\control.exe     

Notes: Add registry in HKCU\Software\Microsoft\Windows\currentversion\controlpanel\CPLS to manipulate.

reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Cpls"
/v EvilCPL.cpl /t REG_SZ /d "C:\Folder\EvilCPL.cpl"