SOC and blue team
Malware Analysis for Beginners: Static and Dynamic Basics

When an incident involves a suspicious file, someone has to work out what it does: what it changes, who it talks to and how to detect it elsewhere. That is malware analysis. At entry level it is less about reverse engineering and more about safe, methodical observation.
Safety First
- Analyze only in an isolated virtual machine, never on your normal computer or a work network
- Snapshot the machine before you start and roll back afterward
- Disable shared folders and clipboard sharing with the host
- Store samples in password-protected archives, as analysts conventionally do
- Follow your organization's rules on where samples may be uploaded
Static Analysis: Look Without Running
- Hashes: calculate MD5 and SHA-256 and check them against reputation services; a known hash can answer the question in minutes
- File type: confirm what the file really is, not what its extension claims
- Strings: readable text inside the file can reveal URLs, IP addresses, file paths, commands and error messages
- Structure: for Windows executables, the imported functions hint at behavior (networking, encryption, process injection); packed files show few readable strings
- Documents and scripts: Office macros, PowerShell and JavaScript can often be read directly once deobfuscated
Dynamic Analysis: Run It and Watch
Run the sample in the isolated machine, or in a sandbox service your team approves, and record what it does:
- Processes it starts, and their command lines
- Files it creates, changes or deletes
- Registry keys it adds, especially for persistence
- Network connections and DNS lookups it attempts
- Services or scheduled tasks it creates
Sysmon and a network capture in Wireshark make this much easier. Some malware detects analysis environments and behaves differently, so a quiet run does not prove a file is safe.
Indicators of Compromise (IOCs)
The output is a list of indicators others can use: hashes, domains, IP addresses, file paths, registry keys, mutex names. Hash and IP indicators are easy for attackers to change, so also describe the behavior, which makes better detections. Network indicators are easiest to capture with Wireshark. Mapping behavior to MITRE ATT&CK helps.
Where It Fits in Incident Response
Malware analysis feeds the containment and eradication steps: what to block, which machines to check, what persistence to remove. See incident response steps explained.
Learning Malware Analysis
In our SOC analyst, Splunk, Wazuh and DFIR course, malware analysis is taught inside the DFIR module: you examine suspicious files and extract indicators of compromise as part of an investigation. For deeper forensics, EC-Council's CHFI is a natural next step.
Want to see how a suspicious file is investigated? Book free trial classes. Contact us or call +91 86868 92922.
Where This Guide Fits in Our Training
- SOC Analyst Course in Hyderabad: alert triage, Splunk and Microsoft Sentinel work, and incident handling
- DFIR Training in Hyderabad: preserving evidence, disk and memory forensics, and writing the incident report
- Cyber Security Course with Practical Labs in Hyderabad: how the labs work and what you practise in each class
Courses Mentioned in This Guide
More Guides
Sysmon for Beginners: Install, Config and Event IDs
Install Sysmon on a Windows lab VM, apply a config, and read the key events for process creation, network connections and DNS, with PowerShell commands.
Read the guide →CyberChef for Beginners: Decode Data Like a SOC Analyst
How to use CyberChef, the free browser tool from GCHQ: decode Base64, hex and URL encoding, read encoded PowerShell, extract IPs and build recipes.
Read the guide →YARA Rules for Beginners: Examples and Cheat Sheet
YARA rules examples and cheat sheet: write a rule with strings and conditions, scan files and folders, tune false positives and hunt malware.
Read the guide →Incident Response Steps Explained: From Alert to Lessons Learned
The incident response lifecycle explained: preparation, detection and analysis, containment, eradication, recovery and lessons learned, plus DFIR evidence basics.
Read the guide →Start Your Cyber Security Career
Talk to a counselor, choose the right course for your goals, and get the fee, syllabus and next batch dates in writing.
- Call+91 86868 92922
Open 7 days: Mon to Fri 8:30 AM to 8:30 PM IST
Sat and Sun 10 AM to 6 PM IST - Emailinfo@hackingtrainer.com
- VisitGround Floor, G-3, Sri Venkatasai Nest, Kallu Compound Road, Nagarjuna Nagar Colony, Yella Reddy Guda, Ameerpet, Hyderabad – 500073
Open in Google Maps