Malware analysis

Malware analysis is the study or process of determining the functionality, origin and potential impact of a given malware sample, such as a virus, worm, Trojan horse, rootkit or backdoor. Malware, or malicious software, is any computer software intended to harm the host operating system or to steal sensitive data from users, organizations or companies. Malware may include software that gathers user information without permission. It supports incident response by helping investigators identify infections, assess their consequences and plan containment and recovery.

Two principal approaches are static analysis, which examines a program without executing it, and dynamic analysis, which observes it during execution. These approaches provide different kinds of evidence and have different limitations.

Analysis may also include memory forensics and manual reverse engineering. Findings can describe a sample's capabilities, its dependencies and the evidence used to identify it, together with indicators and detection rules that support further investigation.

Applications

During an incident, malware analysis helps establish how malicious software affects a host, how it spreads and which other systems may be compromised. Understanding these characteristics informs decisions about incident severity, containment, eradication and recovery. Direct examination can be particularly important for customised malware for which existing descriptions or detection signatures are unavailable.

Analysis also contributes to the development of indicators of compromise (IoCs). These can include file hashes, domain names, IP addresses and other artefacts associated with malicious activity. Defenders use such information to search for related activity, identify previously unnoticed attacks and deploy detection or blocking controls.

Use cases

There are three typical use cases that drive the need for malware analysis:

Methods

The method by which malware analysis is performed typically falls under one of two types:

Static analysis

Dynamic analysis

Memory analysis

Combined analysis

Stages

Examining malicious software involves several stages, including, but not limited to the following:

Standardized evaluation of sandbox-based analysis products has also emerged. In 2025, the Anti-Malware Testing Standards Organization (AMTSO) introduced the first Sandbox Evaluation Framework, aimed at providing consistent, use-case-driven testing criteria for sandbox malware analysis tools.

Artificial Intelligence vs. Humans

The use of artificial intelligence (AI) in malware detection has been an active area of research within the field of cybersecurity. One study compared the behavior of AI against human behavior to understand the similarities and differences in how these two parties performed. The results included:

Antivirus softwares have used these studies to come to a conclusion that a combination of both practices would be most ideal. Since AI can use static analysis at a much faster rate than humans in malware detection, the antivirus software will send the samples to the AI for an initial screening. If the sample is more complex and the AI cannot make a definitive conclusion, then the sample will be sent to a human to observe the sample in more detail. In this way, more samples can be correctly identified as malware or benign. In practical threat-detection systems, machine-learning models may also operate alongside rule-based systems, threat-intelligence feeds, and human review rather than functioning as a standalone detection method.

See also

References

  1. ↑ "Malware Definition". Archived from the original on 2016-06-10. Retrieved 2016-05-30.
  2. ↑ Souppaya, Murugiah; Scarfone, Karen (July 2013). Guide to Malware Incident Prevention and Handling for Desktops and Laptops (PDF) (Report). NIST Special Publication. National Institute of Standards and Technology. doi:10.6028/NIST.SP.800-83r1.
  3. ↑ Egele, Manuel; Scholte, Theodoor; Kirda, Engin; Kruegel, Christopher (2012). "A survey on automated dynamic malware-analysis techniques and tools" (PDF). ACM Computing Surveys. 44 (2): 6:1-6:42. doi:10.1145/2089125.2089126.
  4. ↑ Zeltser, Lenny. "A Report Template for Malware Analysis". Retrieved 18 September 2026.
  5. ↑ Souppaya, Murugiah; Scarfone, Karen (July 2013). Guide to Malware Incident Prevention and Handling for Desktops and Laptops (PDF) (Report). NIST Special Publication. National Institute of Standards and Technology. doi:10.6028/NIST.SP.800-83r1.
  6. ↑ Paine, K.; Whitehouse, O.; Sellwood, J.; Shaw, A. (August 2023). Indicators of Compromise (IoCs) and Their Role in Attack Defence (Report). Request for Comments. Internet Engineering Task Force. doi:10.17487/RFC9424.
  7. ↑ Honig, Andrew; Sikorski, Michael (February 2012). Practical Malware Analysis. No Starch Press. ISBN 9781593272906. Retrieved 5 July 2016.
  8. ↑ Keragala, Dilshan (January 2016). "Detecting Malware and Sandbox Evasion Techniques". SANS Institute.
  9. ↑ Salfati, Eran; Pease, Michael (June 2022). "Digital Forensics and Incident Response (DFIR) Framework for Operational Technology (OT)" (PDF). NIST.
  10. ↑ Case, Andrew (2 August 2016). "Automating Detection of Known Malware through Memory Forensics". The Volatility Foundation. Retrieved 18 September 2026.
  11. ↑ Zeltser, Lenny (27 May 2022). "Mastering 4 Stages of Malware Analysis". Retrieved 18 September 2026.
  12. ↑ "AMTSO Releases Sandbox Evaluation Framework". SecurityWeek. March 26, 2025. Retrieved 1 September 2025.
  13. ↑ Arielle Waldman (March 26, 2025). "New Testing Framework Helps Evaluate Sandboxes". Dark Reading. Retrieved 1 September 2025.
  14. ↑ "Rethinking sandbox testing with a modern framework". Okoone. April 7, 2025. Retrieved 1 September 2025.
  15. ↑ Aonzo, Simone; Han, Yufei; Mantovani, Alessandro; Balzarotti, Davide (August 9, 2023). Humans vs. Machines in Malware Classification (PDF). Proceedings of the 32nd USENIX Security Symposium (USENIX Security '23). Anaheim, CA: USENIX Association. Retrieved 17 November 2025.
  16. ↑ Virbickas, Domininkas (May 27, 2026). "File scanning isn't enough anymore: How NordVPN defines "next-gen antivirus"". NordVPN. Retrieved August 19, 2026.