Using Tools to Investigate Malicious Activity
Unlock the complete study guide.
Bundled into the existing CompTIA CySA+ premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- Choosing a tool by the evidence it produces
- Packet capture and protocol analysis
- Network metadata from Zeek
- IDS alerts from Snort and Suricata
- What encryption hides from network tools
- Log analysis with a SIEM
- Endpoint security tools
- User and entity behavior analytics
- Static file triage
- Sandboxing
- Matching files against known detections
- External context lookups: reputation, WHOIS and GEO-IP
- Threat-intelligence platforms
- Email analysis
- Submitting artifacts to external services
- Decoding and parsing
- Regular expressions
- Reading structured file formats
- Interpreting scripts and suspicious commands
- Exam patterns: matching the scenario to the tool
Investigation tools by evidence family: what each records, when to reach for it, and what it cannot show
| Evidence family | Tools | What it records | Reach for it when | What it cannot show |
|---|---|---|---|---|
| Network traffic | tcpdump, Wireshark, Zeek, Snort, Suricata | Packet captures, network metadata, IDS alerts | The question is what crossed the network, and between whom | Encrypted payloads without decryption, or traffic outside the sensor's view |
| Host and log | SIEM, EDR, XDR, MDM, UEBA | Correlated events, host process telemetry, device management records, behavior anomalies | The question is who or what acted on a system, across one or many systems | Sources that are not collected or integrated; intent behind an anomaly |
| File | Strings, YARA, VirusTotal, Joe Sandbox, Cuckoo Sandbox | File structure and strings, rule matches, scanner verdicts, sandbox behavior | The question is what a suspicious file is or does | Behavior the sandbox never triggered; proof that a match means identical files |
| External context | WHOIS, GEO-IP, OTX, MISP, OpenCTI | Reputation, registration records, location estimates, shared intelligence | The question is what outsiders know about an address, domain, file or sender | What happened inside your environment, for externally sourced records |
| Artifact reading | CyberChef, regular expressions, JSON, XML, YAML, EVTX, Python, PowerShell, shell script | Decoded values, pattern matches, structured fields, script data flow | The evidence is an encoded string, a structured file or a supplied script | Whether an extracted value is valid or malicious without further checks |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
References
- https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-124r2.pdf
- https://pages.nist.gov/zero-trust-architecture/VolumeA/ProjectOverview.html
- https://attack.mitre.org/techniques/T1027/
- https://attack.mitre.org/techniques/T1059/
- https://attack.mitre.org/datacomponents/DC0085/
- https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-86.pdf
- https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-94.pdf
- https://www.ncsc.gov.uk/files/CIR-Standard-Level-2-v1-5-April-2023.pdf
- https://attack.mitre.org/datacomponents/DC0011/
- https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-83r1.pdf
- https://attack.mitre.org/techniques/T1497/001/
- https://www.cisa.gov/resources-tools/services/virustotal
- https://www.rfc-editor.org/rfc/rfc7485
- https://www.rfc-editor.org/rfc/rfc8805
- https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-150.pdf
- https://www.first.org/global/sigs/information-sharing/misp
- https://www.enisa.europa.eu/sites/default/files/publications/ETL2020%20-%20CTI%20Overview%20A4.pdf
- https://www.rfc-editor.org/rfc/rfc9989
- https://www.rfc-editor.org/rfc/rfc5321
- https://cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.html
- https://kubernetes.io/blog/2026/08/11/how-to-pretty-print-kubernetes-yaml-as-kyaml/
- https://www.rfc-editor.org/rfc/rfc3470
- https://www.sans.org/blog/fileless-malware-get-clipboard
- https://attack.mitre.org/techniques/T1105/