Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Malware
Cyber Security

Malware

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

Malware is software intentionally designed to compromise confidentiality, integrity, or availability. It may steal data, encrypt systems, disrupt operations, or create persistence for later abuse, often by blending into normal user or system activity.

What Malware Is and Why It Matters

Malware is not just “bad software”, it is code built to violate trust boundaries. Once executed, it can steal data, alter outputs, disable controls, or create a foothold for later abuse, which is why defenders treat it as both an initial compromise mechanism and a persistence mechanism.

Its danger comes from the fact that it often behaves like ordinary software until a trigger condition is met. That can make malware difficult to spot in logs, difficult to contain once it spreads, and expensive to remove if it has already modified systems, credentials, or recovery paths.

Common Malware Behaviours and Forms

Malware is an umbrella term that includes viruses, worms, trojans, loaders, ransomware, spyware, keyloggers, rootkits, wipers, and backdoors. These forms differ in delivery and effect, but they share a common purpose: gaining unauthorised execution or influence on a target system.

Some malware is designed for immediate disruption, such as encrypting files or deleting data. Other malware is designed to stay hidden, harvest information, or wait for a later command. Modern campaigns often combine several stages, for example a loader that installs a payload, then a second-stage tool that steals secrets or enables remote control.

How Malware Spreads and Persists

Malware usually relies on some combination of social engineering, vulnerable software, malicious downloads, or trusted update and package channels. It can arrive through email attachments, drive-by downloads, compromised websites, infected installer packages, or supply-chain abuse. The initial delivery method is often less important than the trust relationship it exploits.

Persistence is what turns a one-time infection into an ongoing security problem. Malware may add startup entries, modify scheduled tasks, abuse legitimate services, hide inside scripts, or blend into administrative activity so that it survives reboot, cleanup attempts, or routine monitoring. For an example of how infection can turn into secret theft and broader platform exposure, see CircleCI breach 2023.

Detection, Containment, and Recovery from Malware

Defence depends on layered detection because no single signal is reliable. Endpoint telemetry, behavioural alerts, anomaly detection, file reputation, process lineage, and network indicators all help, but defenders also need context about what the malware was trying to do, whether it touched credentials or secrets, and whether it established persistence before discovery.

Containment and recovery should focus on both the infected host and the surrounding trust environment. That means isolating affected endpoints, removing malicious artefacts, validating that persistence is gone, and reviewing adjacent systems that may have been reached through stolen credentials or lateral movement. When malware is used in a supply-chain style campaign, defenders should also review package provenance and build or deployment pipelines; the Malware Guide is a useful starting point for understanding families, evasion, and sandbox analysis.

Risk and Threat Considerations

Malware is dangerous because it turns ordinary execution into an attacker-controlled trust violation. The most serious risk is often not the first visible symptom, but the hidden aftermath: stolen secrets, disabled monitoring, lateral movement, or a silently maintained foothold that survives the original clean-up.

Failure mechanism: Malware succeeds when it abuses execution rights, disguises itself as legitimate activity, or leverages trusted channels, then uses that access to steal data, persist, or expand control. In software delivery or identity-heavy environments, the impact can spread well beyond the initial endpoint.

Impact: Organisations may face data theft, operational disruption, service degradation, credential compromise, supply-chain contamination, or full-system recovery work if the malware encrypts, sabotages, or exfiltrates sensitive material. A broader control baseline such as CIS Controls v8 helps anchor defence around asset visibility, malware protection, and recovery discipline.

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 CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-10 — Malware DefensesDefines malware defence as a core operational safeguard against malicious code
Recommendation — Deploy malware defenses across endpoints and servers, then tune them with telemetry and response workflows.
NIST SP 800-53 Rev 5SI-3 — Malicious Code ProtectionDirectly governs detection and prevention of malicious code execution
Recommendation — Implement malicious code protection and keep it current across relevant platforms.
MITRE ATT&CKT1204 — User ExecutionMalware commonly relies on user action to gain execution on a target system
T1055 — Process InjectionMalware often hides or persists by injecting into legitimate processes
T1053 — Scheduled Task/JobPersistence via scheduled tasks is a common malware mechanism
Recommendation — Hunt for user-execution paths and harden delivery vectors that trigger payload execution. Detect process injection patterns and investigate anomalous parent-child process behaviour. Review scheduled task and job creation for unauthorized persistence artefacts.

Practitioner Guidance

Why practitioners should care: Malware response is rarely just a removal task. If the payload touched sessions, tokens, passwords, API keys, or administrative tools, the incident becomes an identity and trust problem as well as an endpoint problem.

What to watch for: Treat repeated process spawning, unusual persistence mechanisms, unexpected outbound connections, and changes to security tooling as signs that the malware may still be active. After containment, verify whether any adjacent credentials, sessions, or recovery channels need to be rotated or rebuilt.

Practitioner takeaway: The safest assumption is that malware should be handled as a compromise of both code execution and environment trust, not as a single malicious file that can be deleted in isolation.

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 5, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org