{"source_checked_on":"2026-10-19","schema_version":1,"key":"enterprise/T1218.004","id":"T1218.004","name":"InstallUtil","domain":"enterprise","reviewed_on":"2026-09-28","source_url":"https://attack.mitre.org/techniques/T1218/004","source_file":{"file":"enterprise.json","url":"https://raw.githubusercontent.com/mitre-attack/attack-stix-data/20664a889568dce884a1dac0ec7b12ae3a199f51/enterprise-attack/enterprise-attack-20.0.json","sha256":"81113ba98afa2928f3dcff62022539f7ce30c315c32e14422f11ff95ce534352","bytes":55271014},"source_object_sha256":"3286b0cce8a890995ee858e655e0bfd258b14d8c98eb43f32d9a7134aba9405f","description":"Adversaries may use InstallUtil to proxy execution of code through a trusted Windows utility. InstallUtil is a command-line utility that allows for installation and uninstallation of resources by executing specific installer components specified in .NET binaries. (Citation: MSDN InstallUtil) The InstallUtil binary may also be digitally signed by Microsoft and located in the .NET directories on a Windows system: <code>C:\\Windows\\Microsoft.NET\\Framework\\v<version>\\InstallUtil.exe</code> and <code>C:\\Windows\\Microsoft.NET\\Framework64\\v<version>\\InstallUtil.exe</code>.\n\nInstallUtil may also be used to bypass application control through use of attributes within the binary that execute the class decorated with the attribute <code>[System.ComponentModel.RunInstaller(true)]</code>. (Citation: LOLBAS Installutil)","references":[{"source_name":"mitre-attack","url":"https://attack.mitre.org/techniques/T1218/004","external_id":"T1218.004"},{"source_name":"LOLBAS Installutil","description":"LOLBAS. (n.d.). Installutil.exe. Retrieved July 31, 2019.","url":"https://lolbas-project.github.io/lolbas/Binaries/Installutil/"},{"source_name":"MSDN InstallUtil","description":"Microsoft. (n.d.). Installutil.exe (Installer Tool). Retrieved July 1, 2016.","url":"https://msdn.microsoft.com/en-us/library/50614e95.aspx"}],"platforms":["Windows"],"environments":["cloud-hosted-endpoint","onprem"],"visibility":"source_mapped","visibility_note":null,"parent":{"key":"enterprise/T1218","id":"T1218","name":"System Binary Proxy Execution","domain":"enterprise","level":"technique","parent_id":null,"tactics":["stealth"],"platforms":["Linux","macOS","Windows"],"environments":["cloud-hosted-endpoint","onprem"],"page":"techniques/enterprise/T1218/","constraints":["isolated_authorized_lab","procedure_review_required","telemetry_configuration_required","some_candidates_require_elevation"],"telemetry_tags":["Module Load","Network Connection Creation","Process Creation"],"telemetry_references":[{"id":"DC0016","name":"Module Load","tag":"Module Load","page":"telemetry/DC0016/","kind":"attack_component"},{"id":"DC0082","name":"Network Connection Creation","tag":"Network Connection Creation","page":"telemetry/DC0082/","kind":"attack_component"},{"id":"DC0032","name":"Process Creation","tag":"Process Creation","page":"telemetry/DC0032/","kind":"attack_component"}],"detections":{"page":"detections/enterprise/T1218/","status":"rule_source_available","counts":{"sigma":135,"atlas_basic":2,"atlas_anomaly":1,"strategies":1,"analytics":3,"live_validated":0},"anomaly_types":[{"title":"Category-Combination Anomaly","url":"https://1200km.com/anomaly-detection-atlas/statistical-anomaly-taxonomy/#86-category-combination-anomaly"},{"title":"Conditional Anomaly","url":"https://1200km.com/anomaly-detection-atlas/statistical-anomaly-taxonomy/#5-conditional-anomaly"},{"title":"Edge Anomaly","url":"https://1200km.com/anomaly-detection-atlas/statistical-anomaly-taxonomy/#69-edge-anomaly"}]},"detection_status":"rule_source_available","anomaly_tags":["Category-Combination Anomaly","Conditional Anomaly","Edge Anomaly"],"tool_tags":[],"tool_references":[],"visibility":"source_mapped","telemetry_status":"mapped","classification":"can_simulate","candidate_count":16,"implementation":"not_integrated","methods":["automated"]},"children":[],"telemetry":[{"id":"DC0064","name":"Command Execution","page":"telemetry/DC0064/","kind":"attack_component","category":"Script and command execution","description":"Execution of a command and its interpreter or parent context.","collection_focus":"Collect process command lines and relevant shell/interpreter audit; shell history alone is neither complete nor tamper-resistant.","providers":[{"name":"PowerShell Script Block Logging","scope":"Script content via event 4104 when configured; channel depends on PowerShell edition.","source_id":"powershell"},{"name":"Sysmon process events","scope":"Interpreter launch and parent context, not full script content.","source_id":"sysmon"},{"name":"Linux Audit","scope":"execve-family execution context; shell built-ins need additional instrumentation.","source_id":"linux"}],"configuration":["Enable Script Block Logging through the policy/configuration for the installed edition. Forward Microsoft-Windows-PowerShell/Operational for Windows PowerShell, or PowerShellCore/Operational for PowerShell 7.","Retain script-block ID and fragment ordering alongside process creation. Protect access to collected script text; secrets may be included.","On Linux, use narrowly scoped Audit execution rules for the lab account and supported architectures, and retain joined SYSCALL/EXECVE/PATH records."],"configuration_example":null,"required_fields":["interpreter","command_line","actor_uid","session_id"],"example":{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0064","collector":"illustrative-lab-collector","observation":{"interpreter":"/bin/sh","command_line":"printf LAB_TELEMETRY_CHECK","actor_uid":1000,"session_id":"lab-session-1"}},"example_note":"Project-normalized synthetic JSON, not a native provider log, captured event, attack verdict or validated detection. A parser/adapter is required for a real SIEM. Example names, IPs and values are fictional.","limitations":"Script content and process command lines are different signals. Logging may be partial, fragmented, filtered or disabled; never assume a command line reveals everything executed.","sources":[{"id":"powershell","title":"Microsoft PowerShell logging on Windows","url":"https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_logging_windows?view=powershell-7.5"},{"id":"sysmon","title":"Microsoft Sysmon events and configuration","url":"https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon"},{"id":"linux","title":"Linux Audit rule configuration","url":"https://www.man7.org/linux/man-pages/man8/auditctl.8.html"}],"association":"attack_component","anomaly_design":"Per host role and principal: rare interpreters, command argument patterns and parent-child sequences. Normalize scripts carefully; obfuscation, administrative automation and missing command lines change visibility."},{"id":"DC0039","name":"File Creation","page":"telemetry/DC0039/","kind":"attack_component","category":"Endpoint activity","description":"Creation or overwrite of a file at an observed path.","collection_focus":"Scope Sysmon FileCreate (11) to the lab directory; retain the process and file path. Differentiate creation/overwrite if the sensor can.","providers":[{"name":"Microsoft Sysmon","scope":"Windows event-based collection; enable the event types needed below.","source_id":"sysmon"},{"name":"Linux Audit","scope":"Linux alternative for supported system-call and file events; different semantics and fields.","source_id":"linux"},{"name":"Apple Endpoint Security clients","scope":"macOS alternative where the subscribed event exists; requires an entitled, approved client, not an iOS collector.","source_id":"apple"}],"configuration":["On a disposable Windows host, review the installed Sysmon schema and current configuration; merge scoped event filters into the existing policy rather than replacing it.","Forward Microsoft-Windows-Sysmon/Operational to the lab collector. Preserve event ID, timestamp, computer, process identifiers and the original event.","For Linux or macOS, select the equivalent sensor separately and test its emitted fields; a Windows event ID does not transfer across platforms."],"configuration_example":null,"required_fields":["process_id","path","action","size_bytes"],"example":{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0039","collector":"illustrative-lab-collector","observation":{"process_id":4200,"path":"C:\\Lab\\demo.txt","action":"create","size_bytes":64}},"example_note":"Project-normalized synthetic JSON, not a native provider log, captured event, attack verdict or validated detection. A parser/adapter is required for a real SIEM. Example names, IPs and values are fictional.","limitations":"Event filtering and sensor versions change coverage. High-volume image-load and process-access collection needs tuning; endpoint events alone do not establish intent.","sources":[{"id":"sysmon","title":"Microsoft Sysmon events and configuration","url":"https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon"},{"id":"sysmon_config","title":"Microsoft Sysmon configuration files","url":"https://learn.microsoft.com/en-us/windows/security/operating-system-security/sysmon/sysmon-configuration-files"},{"id":"linux","title":"Linux Audit rule configuration","url":"https://www.man7.org/linux/man-pages/man8/auditctl.8.html"},{"id":"apple","title":"Apple Endpoint Security framework for macOS","url":"https://developer.apple.com/documentation/endpointsecurity"},{"id":"process_audit","title":"Microsoft process creation event 4688","url":"https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4688"}],"association":"attack_component","anomaly_design":"Per host role and user: rare process/object combinations, bursts of object access or modification, and ordered parent/action sequences. Compare maintenance windows and signed software rollout activity."},{"id":"DC0016","name":"Module Load","page":"telemetry/DC0016/","kind":"attack_component","category":"Endpoint activity","description":"A module or library being loaded into a running process.","collection_focus":"Scope Sysmon ImageLoad (7) to lab processes/paths; retain module hash, signer and destination process. Inventory alone does not prove a module loaded.","providers":[{"name":"Microsoft Sysmon","scope":"Windows event-based collection; enable the event types needed below.","source_id":"sysmon"},{"name":"Linux Audit","scope":"Linux alternative for supported system-call and file events; different semantics and fields.","source_id":"linux"},{"name":"Apple Endpoint Security clients","scope":"macOS alternative where the subscribed event exists; requires an entitled, approved client, not an iOS collector.","source_id":"apple"}],"configuration":["On a disposable Windows host, review the installed Sysmon schema and current configuration; merge scoped event filters into the existing policy rather than replacing it.","Forward Microsoft-Windows-Sysmon/Operational to the lab collector. Preserve event ID, timestamp, computer, process identifiers and the original event.","For Linux or macOS, select the equivalent sensor separately and test its emitted fields; a Windows event ID does not transfer across platforms."],"configuration_example":null,"required_fields":["process_id","image_loaded","signed","action"],"example":{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0016","collector":"illustrative-lab-collector","observation":{"process_id":4200,"image_loaded":"C:\\Lab\\demo.dll","signed":false,"action":"load"}},"example_note":"Project-normalized synthetic JSON, not a native provider log, captured event, attack verdict or validated detection. A parser/adapter is required for a real SIEM. Example names, IPs and values are fictional.","limitations":"Event filtering and sensor versions change coverage. High-volume image-load and process-access collection needs tuning; endpoint events alone do not establish intent.","sources":[{"id":"sysmon","title":"Microsoft Sysmon events and configuration","url":"https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon"},{"id":"sysmon_config","title":"Microsoft Sysmon configuration files","url":"https://learn.microsoft.com/en-us/windows/security/operating-system-security/sysmon/sysmon-configuration-files"},{"id":"linux","title":"Linux Audit rule configuration","url":"https://www.man7.org/linux/man-pages/man8/auditctl.8.html"},{"id":"apple","title":"Apple Endpoint Security framework for macOS","url":"https://developer.apple.com/documentation/endpointsecurity"},{"id":"process_audit","title":"Microsoft process creation event 4688","url":"https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4688"}],"association":"attack_component","anomaly_design":"Per host role and user: rare process/object combinations, bursts of object access or modification, and ordered parent/action sequences. Compare maintenance windows and signed software rollout activity."},{"id":"DC0032","name":"Process Creation","page":"telemetry/DC0032/","kind":"attack_component","category":"Endpoint activity","description":"Creation of a process with executable, command line, parent and security context.","collection_focus":"Collect Sysmon ProcessCreate (1); preserve ProcessGuid and parent identifiers. Security 4688 is an alternative with separate audit/command-line settings.","providers":[{"name":"Microsoft Sysmon","scope":"Windows event-based collection; enable the event types needed below.","source_id":"sysmon"},{"name":"Linux Audit","scope":"Linux alternative for supported system-call and file events; different semantics and fields.","source_id":"linux"},{"name":"Apple Endpoint Security clients","scope":"macOS alternative where the subscribed event exists; requires an entitled, approved client, not an iOS collector.","source_id":"apple"}],"configuration":["On a disposable Windows host, review the installed Sysmon schema and current configuration; merge scoped event filters into the existing policy rather than replacing it.","Forward Microsoft-Windows-Sysmon/Operational to the lab collector. Preserve event ID, timestamp, computer, process identifiers and the original event.","For Linux or macOS, select the equivalent sensor separately and test its emitted fields; a Windows event ID does not transfer across platforms."],"configuration_example":{"label":"Sysmon filter fragment · merge into the reviewed lab configuration","language":"xml","source_id":"sysmon_config","content":"<EventFiltering>\n  <ProcessCreate onmatch=\"include\">\n    <Image condition=\"is\">C:\\Windows\\System32\\whoami.exe</Image>\n  </ProcessCreate>\n</EventFiltering>","note":"This fragment only selects the named process. It is not a complete production policy. Inspect the installed schema with sysmon64 -s; preserve existing rules, then apply the reviewed complete configuration with sysmon64 -c <configuration-file>."},"required_fields":["process_guid","image","parent_image","command_line","user"],"example":{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0032","collector":"illustrative-lab-collector","observation":{"process_guid":"lab-process-001","image":"C:\\Windows\\System32\\whoami.exe","parent_image":"C:\\Windows\\System32\\cmd.exe","command_line":"whoami","user":"LAB\\analyst"}},"example_note":"Project-normalized synthetic JSON, not a native provider log, captured event, attack verdict or validated detection. A parser/adapter is required for a real SIEM. Example names, IPs and values are fictional.","limitations":"Event filtering and sensor versions change coverage. High-volume image-load and process-access collection needs tuning; endpoint events alone do not establish intent.","sources":[{"id":"sysmon","title":"Microsoft Sysmon events and configuration","url":"https://learn.microsoft.com/en-us/sysinternals/downloads/sysmon"},{"id":"sysmon_config","title":"Microsoft Sysmon configuration files","url":"https://learn.microsoft.com/en-us/windows/security/operating-system-security/sysmon/sysmon-configuration-files"},{"id":"linux","title":"Linux Audit rule configuration","url":"https://www.man7.org/linux/man-pages/man8/auditctl.8.html"},{"id":"apple","title":"Apple Endpoint Security framework for macOS","url":"https://developer.apple.com/documentation/endpointsecurity"},{"id":"process_audit","title":"Microsoft process creation event 4688","url":"https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4688"}],"association":"attack_component","anomaly_design":"Per host role and user: rare process/object combinations, bursts of object access or modification, and ordered parent/action sequences. Compare maintenance windows and signed software rollout activity."}],"detection":{"key":"enterprise/T1218.004","id":"T1218.004","name":"InstallUtil","domain":"enterprise","platforms":["Windows"],"environments":["cloud-hosted-endpoint","onprem"],"source_url":"https://attack.mitre.org/techniques/T1218/004","technique_page":"techniques/enterprise/T1218.004/","page":"detections/enterprise/T1218.004/","status":"guidance_only","counts":{"sigma":0,"atlas_basic":0,"atlas_anomaly":0,"strategies":1,"analytics":1,"live_validated":0},"sigma_rules":[],"atlas_basic":[],"atlas_anomaly":[],"anomaly_types":[],"strategies":[{"id":"DET0138","name":"Detection of Malicious Code Execution via InstallUtil.exe","url":"https://attack.mitre.org/detectionstrategies/DET0138","stix_id":"x-mitre-detection-strategy--7f7679d8-c2eb-4fcc-be46-27055ef491a6","relationship_id":"relationship--a78534d4-b98e-4acd-8e51-337d5bb7877c","description":"","analytics":[{"id":"AN0388","name":"Analytic 0388","guidance":"Execution of InstallUtil.exe from .NET framework directories with arguments specifying non-standard or attacker-supplied assemblies, especially when followed by suspicious child process creation or script execution. Detection also includes correlation of newly created binaries prior to InstallUtil invocation and anomalous command-line usage compared to historical baselines.","url":"https://attack.mitre.org/detectionstrategies/DET0138#AN0388","platforms":["Windows"],"tuning":[{"field":"InstallUtilPathRegex","description":"Regex pattern for InstallUtil.exe in .NET directories; tune to exclude known good administrative scripts"},{"field":"AssemblyPathRegex","description":"Patterns for identifying suspicious assemblies (e.g., in temp folders, user profiles)"},{"field":"ChildProcessList","description":"List of suspicious child processes spawned from InstallUtil.exe (e.g., cmd.exe, powershell.exe, rundll32.exe)"},{"field":"TimeWindow","description":"Time correlation window between file creation of assembly and its execution via InstallUtil.exe"}],"log_sources":[{"component_id":"DC0064","component":"Command Execution","name":"WinEventLog:PowerShell","channel":"EventCode=4103, 4104, 4105, 4106","platforms":["Windows"],"analytic_id":"AN0388","source_url":"https://attack.mitre.org/detectionstrategies/DET0138#AN0388","validation":"upstream_definition_not_locally_validated","component_page":"telemetry/DC0064/"},{"component_id":"DC0032","component":"Process Creation","name":"WinEventLog:Sysmon","channel":"EventCode=1","platforms":["Windows"],"analytic_id":"AN0388","source_url":"https://attack.mitre.org/detectionstrategies/DET0138#AN0388","validation":"upstream_definition_not_locally_validated","component_page":"telemetry/DC0032/"},{"component_id":"DC0039","component":"File Creation","name":"WinEventLog:Sysmon","channel":"EventCode=11","platforms":["Windows"],"analytic_id":"AN0388","source_url":"https://attack.mitre.org/detectionstrategies/DET0138#AN0388","validation":"upstream_definition_not_locally_validated","component_page":"telemetry/DC0039/"},{"component_id":"DC0016","component":"Module Load","name":"WinEventLog:Sysmon","channel":"EventCode=7","platforms":["Windows"],"analytic_id":"AN0388","source_url":"https://attack.mitre.org/detectionstrategies/DET0138#AN0388","validation":"upstream_definition_not_locally_validated","component_page":"telemetry/DC0016/"}]}]}],"telemetry_references":[{"id":"DC0064","name":"Command Execution","tag":"Command Execution","page":"telemetry/DC0064/","kind":"attack_component"},{"id":"DC0039","name":"File Creation","tag":"File Creation","page":"telemetry/DC0039/","kind":"attack_component"},{"id":"DC0016","name":"Module Load","tag":"Module Load","page":"telemetry/DC0016/","kind":"attack_component"},{"id":"DC0032","name":"Process Creation","tag":"Process Creation","page":"telemetry/DC0032/","kind":"attack_component"}],"visibility":"source_mapped","visibility_note":null,"tool_references":[{"id":"S1155","name":"Covenant","page":"tools/S1155/","kind":"attack_tool","bases":["attack_uses"],"guides":[]}],"related_parent":{"key":"enterprise/T1218","id":"T1218","name":"System Binary Proxy Execution","page":"detections/enterprise/T1218/","note":"Related parent research only. Not inherited rule or anomaly coverage for this sub-technique."},"article_url":"https://1200km.com/articles/read/2026/2026-04-20-malicious-activity-as-a-statistical-signal-a-detection-engineering-analysis-of-anomaly-bas-90df8b6dea12/","validation":{"source_join":"exact_ids","sigma_yaml":"parsed","backend_compilation":"not_run","live_telemetry":"not_run","detection_execution":"not_run"}},"tools":[{"id":"S1155","name":"Covenant","page":"tools/S1155/","kind":"attack_tool","bases":["attack_uses"],"guides":[]}],"software":[{"id":"S0631","name":"Chaes","url":"https://attack.mitre.org/software/S0631","kind":"malware","description":"[Chaes](https://attack.mitre.org/software/S0631) has used Installutill to download content.(Citation: Cybereason Chaes Nov 2020)","relationship_id":"relationship--26372fd8-6298-4da6-b412-5fb155f55786","references":[{"source_name":"Cybereason Chaes Nov 2020","description":"Salem, E. (2020, November 17). CHAES: Novel Malware Targeting Latin American E-Commerce. Retrieved June 30, 2021.","url":"https://www.cybereason.com/hubfs/dam/collateral/reports/11-2020-Chaes-e-commerce-malware-research.pdf"}]},{"id":"S0689","name":"WhisperGate","url":"https://attack.mitre.org/software/S0689","kind":"malware","description":"[WhisperGate](https://attack.mitre.org/software/S0689) has used `InstallUtil.exe` as part of its process to disable Windows Defender.(Citation: Unit 42 WhisperGate January 2022)","relationship_id":"relationship--4854028c-5924-478c-b274-a37f3ad5d7d2","references":[{"source_name":"Unit 42 WhisperGate January 2022","description":"Falcone, R. et al.. (2022, January 20). Threat Brief: Ongoing Russia and Ukraine Cyber Conflict. Retrieved March 10, 2022.","url":"https://unit42.paloaltonetworks.com/ukraine-cyber-conflict-cve-2021-32648-whispergate/#whispergate-malware-family"}]},{"id":"S1018","name":"Saint Bot","url":"https://attack.mitre.org/software/S1018","kind":"malware","description":"[Saint Bot](https://attack.mitre.org/software/S1018) had used `InstallUtil.exe` to download and deploy executables.(Citation: Malwarebytes Saint Bot April 2021)","relationship_id":"relationship--e3ac1997-f11f-4f3d-8339-8e077ab00149","references":[{"source_name":"Malwarebytes Saint Bot April 2021","description":"Hasherezade. (2021, April 6). A deep dive into Saint Bot, a new downloader. Retrieved June 9, 2022.","url":"https://blog.malwarebytes.com/threat-intelligence/2021/04/a-deep-dive-into-saint-bot-downloader/"}]},{"id":"S1155","name":"Covenant","url":"https://attack.mitre.org/software/S1155","kind":"tool","description":"[Covenant](https://attack.mitre.org/software/S1155) can create launchers via an InstallUtil XML file to install new Grunt listeners.(Citation: Github Covenant)","relationship_id":"relationship--5a256a62-f3a7-43b6-86da-df633b890977","references":[{"source_name":"Github Covenant","description":"cobbr. (2021, April 21). Covenant. Retrieved September 4, 2024.","url":"https://github.com/cobbr/Covenant"}]}],"actors":[{"id":"G0045","name":"menuPass","url":"https://attack.mitre.org/groups/G0045","kind":"intrusion-set","description":"[menuPass](https://attack.mitre.org/groups/G0045) has used <code>InstallUtil.exe</code> to execute malicious software.(Citation: PWC Cloud Hopper Technical Annex April 2017)","relationship_id":"relationship--70fa0bd3-3fbb-4fda-9de2-2b751f9552e7","references":[{"source_name":"PWC Cloud Hopper Technical Annex April 2017","description":"PwC and BAE Systems. (2017, April). Operation Cloud Hopper: Technical Annex. Retrieved April 13, 2017.","url":"https://www.pwc.co.uk/cyber-security/pdf/pwc-uk-operation-cloud-hopper-technical-annex-april-2017.pdf"}]},{"id":"G0129","name":"Mustang Panda","url":"https://attack.mitre.org/groups/G0129","kind":"intrusion-set","description":"[Mustang Panda](https://attack.mitre.org/groups/G0129) has used <code>InstallUtil.exe</code> to execute a malicious Beacon stager.(Citation: Anomali MUSTANG PANDA October 2019)","relationship_id":"relationship--42440c0c-f28b-4c42-94af-dc4cad6a8dd7","references":[{"source_name":"Anomali MUSTANG PANDA October 2019","description":"Anomali Threat Research. (2019, October 7). China-Based APT Mustang Panda Targets Minority Groups, Public and Private Sector Organizations. Retrieved April 12, 2021.","url":"https://www.anomali.com/blog/china-based-apt-mustang-panda-targets-minority-groups-public-and-private-sector-organizations"}]}],"mitigations":[{"id":"M1038","name":"Execution Prevention","url":"https://attack.mitre.org/mitigations/M1038","kind":"course-of-action","description":"Use application control configured to block execution of InstallUtil.exe if it is not required for a given system or network to prevent potential misuse by adversaries.","relationship_id":"relationship--21ce896b-e6b5-4075-8d97-6b59c269247c","references":[]},{"id":"M1042","name":"Disable or Remove Feature or Program","url":"https://attack.mitre.org/mitigations/M1042","kind":"course-of-action","description":"InstallUtil may not be necessary within a given environment.","relationship_id":"relationship--a6352ede-7afb-4be5-bba4-bd5c0a20bae6","references":[]}],"candidates":[{"id":"06d9deba-f732-48a8-af8e-bdd6e4d98c1d","name":"InstallUtil Uninstall method call - '/installtype=notransaction /action=uninstall' variant","platforms":["windows"],"method":"automated","executor":"powershell","elevation_required":false,"dependency_count":1,"cleanup_defined":true,"review_status":"not_individually_reviewed","source_url":"https://github.com/redcanaryco/atomic-red-team/blob/388942adbd9641f4dfdcf079d7efe9a75ec0ac43/atomics/T1218.004/T1218.004.yaml","description":"Executes the Uninstall Method. Upon execution, version information will be displayed the .NET framework install utility.\n","inputs":{"test_harness":{"description":"location of the test harness script - Invoke-BuildAndInvokeInstallUtilAssembly","type":"path","default":"PathToAtomicsFolder\\T1218.004\\src\\InstallUtilTestHarness.ps1"},"assembly_dir":{"description":"directory to drop the compiled installer assembly","type":"path","default":"$Env:TEMP\\"},"invocation_method":{"description":"the type of InstallUtil invocation variant - Executable, InstallHelper, or CheckIfInstallable","type":"string","default":"Executable"},"assembly_filename":{"description":"filename of the compiled installer assembly","type":"string","default":"T1218.004.dll"}},"dependencies":[{"description":"InstallUtil test harness script must be installed at specified location (#{test_harness})\n"}],"source_definition_sha256":"aac7ef3a7b8f74e59354e8ed7b8ce498b19dcc93515034f1d9221c4481e45bfd"},{"id":"34428cfa-8e38-41e5-aff4-9e1f8f3a7b4b","name":"InstallUtil Uninstall method call - /U variant","platforms":["windows"],"method":"automated","executor":"powershell","elevation_required":false,"dependency_count":1,"cleanup_defined":true,"review_status":"not_individually_reviewed","source_url":"https://github.com/redcanaryco/atomic-red-team/blob/388942adbd9641f4dfdcf079d7efe9a75ec0ac43/atomics/T1218.004/T1218.004.yaml","description":"Executes the Uninstall Method. Upon execution, version information will be displayed the .NET framework install utility.\n","inputs":{"test_harness":{"description":"location of the test harness script - Invoke-BuildAndInvokeInstallUtilAssembly","type":"path","default":"PathToAtomicsFolder\\T1218.004\\src\\InstallUtilTestHarness.ps1"},"assembly_dir":{"description":"directory to drop the compiled installer assembly","type":"path","default":"$Env:TEMP\\"},"invocation_method":{"description":"the type of InstallUtil invocation variant - Executable, InstallHelper, or CheckIfInstallable","type":"string","default":"Executable"},"assembly_filename":{"description":"filename of the compiled installer assembly","type":"string","default":"T1218.004.dll"}},"dependencies":[{"description":"InstallUtil test harness script must be installed at specified location (#{test_harness})\n"}],"source_definition_sha256":"44a4aa459b35edaa697216970c4230eb4a52578ffe06953d20b49d848b41270f"},{"id":"559e6d06-bb42-4307-bff7-3b95a8254bad","name":"InstallUtil evasive invocation","platforms":["windows"],"method":"automated","executor":"powershell","elevation_required":false,"dependency_count":1,"cleanup_defined":true,"review_status":"not_individually_reviewed","source_url":"https://github.com/redcanaryco/atomic-red-team/blob/388942adbd9641f4dfdcf079d7efe9a75ec0ac43/atomics/T1218.004/T1218.004.yaml","description":"Executes an InstallUtil assembly by renaming InstallUtil.exe and using a nonstandard extension for the assembly. Upon execution, \"Running a transacted installation.\"\nwill be displayed, along with other information about the opperation. \"The transacted install has completed.\" will be displayed upon completion.\n","inputs":{"test_harness":{"description":"location of the test harness script - Invoke-BuildAndInvokeInstallUtilAssembly","type":"path","default":"PathToAtomicsFolder\\T1218.004\\src\\InstallUtilTestHarness.ps1"}},"dependencies":[{"description":"InstallUtil test harness script must be installed at specified location (#{test_harness})\n"}],"source_definition_sha256":"ebce16cbecd93b5434e39a0955ae74b2e38116fe90556d495238e8ecbfa33e5f"},{"id":"5a683850-1145-4326-a0e5-e91ced3c6022","name":"InstallUtil HelpText method call","platforms":["windows"],"method":"automated","executor":"powershell","elevation_required":false,"dependency_count":1,"cleanup_defined":true,"review_status":"not_individually_reviewed","source_url":"https://github.com/redcanaryco/atomic-red-team/blob/388942adbd9641f4dfdcf079d7efe9a75ec0ac43/atomics/T1218.004/T1218.004.yaml","description":"Executes the Uninstall Method. Upon execution, help information will be displayed for InstallUtil.\n","inputs":{"test_harness":{"description":"location of the test harness script - Invoke-BuildAndInvokeInstallUtilAssembly","type":"path","default":"PathToAtomicsFolder\\T1218.004\\src\\InstallUtilTestHarness.ps1"},"assembly_dir":{"description":"directory to drop the compiled installer assembly","type":"path","default":"$Env:TEMP\\"},"invocation_method":{"description":"the type of InstallUtil invocation variant - Executable, InstallHelper, or CheckIfInstallable","type":"string","default":"Executable"},"assembly_filename":{"description":"filename of the compiled installer assembly","type":"string","default":"T1218.004.dll"}},"dependencies":[{"description":"InstallUtil test harness script must be installed at specified location (#{test_harness})\n"}],"source_definition_sha256":"331a562b1cbc21f3dcf230ddecee6f22734a5b4f7298463f1644030973316035"},{"id":"9b7a7cfc-dd2e-43f5-a885-c0a3c270dd93","name":"InstallUtil class constructor method call","platforms":["windows"],"method":"automated","executor":"powershell","elevation_required":false,"dependency_count":1,"cleanup_defined":true,"review_status":"not_individually_reviewed","source_url":"https://github.com/redcanaryco/atomic-red-team/blob/388942adbd9641f4dfdcf079d7efe9a75ec0ac43/atomics/T1218.004/T1218.004.yaml","description":"Executes the installer assembly class constructor. Upon execution, version information will be displayed the .NET framework install utility.\n","inputs":{"test_harness":{"description":"location of the test harness script - Invoke-BuildAndInvokeInstallUtilAssembly","type":"path","default":"PathToAtomicsFolder\\T1218.004\\src\\InstallUtilTestHarness.ps1"},"assembly_dir":{"description":"directory to drop the compiled installer assembly","type":"path","default":"$Env:TEMP\\"},"invocation_method":{"description":"the type of InstallUtil invocation variant - Executable, InstallHelper, or CheckIfInstallable","type":"string","default":"Executable"},"assembly_filename":{"description":"filename of the compiled installer assembly","type":"string","default":"T1218.004.dll"}},"dependencies":[{"description":"InstallUtil test harness script must be installed at specified location (#{test_harness})\n"}],"source_definition_sha256":"5b0a2a82343151b13f88fd22286fb5bb23d8a2ec3fd26ac94de9520611aa5416"},{"id":"9f9968a6-601a-46ca-b7b7-6d4fe0f98f0b","name":"InstallUtil Install method call","platforms":["windows"],"method":"automated","executor":"powershell","elevation_required":false,"dependency_count":1,"cleanup_defined":true,"review_status":"not_individually_reviewed","source_url":"https://github.com/redcanaryco/atomic-red-team/blob/388942adbd9641f4dfdcf079d7efe9a75ec0ac43/atomics/T1218.004/T1218.004.yaml","description":"Executes the Install Method. Upon execution, version information will be displayed the .NET framework install utility.\n","inputs":{"test_harness":{"description":"location of the test harness script - Invoke-BuildAndInvokeInstallUtilAssembly","type":"path","default":"PathToAtomicsFolder\\T1218.004\\src\\InstallUtilTestHarness.ps1"},"assembly_dir":{"description":"directory to drop the compiled installer assembly","type":"path","default":"$Env:TEMP\\"},"invocation_method":{"description":"the type of InstallUtil invocation variant - Executable, InstallHelper, or CheckIfInstallable","type":"string","default":"Executable"},"assembly_filename":{"description":"filename of the compiled installer assembly","type":"string","default":"T1218.004.dll"}},"dependencies":[{"description":"InstallUtil test harness script must be installed at specified location (#{test_harness})\n"}],"source_definition_sha256":"40a9f7c49ab539edb3c4c318ff34b5258c298169f6d9fa1fd972c1eb3cf4b447"},{"id":"d43a5bde-ae28-4c55-a850-3f4c80573503","name":"InstallHelper method call","platforms":["windows"],"method":"automated","executor":"powershell","elevation_required":false,"dependency_count":1,"cleanup_defined":true,"review_status":"not_individually_reviewed","source_url":"https://github.com/redcanaryco/atomic-red-team/blob/388942adbd9641f4dfdcf079d7efe9a75ec0ac43/atomics/T1218.004/T1218.004.yaml","description":"Executes the InstallHelper class constructor runner instead of executing InstallUtil. Upon execution, no output will be displayed if the test\nexecuted successfuly.\n","inputs":{"test_harness":{"description":"location of the test harness script - Invoke-BuildAndInvokeInstallUtilAssembly","type":"path","default":"PathToAtomicsFolder\\T1218.004\\src\\InstallUtilTestHarness.ps1"},"assembly_dir":{"description":"directory to drop the compiled installer assembly","type":"path","default":"$Env:TEMP\\"},"invocation_method":{"description":"the type of InstallUtil invocation variant - Executable, InstallHelper, or CheckIfInstallable","type":"string","default":"InstallHelper"},"assembly_filename":{"description":"filename of the compiled installer assembly","type":"string","default":"T1218.004.dll"}},"dependencies":[{"description":"InstallUtil test harness script must be installed at specified location (#{test_harness})\n"}],"source_definition_sha256":"bbffd836ea9a0378f89c1fc1db16f40dd2548bfac84bd101b4fb7a6f01e4c87e"},{"id":"ffd9c807-d402-47d2-879d-f915cf2a3a94","name":"CheckIfInstallable method call","platforms":["windows"],"method":"automated","executor":"powershell","elevation_required":false,"dependency_count":1,"cleanup_defined":true,"review_status":"not_individually_reviewed","source_url":"https://github.com/redcanaryco/atomic-red-team/blob/388942adbd9641f4dfdcf079d7efe9a75ec0ac43/atomics/T1218.004/T1218.004.yaml","description":"Executes the CheckIfInstallable class constructor runner instead of executing InstallUtil. Upon execution, the InstallUtil test harness will be executed.\nIf no output is displayed the test executed successfuly.\n","inputs":{"test_harness":{"description":"location of the test harness script - Invoke-BuildAndInvokeInstallUtilAssembly","type":"path","default":"PathToAtomicsFolder\\T1218.004\\src\\InstallUtilTestHarness.ps1"},"assembly_dir":{"description":"directory to drop the compiled installer assembly","type":"path","default":"$Env:TEMP\\"},"invocation_method":{"description":"the type of InstallUtil invocation variant - Executable, InstallHelper, or CheckIfInstallable","type":"string","default":"CheckIfInstallable"},"assembly_filename":{"description":"filename of the compiled installer assembly","type":"string","default":"T1218.004.dll"}},"dependencies":[{"description":"InstallUtil test harness script must be installed at specified location (#{test_harness})\n"}],"source_definition_sha256":"828fa631740460e537bfc901307a84d880968025bade9b3761d4acf42769f922"}],"simulation":{"atomic_status":"documented_candidate","lab_execution":"not_run","browser_attack_runner":false,"prerequisites":"Use disposable lab hosts and test accounts, explicit target allowlists, a clean snapshot, bounded egress and a restore plan. Review every candidate and dependency before any execution.","scenario":null},"validation":{"source_identity":"checked_against_pinned_source","relationship_join":"exact_ids_no_inheritance","page_contract":"automated_checks_required","sensor_capture":"not_run","detection_backend":"not_run","adversary_simulation":"not_run","independent_incident_fact_check":"not_performed"},"technique_links":{"T1218.004":"/ttp-simulation/techniques/enterprise/T1218.004/"},"synthetic":{"schema":"1200km.ttp.collection-fixture.v1","synthetic":true,"technique_key":"enterprise/T1218.004","purpose":"Collection/parser contract exercise, NOT a positive example or detection of this TTP.","events":[{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0064","collector":"illustrative-lab-collector","observation":{"interpreter":"/bin/sh","command_line":"printf LAB_TELEMETRY_CHECK","actor_uid":1000,"session_id":"lab-session-1"}},{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0039","collector":"illustrative-lab-collector","observation":{"process_id":4200,"path":"C:\\Lab\\demo.txt","action":"create","size_bytes":64}},{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0016","collector":"illustrative-lab-collector","observation":{"process_id":4200,"image_loaded":"C:\\Lab\\demo.dll","signed":false,"action":"load"}},{"schema":"1200km.telemetry.example.v1","synthetic":true,"timestamp":"2026-09-27T12:00:00Z","telemetry_id":"DC0032","collector":"illustrative-lab-collector","observation":{"process_guid":"lab-process-001","image":"C:\\Windows\\System32\\whoami.exe","parent_image":"C:\\Windows\\System32\\cmd.exe","command_line":"whoami","user":"LAB\\analyst"}}]}}
