01 / TRADECRAFT
4 examplesCommand reference
Execute4
EXAMPLE 01T1218.011
Launch a DLL payload by calling the Control_RunDLL function.
COMMAND
rundll32.exe shell32.dll,Control_RunDLL {PATH_ABSOLUTE:.dll}EXAMPLE 02T1218.011
Launch an executable by calling the ShellExec_RunDLL function.
COMMAND
rundll32.exe shell32.dll,ShellExec_RunDLL {PATH:.exe}EXAMPLE 03T1218.011
Launch command line by calling the ShellExec_RunDLL function.
COMMAND
rundll32 SHELL32.DLL,ShellExec_RunDLL {PATH:.exe} {CMD:args}EXAMPLE 04T1218.011
Load a DLL/CPL by calling undocumented Control_RunDLLNoFallback function.
COMMAND
rundll32.exe shell32.dll,#44 {PATH:.dll}02 / ON DISK
Known paths
c:\windows\system32\shell32.dllc:\windows\syswow64\shell32.dll03 / DEFENSIVE INTELLIGENCE
2 resourcesDetection & indicators
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
Adam (Control_RunDLL, Control_RunDLLNoFallback)@hexacorn
Pierre-Alexandre Braeken (ShellExec_RunDLL)@pabraeken
Matt Graeber (ShellExec_RunDLL)@mattifestation
Kyle Hanslovan (ShellExec_RunDLL)@KyleHanslovan