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
In a nutshell
  • 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.

Memory and registryOS artifactsFile system analysisAutopsy, TSKTimelineEvent correlationKill chain view

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:

PluginUse
windows.pslistProcesses from the active process list
windows.psscanScans memory for process structures, can reveal hidden or ended processes
windows.cmdlineCommand line of each process
windows.dlllistLoaded DLLs per process
windows.netscanNetwork connections and listening ports
windows.malfindMemory 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 hiveEvidence
HKLM\SYSTEM\CurrentControlSet\Enum\USBSTORUSB storage devices that were connected
NTUSER.DAT UserAssistPrograms run by the user, with run counts
Run and RunOnce keysPrograms set to start automatically
SAMLocal 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

ArtifactLocation or sourceShows
PrefetchC:\Windows\Prefetch\*.pfProgram execution, run count, times
LNK files and Jump ListsUser Recent foldersFiles and folders opened
Recycle Bin$Recycle.Bin, with $I metadata and $R content filesDeleted files and original path
Event logswinevt\Logs\*.evtxLogons, services, process creation
Amcache.hveC:\Windows\appcompat\ProgramsExecutables present on the system, some of which ran. Presence alone does not prove execution.
Thumbnail cacheUser profileImages that existed, even if deleted
Browser historyBrowser profile databasesSites 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 toolUse
mmlsPartition layout
fsstatFile system details
flsList files, including deleted ones
icatOutput a file by its metadata address
istatShow metadata for one entry
mactimeTurn 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

TypeMeaning
Same platform correlationEvents from one operating system or product, for example several Windows logs
Cross platform correlationEvents 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

ApproachIdea
Rule basedIf condition A and condition B within a time window, raise an alert
Field basedMatch events on shared fields such as IP address or user
Graph basedBuild a graph of systems and events to find paths and dependencies
Codebook basedMatch a set of symptoms to known problems
BayesianUse probabilities to find likely causes
Neural network basedLearn 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.
  • fls builds the body file and mactime turns it into a timeline.
  • Correlation needs time sync, normalization and centralized logs.
Watch out

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.