CISSP Domain 7: Malware Analysis & Endpoint Defense — Mindmap Review Study Guide
mindmap
root((Malware))
Malware Definition
Intentionally malicious software
Types of Malware
Virus
Worm
Companion
Macro
VBA and Microsoft Excel
Multipartite
Stuxnet
USB vulnerability
Local area network
Polymorphic
Trojan
Botnets
Distributed Denial of Service
Crypto currency mining
Boot Sector
Master Boot Record and MBR
Hoaxes and Pranks
Logic Bombs
HR database
Stealth
Host-based IDS
Ransomware
Bitcoin
Rootkit
Kernel mode rootkits
Spyware and Adware
Data Diddler
Salami Attack
Zero Day
Anti-Malware Policy and Training
Policy
Training and Awareness
Malware Prevention
Allow Lists
White Lists
Network Segmentation
Malware Detection
Signature Based Scanners
Heuristic Scanners
Static heuristic analysis
Dynamic heuristics
Sandbox environment
Activity Monitors
Change Detection
Continuous Updates
Defense in Depth
Segments DMZs and Zones
Malware Definition
Malware — Any software that is intentionally written to do something malicious or harmful to a system, network, device, etc. It is the encompassing term for all different types of malicious software, and it is not uncommon for a single piece of malware to exhibit one or more of the characteristics of the specific types defined below.
Types of Malware
Virus — A piece of malware that must be triggered by the user to execute.
Worm — Self-propagating malware that spreads extremely rapidly by repeating a specific cycle:
- Discovers a vulnerable system.
- Exploits the vulnerability.
- Infects the system.
- Begins the process again to discover new vulnerable systems.
Companion — Malware that does not modify an existing file; rather, it creates a new file with a similar name to a commonly executed file and relies on the user accidentally executing this new malicious file.
Macro — Malicious code written in a macro language (like VBA for Microsoft Excel) that runs within an application. This is why there are dire warnings about opening macro-enabled spreadsheets from emails.
Multipartite — Malware that spreads in multiple different ways.
- Stuxnet: A specific example of multipartite malware that first infected via a USB stick using a USB vulnerability, and then spread over the local area network using a network-based vulnerability.
Polymorphic — Malware that can change or morph characteristics about itself to evade detection, primarily by signature-based anti-malware scanners.
Trojan — Malware that misleads users of its true intent by disguising itself as legitimate software the user would want, but actually contains malicious code.
Botnets — Multiple systems that have been infected, allowing the systems to be remotely commanded and controlled. When harnessed together, botnets of hundreds, thousands, or millions of machines can send vast amounts of spam, perform Distributed Denial of Service (DDoS) attacks, or mine for crypto currency.
- ⚠️ EXAM TIP: A botnet is not a piece of malicious software itself; it is the network of infected systems.
Boot Sector — A type of malware that copies itself into the boot sector or master boot record (MBR) of a hard drive. It runs when the system is booted or started, long before any anti-malware software or other security measures are running, making it difficult to detect and remove.
Hoaxes and Pranks — Forms of social engineering, not code.
| Type | Purpose |
|---|---|
| Hoaxes | Meant to be harmful. |
| Pranks | Just for fun. |
Logic Bombs — Malware that is triggered by a certain logic or condition being met, such as the time of day, the day of the year, or if an employee is still in the HR database.
Stealth — Malware specifically designed to actively disable the security tools on a system (for example: disabling the anti-malware software or the host-based IDS) so that it is not detected.
Ransomware — Malware designed to deny access to a system or files—usually by encrypting them—until a ransom is paid, typically via Bitcoin.
Rootkit — Malware that infects the operating system of a computer.
- Kernel mode rootkits: The most nefarious rootkits that compromise the system kernel and gain privileged access, making them exceedingly difficult to detect and remove.
Spyware and Adware — Two distinct types of tracking/nuisance malware.
| Type | Function |
|---|---|
| Spyware | Allows an attacker to gain information about a computer system (to spy on it). |
| Adware | Causes all sorts of pop-up advertisements. |
Data Diddler — Malware specifically designed to “diddle” with data, making small changes to data over a long period of time to evade detection.
- Salami Attack: A type of data diddler that specifically targets financial transactions, such as shaving fractions of a penny off of many transactions.
Zero Day — A vulnerability in a system that is at first unknown to the defenders (those that would patch or configure the system to protect it).
- ⚠️ EXAM TIP: Zero-days are particularly dangerous because they are flaws that are being exploited before anyone knows to detect and remediate the vulnerability.
Anti-Malware Policy and Training
Policy — A governing document that states the organization needs anti-malware systems, clearly defines responsibilities for users, and mandates training and awareness for them.
Training and Awareness — Because a virus must be triggered by a user, one form of anti-malware is making users aware of what malware is and training them not to open threats (like macro-enabled Excel files from strangers).
Malware Prevention
Allow Lists — A prevention method (historically referred to as White Lists) where a list of allowed programs is created; any software not on the list (like malware) is not allowed to be installed and executed. This is a very good way of locking down a system.
Network Segmentation — Separating a network into segments and controlling the flow of traffic between segments, potentially preventing the spread of malware like worms.
Malware Detection
Signature Based Scanners — The most commonly used type of malware scanner. Signatures define unique patterns for a piece of malware; vendors constantly discover new malware and write new signatures for customers to download. They are fast and efficient, but have a significant weakness: they can only detect what they have signatures for, meaning they cannot detect zero-day malware.
Heuristic Scanners — Scanners that do not use signatures, but rather evaluate a piece of software to try to determine if it is malicious. They are very susceptible to false positives, but have the advantage of potentially being able to identify zero-day malware.
| Feature | Signature Based Scanners | Heuristic Scanners |
|---|---|---|
| Detection Method | Uses unique patterns (signatures) for known malware. | Evaluates software behavior/code without signatures. |
| Performance | Fast and efficient. | Susceptible to false positives. |
| Zero-Day Capability | Cannot detect zero-day malware. | Can potentially identify zero-day malware. |
Heuristic scanners evaluate software in two different ways:
| Analysis Type | Method |
|---|---|
| Static heuristic analysis | The static source code is analyzed. |
| Dynamic heuristics | The program is run in a sandbox environment and monitored to see if it does anything suspicious. |
Activity Monitors — Tools that look at running processes (running programs) on a system. They are very much a last line of defense in a defense-in-depth strategy, as the malware must have installed itself and be currently running to be detected.
Change Detection — A method of monitoring key system files (like configuration files) for changes. The system hashes the files to monitor, then re-hashes them periodically; if the hash values differ, a change has been made and there might be malware on the system.
Continuous Updates — Because most anti-malware solutions are signature-based, it is critically important to constantly and continuously update scanners with the latest signatures to detect the latest malware.
Defense in Depth
Defense in Depth — A comprehensive security strategy utilizing multiple layers of controls. When building true defense in depth against malware, properly designed network segments, DMZs, and internal zones can slow down or completely block the spread of worms and ransomware.