Short answer
Do not start the affected computer. Take the disk out, attach it over USB to a clean computer and run EventAnalyzer there as administrator: Source → the offline folder on the attached disk, Mode → Investigation, period 30 days. The Findings tab shows the attack in order, from the first logon to the deletion of shadow copies. The oldest critical or suspicious finding is the time before which the backups are clean.
Step by step
-
Repair nothing and do not start the computer
Every start overwrites logs and disk space. Ideally work on a copy of the disk and put the original away.
-
Attach the disk and pick the offline source
The Source link → Another Windows – offline folder → the attached disk. The program writes nothing to the disk; it opens the logs read-only.
-
Turn on Investigation and 30 days
For an offline source the time window ends at the last record in the log, the moment the computer stopped running.
-
Read Findings from the top
Findings are ordered by time. A typical run: password guessing → a Remote Desktop logon → anti-virus switched off → a new account or service → shadow copies deleted → a log cleared.
-
Save the HTML report and the CSV
The report holds the timeline, the indicators, the SHA-256 of the files read and a section on what the logs could not have shown. It is useful for the insurer, for the police and for whoever cleans the network.
The traces ransomware leaves in the log
| Trace | How the program reports it |
|---|---|
| Entry through Remote Desktop | Password guessing … ended in a successful logon; Remote Desktop logon from a public address |
| Spreading to other computers | PsExec service installed; Service … was installed right after a network logon from … |
| Protection switched off | Defender real-time protection was switched off; Defender exclusion added |
| Ways back removed | Shadow copies deleted; Shadow copies queried through WMI; Windows recovery switched off; Backup catalogue deleted |
| Tracks covered | Event logs are empty – they were cleared; The Security log was cleared; Records are missing from the … log |
| Remote access | Remote access tool on this machine: AnyDesk (TeamViewer, RustDesk…) |
| The whole course | The steps of a ransomware attack, in sequence — the first step dates the attack |
Search for the indicators from the Indicators tab (addresses, accounts, names of services and files) on the other computers in the network. An attacker rarely stops at one.
Things to keep in mind
- Commands such as deleting shadow copies are in the log only if process creation auditing was on. By default in Windows it is not. The program says so under Limits.
- If the attacker cleared the main logs, the program reports that as a critical finding with its time and reads on from the ones that are left: firewall, Defender, WMI, Remote Desktop, SMB server. On a real case those were enough to show the anti-virus being switched off, the query for shadow copies and the time the logs were cleared.
- If the attacker came in through AnyDesk or another remote access tool, they leave no logon in the log. The program shows that the tool was running on the machine; who connected and from where is in that tool's own files, not in the event log.
- The first trace found need not be the first step of the attack. A log only reaches back as far as its size allows; where it starts is on the Evidence tab.
- This is a first reading of the logs, not a full forensic investigation. For a serious incident bring in a specialist and report it to the police.