Malicious software is any software or code written to harm, disrupt, spy on, or gain unauthorised control of a system. It includes viruses, worms, ransomware, trojans, spyware and similar payloads that exploit execution, persistence, privilege or network access.
What Malicious Software Is and How It Works
Malicious software is not a single product category, but a broad class of code built to perform harmful actions once it runs. The core idea is intent: the software is designed to damage systems, steal information, or establish control, often by abusing trust in execution, updates, documents, browsers, or installed applications.
That breadth matters because malware can arrive through many paths and can behave very differently after execution. Some payloads act immediately, while others wait, hide, or stage later activity, which is why defenders treat the term as an umbrella for multiple hostile behaviours rather than one fixed technique.
Common Malware Families and Their Behaviour
Different malware families describe different ways of achieving harm. Viruses typically attach to other files or programs, worms spread across networks, trojans disguise themselves as legitimate software, spyware focuses on covert collection, and ransomware disrupts access by encrypting data or denying use. Each family uses different mechanics, but all rely on execution and persistence in a target environment.
Modern malware often combines several behaviours in one payload. A single infection may steal credentials, open a remote-control channel, disable security tools, and then move laterally to additional systems. That combination is why defenders care as much about post-compromise behaviour as they do about the initial delivery method.
Why Malicious Software Is Dangerous
Malware is dangerous because it can convert a one-time execution event into ongoing compromise. Once code runs with user, service, or elevated privileges, it may read data, alter files, intercept activity, pivot to other hosts, or persist through reboots and software changes. The operational impact can range from silent espionage to service outage and extortion.
It is especially risky when it reaches high-trust systems such as admin workstations, software build environments, endpoint fleets, or remotely managed infrastructure. At that point, malware can abuse legitimate tools and access paths, which makes detection harder and raises the cost of recovery.
How Organisations Reduce Exposure and Respond
Reducing malware exposure starts with visibility into what is installed, what is exposed to the internet, and what software or update channels are trusted to execute code. Organisations also need to watch vendor advisories, because many infections begin with vulnerable or compromised software rather than a direct user action. The most relevant defensive control is often the trust boundary around execution, not just the malware sample itself. Software Supply Chain Security Guide
When malicious software is suspected or confirmed, response should focus on containment, eradication, and review of any systems the payload may have touched. That includes checking for persistence, remote-access tooling, suspicious scheduled tasks, altered binaries, and evidence that credentials, sessions, or signing material were accessed. Post-patch review matters because patching removes one path, but it does not prove the host was not already compromised.
For update-channel abuse in particular, defenders should compare observed activity with known adversary patterns and harden the software-update path itself, including verification and rollback expectations. Daggerfly Threat Actor Profile D3-SU Software Update
Malware in Security Operations and Governance
Malware is not only a technical endpoint problem, it is also a governance and assurance issue. Security teams need to define who owns alert triage, isolation decisions, rebuild criteria, and evidence collection, because a delayed or inconsistent response lets the infection spread or reappear. Detection quality also depends on whether logs, endpoint telemetry, and network signals are retained long enough to reconstruct the attack path.
The subject also intersects with software assurance, because malicious code can be introduced through development tools, third-party components, or update infrastructure before it ever reaches production users. That makes malware a lifecycle problem as much as a runtime one, especially in environments that distribute software broadly or rely on signed releases and automated deployment. SOC 2 CC6 Logical Access Guide
Risk and Threat Considerations
Malicious software matters because it can turn ordinary execution into theft, sabotage, or durable access. The main risk is not just infection, but what the malware can reach after it lands: credentials, sessions, data, backups, build systems, and trusted administration paths.
Failure mechanism: Malware succeeds when it gains a foothold through a trusted execution path, then uses that foothold to persist, evade detection, and expand access across the environment.
Impact: The result can be data theft, service disruption, extortion, lateral movement, compromised software integrity, and prolonged remediation effort.
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.
| Framework | Control / Reference | Relevance |
|---|---|---|
| CIS Controls v8 | CIS-10 — Malware Defenses | Malware defence is the direct control family for blocking and detecting malicious code. |
| Recommendation — Deploy malware defenses to block execution, scan content, and detect malicious code activity. | ||
| NIST SP 800-53 Rev 5 | SI-3 — Malicious Code Protection | This control directly governs detection and prevention of malicious code on systems. |
| SI-2 — Flaw Remediation | Malware often exploits unpatched flaws, so remediation is central to reducing exposure. | |
| AU-6 — Audit Record Review, Analysis, and Reporting | Malware investigation depends on reviewing logs to reconstruct infection and persistence. | |
| Recommendation — Implement SI-3 to detect, quarantine, and block malicious code before it executes. Use SI-2 to prioritize patching and remove exploitable conditions malware relies on. Review audit records to trace malware activity, persistence, and lateral movement. | ||
| MITRE ATT&CK | T1204 — User Execution | Malware commonly relies on a user or process executing a malicious file or link. |
| Recommendation — Map delivery events to T1204 and reduce reliance on user-triggered execution paths. | ||
Practitioner Guidance
What to watch for: Treat unexpected process spawning, unsigned or altered binaries, unusual network beacons, new persistence mechanisms, and unexplained privilege use as malware indicators worth immediate investigation. The key judgment is whether the behaviour matches a benign update, routine admin activity, or a hostile payload trying to blend in.
Practitioner takeaway: Malware defence is strongest when prevention, detection, and post-incident review are treated as one workflow, not separate teams.
Related resources from NHI Mgmt Group
- Why do malicious packages keep bypassing software supply chain controls?
- What do security teams get wrong about malicious software updates?
- Who is accountable when stolen software supply chain credentials are used to publish malicious code?
- How do security teams detect malicious software delivery when the code looks legitimate?
Deepen Your Knowledge
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.
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