Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Cabinet Archive (CAB)
Cyber Security

Cabinet Archive (CAB)

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Cyber Security

Cabinet Archive is a compressed file format used to package one or more files into a single archive, usually with the .cab extension. It is used in Windows software distribution and system installation, where the archive stores files together with metadata for extraction and deployment.

What a CAB file is and why it exists

A Cabinet Archive is a Windows-friendly compressed archive format that groups files and related metadata into a single package, most commonly with the .cab extension. Its purpose is practical rather than exotic: it makes software distribution, driver delivery, and system installation easier to transport, verify, and unpack in a controlled sequence.

Because CAB is an archive format, the security question is usually not about the container alone, but about what gets placed inside it and how the archive is handled during extraction. A CAB file can carry benign installation assets, but it can also be used to bundle payloads that deserve inspection before deployment.

How CAB archives are used in software distribution

In Windows environments, CAB files are often part of installer logic, update workflows, or operating system components that need multiple files delivered together. The format helps preserve file relationships and metadata so that extraction behaves predictably across machines and installation steps.

That predictability is useful for operations teams, but it also means CAB archives can become trusted delivery vessels. If an organisation treats every archive as safe once it looks like a normal installer artifact, malicious or tampered content can slip through the same workflow as legitimate software.

For broader control patterns around software packaging, hardening, and delivery integrity, practitioners often align archive handling with SLSA and with baseline system hardening guidance such as CIS Benchmarks.

Security implications of CAB packaging

The main security concern is that a CAB archive can obscure what is actually being introduced into a system until extraction or installation occurs. That matters because archived content may include executables, scripts, configuration files, or other components that only become visible at deployment time.

Archive handling also creates an inspection gap. Security tools may see a single compressed object rather than the full set of files inside it, which can reduce visibility in email filtering, endpoint scanning, malware analysis, and software intake checks. The format itself is not inherently malicious, but it can be abused as a delivery wrapper.

Where archives are used in trusted delivery pipelines, organisations should treat them as part of the software supply chain and validate provenance, contents, and extraction behaviour before allowing execution or installation. Related source material on software artifact integrity is covered by SLSA.

Extraction, integrity, and operational handling

Operationally, CAB files need controlled extraction paths, file validation, and attention to what happens after unpacking. A malicious archive can try to place files in unintended locations, overwrite expected assets, or deliver content that behaves differently once it is expanded onto disk.

The archive should therefore be treated as an input boundary, not a harmless transport shell. Good handling separates receipt from trust, and trust from execution, so that a file being packaged for Windows distribution does not automatically inherit approval for installation.

For teams that manage Windows delivery at scale, configuration baselines and asset-hardening standards are important companions to archive handling, including CIS Benchmarks and the general governance, protect, detect, and recover lifecycle described in NIST Cybersecurity Framework 2.0.

When CAB files deserve closer review

CAB archives merit extra scrutiny when they arrive from untrusted sources, accompany an unexpected installer, or appear in a workflow where compressed content is not normally expected. They also deserve attention when their contents are not clearly documented, when extraction produces files outside the intended directory, or when security tooling cannot inspect the archive cleanly.

In practice, the safest reading of CAB is simple: it is a packaging mechanism, not a trust signal. If the archive is part of legitimate Windows deployment, its contents should still be checked, its origin should be known, and its extracted output should be handled as potentially executable software until verified.

For detection and response around suspicious packaged content, MITRE ATT&CK Enterprise Matrix is useful for mapping what happens after a malicious archive is opened or deployed.

Standards & Framework Alignment

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

MITRE ATT&CK addresses the attack and risk surface, while SLSA, CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
SLSASupply-chain Levels for Software ArtifactsCAB archives can carry software artifacts that need provenance and integrity checks.
Recommendation — Verify CAB-delivered software provenance before extraction or deployment.
CIS Controls v8CIS-4 — Secure Configuration of Enterprise Assets and SoftwareCAB handling is part of controlled software deployment and hardening workflows.
Recommendation — Harden software intake and extraction paths before allowing CAB-based installs.
NIST CSF 2.0PR.DS-10 — Integrity is verified for software, data, and firmwareCAB packages should be validated so extracted content has trusted integrity.
Recommendation — Verify the integrity of CAB contents before installation or execution.
MITRE ATT&CKT1027 — Obfuscated Files or InformationCompressed archives can conceal payloads until extraction or execution time.
Recommendation — Inspect archive contents and hunt for payloads concealed in compressed files.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org