MITRE ATT&CKsub-technique

T1546.016 Installer Packages

Published 2022-09-27 Modified 2026-05-12 Official page ↗
Domain
enterprise
Tactics
Privilege Escalation, Persistence
Platforms
Linux, macOS, Windows
Version
1.2
Created
2022-09-27

Description

Adversaries may establish persistence and elevate privileges by using an installer to trigger the execution of malicious content. Installer packages are OS specific and contain the resources an operating system needs to install applications on a system. Installer packages can include scripts that run prior to installation as well as after installation is complete. Installer scripts may inherit elevated permissions when executed. Developers often use these scripts to prepare the environment for installation, check requirements, download dependencies, and remove files after installation. Using legitimate applications, adversaries have distributed applications with modified installer scripts to execute malicious content. When a user installs the application, they may be required to grant administrative permissions to allow the installation. At the end of the installation process of the legitimate application, content such as macOS `postinstall` scripts can be executed with the inherited elevated permissions. Adversaries can use these scripts to execute a malicious executable or install other malicious components (such as a Launch Daemon) with the elevated permissions. Depending on the distribution, Linux versions of package installer scripts are sometimes called maintainer scripts or post installation scripts. These scripts can include `preinst`, `postinst`, `prerm`, `postrm` scripts and run as root when executed. For Windows, the Microsoft Installer services uses `.msi` files to manage the installing, updating, and uninstalling of applications. These installation routines may also include instructions to perform additional actions that may be abused by adversaries.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1546 Event Triggered Execution technique

Tactic · MITRE ATT&CK (2)

  • TA0003 Persistence tactic
  • TA0004 Privilege Escalation tactic

Referenced by MITRE ATT&CK · uses (6)

  • G1056 TeamPCP group
  • S9041 TeamPCP Cloud Stealer software (malware)
  • S9008 Shai-Hulud software (malware)
  • C0057 3CX Supply Chain Attack campaign
  • S0584 AppleJeus software (malware)
  • G0082 APT38 group

Referenced by CAPEC · att&ck technique (1)

  • CAPEC-19 Embedding Scripts within Scripts attack pattern

Referenced by Compliance · mitigates (7)

  • NIST-AC-6 Least Privilege NIST 800-53 control
  • NIST-CA-7 Continuous Monitoring NIST 800-53 control
  • NIST-CM-5 Access Restrictions for Change NIST 800-53 control
  • NIST-CM-6 Configuration Settings NIST 800-53 control
  • NIST-SI-2 Flaw Remediation NIST 800-53 control
  • NIST-SI-3 Malicious Code Protection NIST 800-53 control
  • NIST-SI-4 System Monitoring NIST 800-53 control

References