Procedures and Methodology · Topic 9 of 11
Windows Analysis, Timelines and Event Correlation
Analyze Windows memory, registry and artifacts, use Autopsy and The Sleuth Kit, build file system timelines, and correlate events with kill chain analysis.
- 6 min
- psscan finds processes that pslist misses.
- USBSTOR, UserAssist, Prefetch and Amcache are key execution and device artifacts.
- MACB means modified, accessed, changed and born.
What it is
Once a Windows image and memory capture are ready, the investigator reads them for artifacts: traces left by the operating system and applications. Findings from many sources are then placed on a timeline and correlated into one story.
The exam asks where an artifact lives, which tool or plugin reads it, and how timelines and correlation are built.
How it works
Windows memory analysis
A memory image shows what was running: processes, network connections, loaded modules, injected code and sometimes keys. Volatility is the main framework. Common Volatility 3 plugins:
| Plugin | Use |
|---|---|
windows.pslist | Processes from the active process list |
windows.psscan | Scans memory for process structures, can reveal hidden or ended processes |
windows.cmdline | Command line of each process |
windows.dlllist | Loaded DLLs per process |
windows.netscan | Network connections and listening ports |
windows.malfind | Memory regions that suggest injected code |
A process seen in psscan but not in pslist suggests hiding or a process that has exited. Check parent and child relationships for oddities.
Registry analysis
The registry is a set of hive files. System hives are in C:\Windows\System32\config (SYSTEM, SOFTWARE, SAM, SECURITY), and each user has NTUSER.DAT in the profile folder.
| Key or hive | Evidence |
|---|---|
HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR | USB storage devices that were connected |
NTUSER.DAT UserAssist | Programs run by the user, with run counts |
Run and RunOnce keys | Programs set to start automatically |
| SAM | Local accounts |
| ShellBags (NTUSER.DAT and UsrClass.dat) | Folders the user browsed |
Each key has a last written time. Use a registry viewer, and always open copies of hive files.
Additional Windows artifacts
| Artifact | Location or source | Shows |
|---|---|---|
| Prefetch | C:\Windows\Prefetch\*.pf | Program execution, run count, times |
| LNK files and Jump Lists | User Recent folders | Files and folders opened |
| Recycle Bin | $Recycle.Bin, with $I metadata and $R content files | Deleted files and original path |
| Event logs | winevt\Logs\*.evtx | Logons, services, process creation |
| Amcache.hve | C:\Windows\appcompat\Programs | Executables present on the system, some of which ran. Presence alone does not prove execution. |
| Thumbnail cache | User profile | Images that existed, even if deleted |
| Browser history | Browser profile databases | Sites and downloads |
Prefetch is often disabled on servers and can be turned off by settings, so its absence needs explanation.
File system analysis with Autopsy and TSK
The Sleuth Kit (TSK) is a set of command line tools, and Autopsy is its graphical front end.
| TSK tool | Use |
|---|---|
mmls | Partition layout |
fsstat | File system details |
fls | List files, including deleted ones |
icat | Output a file by its metadata address |
istat | Show metadata for one entry |
mactime | Turn a body file into a timeline |
Autopsy adds ingest modules for keyword search, hash lookup, web artifacts, recent activity and timeline views, and builds a case database.
File system timeline creation and analysis
A timeline orders file system times. NTFS stores modified, accessed, changed (MFT entry) and born (created) values, summarized as MACB. Build one with TSK:
fls -r -m C: -o 2048 image.dd > body.txt
mactime -b body.txt -d > timeline.csv
fls -m writes the body file and mactime converts it. Super timelines from tools such as Plaso combine file times, logs and registry. Look for clusters of activity around the incident time, file creation shortly before execution, and gaps. Timestamps depend on time zones and the system clock, so record offsets.
Types of event correlation
| Type | Meaning |
|---|---|
| Same platform correlation | Events from one operating system or product, for example several Windows logs |
| Cross platform correlation | Events from different systems, such as a firewall, a proxy and servers |
Prerequisites of event correlation
Correlation only works when the data is trustworthy.
- Synchronized clocks across all sources, usually through NTP
- Centralized collection so logs are in one place
- Normalization into a common format and field names
- Complete, protected logs with sensible retention
- Known baselines to judge what is unusual
Event correlation approaches
| Approach | Idea |
|---|---|
| Rule based | If condition A and condition B within a time window, raise an alert |
| Field based | Match events on shared fields such as IP address or user |
| Graph based | Build a graph of systems and events to find paths and dependencies |
| Codebook based | Match a set of symptoms to known problems |
| Bayesian | Use probabilities to find likely causes |
| Neural network based | Learn patterns from earlier events |
Rule and field based methods are the most common in practice.
Event deconfliction
Deconfliction separates events with a known, legitimate cause from suspicious ones. Examples are an authorized vulnerability scan, a penetration test or the investigator's own actions. It avoids false positives, prevents the team from chasing its own activity, and keeps different teams from working at cross purposes.
Timeline and kill chain analysis
The Lockheed Martin Cyber Kill Chain has seven stages: reconnaissance, weaponization, delivery, exploitation, installation, command and control, and actions on objectives. Mapping evidence onto the stages shows how far the attack got and where it could have been stopped. A phishing email is delivery, a dropped payload is installation, and beaconing is command and control.
A worked example
A user opened an attachment. The Security log shows event 4688 for a new process, and Prefetch records its first run at that time. Memory shows the process with an outbound connection through windows.netscan, and malfind flags injected code.
The timeline puts these events within minutes of the email delivery. The investigator maps them to the kill chain and deconflicts a scan run earlier by the security team.
How the exam asks about this
- "Which Volatility plugin lists network connections in Windows memory?" →
windows.netscan(netscan in Volatility 2). - "Which TSK tool turns a body file into a timeline?" →
mactime. - "What must be consistent across log sources before correlation?" → Synchronized time.
What to remember for the exam
- psscan finds processes that pslist misses.
- USBSTOR, UserAssist, Prefetch and Amcache are key execution and device artifacts.
- MACB means modified, accessed, changed and born.
flsbuilds the body file andmactimeturns it into a timeline.- Correlation needs time sync, normalization and centralized logs.
Timestamps are only as reliable as the clock that wrote them. Check time zone and clock drift before drawing conclusions.
Common mistakes
Trusting one source. A single artifact is a lead, and correlation across sources makes a finding.
Ignoring time zones. Mixing UTC and local time creates a false sequence.
Forgetting deconfliction. Authorized scans can look just like an attack.
Check yourself
What does Prefetch tell the examiner?
That a program was run, how many times, and when.
What are the stages of the Cyber Kill Chain?
Reconnaissance, weaponization, delivery, exploitation, installation, command and control, actions on objectives.
Why synchronize clocks before correlating?
Otherwise events from different sources cannot be placed in the correct order.
Topic 9 of 11 in Procedures and Methodology
Test yourself on Procedures and Methodology
The full EC-Council 312-49 question bank has 900 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by EC-Council. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.