Threat Hunting and Tactical Malware Analysis: Practical Windows Checks

Summary
A high-level guide to structured threat hunting and Windows malware triage, with steps for reviewing processes, network connections and common persistence locations. It warns that triage can alter or destroy forensic evidence.
Key points
- Structured hunting starts with a well-scoped, evidence-backed hypothesis; unstructured hunts can waste time pursuing preliminary ideas.
- The guide recommends checking processes with tasklist, looking for unusual resource use or processes masquerading as legitimate ones.
- Use netstat -anob to review network connections, listening ports and the processes associated with them.
- Check Services, Scheduled Tasks and selected Registry locations for possible persistence, matching entries against suspicious processes and connections.
- The article cautions that interacting with malware during an active incident can alter volatile evidence; preserve forensic data before triage.
Article Details
- Defense Focus
- Proactive threat hunting and tactical malware triage using system process, network-connection, and persistence evidence.
- Detection Methods
- Use structured, hypothesis-driven hunts informed by threat intelligence, internal security data, and adversary TTPs.
- Review processes for unusual resource consumption, unexpected network activity, masquerading names, and unusual file locations.
- Correlate network connections and listening ports with the associated PID and executable; investigate unexpected connections or suspicious ports.
- Check Services, Scheduled Tasks, and the specified Registry locations for persistence, correlating entries with suspicious process and network findings.
- Data Sources
- Process lists, including memory use, executable names, and file locations
- Network connections, listening ports, IP addresses, PIDs, and associated executables
- Windows Services
- Scheduled Tasks
- Windows Registry
- External and internal threat intelligence, security-tool alerts, logs, and aggregated adversary TTPs
- Platforms
- Windows
- Defensive Actions
- Preserve volatile forensic artifacts and conduct a comprehensive forensic investigation before triage; avoid interacting with malware or restarting or shutting down systems before volatile data is preserved.
- Use tasklist to inspect processes and netstat -anob to review connections and associate them with processes.
- Investigate suspicious process names, locations, resource use, network activity, and listening ports; correlate findings across process and connection lists.
- Inspect Services, Scheduled Tasks, and the Registry paths identified in the article for possible persistence; use caution and do not modify Registry entries unless their effect is understood.
People
Vendors
Products
Tools
netstatchecked out the process list (keep that info handy), you want to bring up network connections using the netstat command line tool and the -anob options. This will show you all connections, associated IP addresses, andRegistry Editortools, it may be easiest to check all three possible persistence locations in the Registry using the Registry Editor application. The keys to search for are:sc queryServices (sc query): https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sc-queryschtasksScheduled tasks (schtasks): https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtaskstasklistA good place to start is with the process list using the tasklist command line tool. Looking at a process list may seem a bit daunting at first, but after you learn what should be there, it makes it a lot easier to see