Subscribe to the Non-Human & AI Identity Journal

Install-Time Loader

An install-time loader is code that runs during package installation rather than waiting for a later user action. It often stages a second payload, gathers environment details, or modifies the host so the compromise persists after the package itself is removed.

Expanded Definition

An install-time loader is a malicious or dual-use component that executes during software installation, before normal application use begins. In cybersecurity reporting, the term is usually associated with malware that leverages trusted installation workflows to unpack a second-stage payload, collect host details, or alter startup and persistence mechanisms. That makes it different from a typical downloader, which relies on later execution, and from a plain installer script that performs legitimate setup tasks. Usage in the industry is still evolving, so definitions vary across vendors when loaders are embedded in packages, scripts, or dependency chains.

For security teams, the key issue is execution timing and trust. Installation often occurs with elevated rights, broad filesystem access, and user expectation that the package is safe. That combination makes install-time abuse especially effective for bypassing endpoint controls that focus on runtime behaviour only. The most authoritative way to frame the risk is through control objectives such as those in NIST Cybersecurity Framework 2.0, especially software supply chain and protective control outcomes. The most common misapplication is calling any installer-based script an install-time loader, which occurs when benign setup automation is confused with code that stages payloads or persistence during package installation.

Examples and Use Cases

Implementing detections for install-time loaders rigorously often introduces additional inspection and sandboxing overhead, requiring organisations to weigh installation speed against confidence in package integrity.

  • A trojanised package runs a script during installation that fetches an encrypted second stage from a remote server and executes it in memory.
  • An installer drops a service or scheduled task so the payload survives even if the visible application is later removed.
  • A compromised dependency executes pre-install hooks to profile the host, identify security tools, and adapt the next payload accordingly.
  • A malicious update path embeds loader logic in a setup routine, letting the package appear legitimate while the real behaviour happens during deployment.
  • Security teams may test these patterns using behavioural guidance from MITRE ATT&CK and package hardening advice from OWASP when evaluating installer trust boundaries.

Why It Matters for Security Teams

Install-time loaders matter because they exploit a blind spot between software delivery and runtime defence. If teams treat installation as a trusted administrative step, they may miss the exact moment malicious code gains execution, persistence, or environment awareness. That gap is especially important in software supply chain risk, where signed packages, build scripts, and automated deployment pipelines can all become delivery points. Security teams need to validate package provenance, restrict installer privileges, inspect pre-install and post-install behaviours, and monitor for unexpected child processes or outbound connections during setup. The issue also intersects with identity and access governance when installers run under privileged service accounts or deployment identities, because those accounts can turn a single compromised package into broad host or tenant impact. Guidance from NIST SP 800-53 is useful where organisations need concrete control mapping for software integrity and execution monitoring, while CISA advisories can help prioritise exposed software paths. Organisations typically encounter the consequences only after an approved installation silently seeds persistence, at which point install-time loader analysis becomes operationally unavoidable to contain the breach.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.DS Install-time loaders undermine software integrity and trusted delivery assumptions.
NIST SP 800-53 Rev 5 SI-7 Integrity checks and software verification help detect malicious installer behaviour.
OWASP Non-Human Identity Top 10 Installer abuse can seed persistent secrets or identities into environments.
NIST SP 800-63 Identity assurance is relevant when installers run under privileged human or service accounts.

Limit privileged installation identities and review their authentication strength and use.