Skip to content
Ghassan-elsmanPublic

Latest commit

 

History

190 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crow-Eye — Windows Forensics Engine

Crow-Eye Logo

A forensic time machine for Windows.
Crow-Eye doesn't just detect — it reconstructs what actually happened on the timeline, from acquisition all the way to a verdict traceable to its source records.

License: GPL v3 Version Correlation Engine Platform Python Discord GitHub stars GitHub issues Last commit


📥 Download & Install

Recommended: get the packaged Windows build (MSI installer / EXE) from the official website — no Python setup, runs out of the box.

The installed MSI/EXE build is the recommended way to run Crow-Eye, and it is our top priority for updates:

  • 🛡️ Fastest fixes. When an issue is found or a bug is reported, we release an updated EXE as soon as possible — the packaged build is where fixes land first.
  • 🔄 Built-in auto-update. In the installed app, open Settings → Updates to check for updates and install them automatically — no manual reinstall.
  • 📦 Zero setup. No Python, Node, or dependency installation required.

Prefer to run from source? See Quick Start below. The from-source build is intended for contributors and does not include the auto-updater — use the MSI/EXE for automatic updates.

New to Crow-Eye, or want the deep dive? The detailed, interactive user guide walks through every feature — acquisition, parsing, the Timeline, chart dashboards, UBA, the Correlation Engine and Eye — on a clickable map of the whole application, so you can jump straight to the part you need.

🚀 Quick Start

Option A — Installed build (recommended)

Download the MSI/EXE from crow-eye.com/download, install, and launch Crow-Eye as Administrator. Create a case and start analyzing.

Option B — Run from source (developers)

For contributors and advanced users. This path does not include the auto-updater — use the MSI/EXE for automatic updates.

Requirements (installed automatically on first run):

  • Python 3.12.4
  • Node.js & npm — required for Timeline Visualization
  • Key packages: PyQt5, python-registry, pywin32, pandas, streamlit, altair, olefile, windowsprefetch, sqlite3, colorama, setuptools

Recommended hardware

Minimum Recommended for large cases
RAM 8 GB 16 GB+ (MFT/USN sets of millions of records)
Disk 5 GB free Free space ≥ 2× the size of the evidence being parsed
CPU 4 cores 8+ cores
OS Windows 10/11 (full) · Linux (offline & image analysis) —

Correlation streams in constant memory for very large datasets, so RAM is rarely the hard limit — disk throughput and free space usually are.

Launch (run as Administrator so Crow-Eye can access system artifacts):

python "Crow Eye.py"

The main interface opens, you create a case, and all analysis output is organized under that case directory for later review and reporting.

🖥️ Cross-platform note: on Linux, live parsers are disabled automatically and Crow-Eye runs in offline / forensic-image mode. Full live acquisition is Windows-only.

On Linux (tested on Debian 12 with the system Python), install the venv module and Qt's system libraries once, then start Crow-Eye the same way. It creates crow_eye_venv/ and installs everything else into it:

sudo apt install python3-venv libxcb-cursor0 libxkbcommon-x11-0 libxcb-icccm4 libxcb-keysyms1 \
    libxcb-image0 libxcb-render-util0 libnss3 libxcomposite1 libxdamage1 libxrandr2 libxtst6 \
    libasound2 libpango-1.0-0 libpangoft2-1.0-0
python3 "Crow Eye.py"

requirements.txt lists the same packages for a manual or container install. On a machine with no GPU (a VM without passthrough, a container), web views switch to software rendering on their own.

Table of Contents

Overview

Crow-Eye is an open-source (GPL-3.0) Windows forensics engine that unifies acquisition, analysis, verification, intelligence, and AI. Most security tools ask "is this bad?" and clear whatever looks legitimate. Crow-Eye asks a different question: "what happened?" It correlates all activity — suspicious or not — and reconstructs the actual sequence of events on a system, so the truth of an investigation is rebuilt from evidence rather than guessed from alerts.

That reconstruction-first design is exactly what it takes to hunt APT and nation-state threats: sophisticated adversaries live inside legitimate tools (powershell.exe, PsExec, certutil) and in the sequence of actions — invisible to tools that clear anything that looks normal. Because Crow-Eye never clears anything and reasons over execution artifacts (which survive log tampering and anti-forensics), the attack can't hide. The same engine stays approachable for everyday DFIR work and for non-experts who simply want to know what happened on a computer.

  • 🕰️ Reconstruct, don't just detect — rebuild the timeline of what actually occurred.
  • 🖥️ Cross-platform — full live + offline analysis on Windows; offline analysis and forensic-image parsing on Linux (live parsers are Windows-only).
  • 🔒 Private by design — 0 ms of data sent off-device; the Eye AI assistant can run fully air-gapped.
  • 🧾 Court-grade — evidence is cryptographically sealed and every step is auditable.
  • 📦 Current version: 0.15.1 · Correlation Engine: 1.8.0 · License: GPL-3.0.

✨ Highlights

  • Reconstruction over detection. Correlates every artifact into one navigable, per-entity story instead of a pile of alerts.
  • Integrated end to end — acquisition → correlation → timeline → behavioral analytics → AI → sealed case memory: a full pipeline no single incumbent tool spans.
  • Artifact-deep, not log-shallow. Prefetch, Amcache, ShimCache, SRUM, MFT, USN, LNK/JumpLists and more survive the log clearing and "living-off-the-land" tricks that blind log-only tools.
  • The Eye AI assistant — natural-language forensic investigation with an auditable, tamper-evident chain of custody, runnable in the cloud, on a private server, or fully offline.
  • User Behavior Analytics (UBA) — turns raw artifacts into a plain-English, HR/examiner-readable activity story.
  • Sentinel Glance — tools built for Crow-Eye Sentinel, in the open-source engine. Shadow copies (hidden ones included) browsed, compared and recovered from; deleted files recovered from their MFT record; App Acquisition; NTFS integrity checks with delta MFT parsing; and the Behavioural engine with 18 Behaviour Wings. They were built for Crow-Eye Sentinel, our paid enterprise platform for Continuous Forensic Reconstruction, and we give them to the community here, free.
  • Free & open-source (GPL-3.0) — auditable by anyone, with an active research and documentation effort.

👥 Who Crow-Eye Is For

Crow-Eye is used across very different workflows. Each one enters the engine through a different door:

You are Your typical input Where to start
Corporate IR / MSSP / MDR Targeted collections from Velociraptor, KAPE, or EDR-native collection Offline Importer → Correlation Engine → UBA
Law enforcement / forensic labs Full forensic images (E01, VHDX, VMDK, Raw) with chain-of-custody requirements Image analysis → Correlation Engine → Narrative Map
Internal security / insider-threat & HR investigations Live systems or collected artifacts Live analysis → UBA activity story
Students, educators & researchers Sample images and lab data Eye-Describe → Quick Start

Any collector works. Crow-Eye does not require its own acquisition tool. Point the Offline Importer at a folder of raw artifacts produced by Velociraptor, KAPE, an EDR collection package, or any other collector — it indexes the supported artifacts and runs the offline parsers over them. Separately, output from Plaso, Autopsy, Volatility or any other tool can be brought in as CSV, JSON, or SQLite via Import Evidence and correlated alongside native artifacts.

🧭 Subsystems at a Glance

Crow-Eye is built as an integrated loop — each stage feeds the next, from raw disk to a defensible verdict.

Subsystem What it does Stage
Crow-Claw High-speed acquisition of live systems and dead-box images. ② Ingest
Offline Importer SCAN → COLLECT → PARSE artifacts from any collected folder into the case. ② Ingest
Artifact Parsers Registry, execution, file-system, user-activity, event-log and browser parsers — live and offline. ② Ingest
Parse Status & Case Logs One outcome per artifact on every parse, a Why empty? answer for every empty table, and per-component logs for each case. ③ Case
Chart Dashboards Six dashboards (SRUM, MFT/USN, LNK & Jump Lists, Prefetch, User Activity, Browser), each opened from its own table. ④ Analyse
Database Search Full-text search across every database in the case, imported evidence included. ④ Analyse
Interactive Timeline Identity-threaded timeline (Heat Map / Week / Day), read straight from the case databases. ④ Analyse
User Behavior Analytics (UBA) Rule-driven, plain-English "what did this user do" activity story — 81 behaviours. ④ Analyse
AI Agent Forensics Every AI coding agent on the machine — prompts, commands (program · exit code · duration), saved file versions and pages driven — each step linked to the Windows artifact that recorded the same act. ④ Analyse
Dynamic Linking Non-destructive overlay that turns SIDs, MACs and hashes into names inline. ④ Analyse
Correlation Engine Three engines (Time-Window, Identity, Behavioural) and 35 ready Wings, via Feathers · Wings · Engines · Pipelines. ④ Analyse
Shadow Copies & File Browser Every shadow copy (hidden ones too), what made it, what changed between copies; this machine, a copy, an image or the saved MFT listing browsed with what the case knows about each file. ② Ingest · ④ Analyse
Recovery & App Acquisition Files collected or recovered into the case from a copy, an image or this machine; deleted files recovered from their MFT record; a program with everything that belongs to it. Listed under Case → Recovered & Collected Files. ② Ingest
Eye — AI Assistant GEP-governed investigation assistant with the sealed Narrative Map case memory. ⑤ AI
Storage Forensics Physical disk & partition analysis (hidden/unmounted detection, boot warnings). ④ Analyse

🏗️ Architecture

Crow-Eye is an integrated pipeline, not a bag of parsers. Evidence flows one way through six stages, and every stage keeps its link back to the source record.

%%{init: {"flowchart": {"nodeSpacing": 30, "rankSpacing": 50, "curve": "basis", "padding": 16}, "themeVariables": {"fontSize": "15px"}} }%%
flowchart TB

    subgraph SRC["① SOURCES"]
        S1["Live Windows<br/>system"]
        S2["Forensic image<br/>E01 · VHDX · VMDK · Raw"]
        S3["Collected folder<br/>Velociraptor · KAPE · EDR"]
        S4["Third-party output<br/>Plaso · Autopsy · Volatility"]
    end

    subgraph ING["② INGEST"]
        I0["LIVE PARSE<br/>this system, in place"]
        I1["CROW-CLAW<br/>live acquisition"]
        I2["IMAGE PARSING<br/>no mounting"]
        I3["OFFLINE IMPORTER<br/>scan · collect · parse"]
        I4["IMPORT EVIDENCE<br/>CSV · JSON · SQLite"]
        I5["RECOVERY TOOLS<br/>File Browser · Shadow Copies<br/>App Acquisition · MFT carve"]
    end

    PARSERS[["ARTIFACT PARSERS<br/>live and offline"]]
    REPLAY["DIRTY-HIVE REPLAY<br/>logs applied to a copy"]
    NTFS["NTFS INTEGRITY<br/>digest map · delta MFT · checks"]
    CASE[("③ CASE DATABASES<br/>Target_Artifacts/<br/>Imported_Evidence/")]
    PSTAT[("PARSE STATUS<br/>one outcome per artifact")]
    CUST[("CHAIN OF CUSTODY<br/>run records · case ledger")]

    subgraph ANA["④ ANALYSIS · read-only"]
        TAB["ARTIFACT TABLES<br/>Anatomy · Why empty?"]
        VIZ["CHART<br/>DASHBOARDS"]
        SRCH["DATABASE<br/>SEARCH"]
        CE["CORRELATION ENGINE<br/>Time · Identity · Behaviour<br/>35 Wings"]
        DL["DYNAMIC LINKING<br/>SID · MAC · hash → name"]
        TL["TIMELINE<br/>heat map · day"]
        UBA["USER BEHAVIOR<br/>ANALYTICS"]
    end

    RES[("correlation_results.db")]
    INTEL[("Crow_Intelligence.db")]

    EYE{{"⑤ EYE<br/>GEP-governed assistant<br/>local · CLI agent · cloud<br/>reads every case database"}}
    KB["KNOWLEDGE BASE<br/>guides · schema"]
    CHK["CLAIM CHECK<br/>answer values vs evidence"]
    NM["NARRATIVE MAP<br/>case memory"]
    COMP["COMPLIANCE<br/>EvidenceSeal audit"]

    OUT["⑥ LIVING REPORT<br/>CSV · JSON · HTML"]

    S1 --> I0 & I1 & I5
    S2 --> I2 & I5
    S3 --> I3
    S4 --> I4

    I0 & I1 & I2 & I3 --> PARSERS
    PARSERS -. "every hive" .-> REPLAY
    PARSERS -. "every MFT record" .-> NTFS
    NTFS -- "findings" --> CASE
    NTFS -. "manifest · findings" .-> CUST
    PARSERS == "parsed artifacts" ==> CASE
    PARSERS -. "status" .-> PSTAT
    I0 & I1 & I2 & I3 & I4 -. "custody" .-> CUST
    I4 -- "verbatim or<br/>converted" --> CASE
    I5 -- "recovered files" --> CASE
    I5 -. "custody" .-> CUST

    CASE ==> TAB & VIZ & SRCH & CE & DL & TL & UBA
    UBA -- "behaviours" --> CE
    CE --> RES
    DL --> INTEL

    RES -. "on demand" .-> EYE
    UBA -. "query_user_behavior" .-> EYE
    KB --> EYE
    EYE <== "verdict · narrative" ==> NM
    EYE -- "every tool call" --> COMP
    EYE -- "every answer" --> CHK
    EYE == "report_* tools" ==> OUT
    COMP -. "audit_trail.json" .-> OUT

    classDef src   fill:#334155,stroke:#94a3b8,stroke-width:2px,color:#f1f5f9
    classDef ing   fill:#0f766e,stroke:#2dd4bf,stroke-width:2px,color:#f0fdfa
    classDef hub   fill:#115e59,stroke:#5eead4,stroke-width:3px,color:#f0fdfa
    classDef store fill:#92400e,stroke:#fbbf24,stroke-width:2px,color:#fffbeb
    classDef ana   fill:#1e40af,stroke:#60a5fa,stroke-width:2px,color:#eff6ff
    classDef ai    fill:#6b21a8,stroke:#c084fc,stroke-width:2px,color:#faf5ff
    classDef eye   fill:#7e22ce,stroke:#e9d5ff,stroke-width:3px,color:#faf5ff
    classDef out   fill:#166534,stroke:#4ade80,stroke-width:3px,color:#f0fdf4

    class S1,S2,S3,S4 src
    class I0,I1,I2,I3,I4,I5,REPLAY,NTFS ing
    class PARSERS hub
    class CASE,PSTAT,CUST,RES,INTEL store
    class TAB,VIZ,SRCH,TL,UBA,CE,DL ana
    class KB,NM,COMP,CHK ai
    class EYE eye
    class OUT out

    style SRC fill:#0f172a,stroke:#94a3b8,stroke-width:2px,color:#e2e8f0
    style ING fill:#042f2e,stroke:#2dd4bf,stroke-width:2px,color:#ccfbf1
    style ANA fill:#0b1a3d,stroke:#60a5fa,stroke-width:2px,color:#dbeafe

    linkStyle default stroke-width:2px
Loading

① Evidence sources → ② Ingest → ③ Case → ④ Read and analyse → ⑤ AI layer → ⑥ Report

How to read it:

Stage What matters
① → ② Six independent doors into a case. Parse a live system directly, acquire it with Crow-Claw, read a forensic image without mounting it, bring a Velociraptor / KAPE / EDR folder through the Offline Importer, import third-party CSV / JSON / SQLite with Import Evidence, or take files themselves into the case with the recovery tools: the File Browser, Shadow Copies, App Acquisition, and deleted files carved from their MFT records. Crow-Eye's own collector is never required.
② The parsers read evidence, never write to it. Registry hives are read as files from a working copy with their transaction logs replayed, so a dirty hive is seen in the state Windows had not finished writing, and free space is carved for deleted keys. SRUM is soft-recovered from its ESE logs the same way. Browsers are read from copies that keep their -wal files, and stored secrets are kept but never decrypted.
② Every run leaves a chain of custody, and every case keeps a ledger. Crow-Claw, live Parse All, each single-artifact parse, Offline Importer collections and scans, offline parses and image parsing each write logs/custody_<run>.json with a .sha256 beside it. A record holds who ran it, where and when (UTC), the time zone and decoding-library versions, and every source file: its times read before the copy, how it was read (in place, copied, shadow copy, raw volume, NtSaveKeyEx hive export), and the SHA-256 of the source and of the copy. A live Parse All takes each file's size and times before it parses, and hashes the files from its own shadow copy, the bytes the parsers read, while they run. It also holds each artifact's outcome, the SHA-256 of every database the run wrote, and every change made to the target: processes, services, and shadow copies created, used, deleted or evicted by Windows. Shadow copies Crow-Eye creates are deleted when the run ends, by the ID Create() returned. Temporary work goes under the case, not the target's %TEMP%. logs/custody_ledger.jsonl records everything done to the case: opened, runs started and ended (with each record's hash), exports, evidence imports, settings changes, and correlation and Dynamic Linking database rewrites (hash before and after). It is a hash chain, so an edited, removed or moved line, a rewritten or deleted record, and a ledger cut short all show. Case → Chain of Custody… opens a record: every source with its verdict, the artifacts, the outputs, the footprint, the shadow copies, and the case ledger with its chain check.
② The MFT is checked as it is parsed, and re-parsed by difference. Every $MFT record is digested (keyed BLAKE2b over its fixed-up bytes, LSN and update sequence left out) into a sealed map in <case>/state/; a second parse of the same volume parses only the records whose stored fields changed, and records deleted or reused in between are written as findings. The USN journal is not trusted for this. The same pass runs the single-image integrity checks - timestomping, wiped records, record structure, the $MFT bitmap, record LSNs against $LogFile, USN journal and $LogFile state - into ntfs_integrity_findings, and writes one integrity manifest per volume to the custody ledger. Every check is on by default and can be turned off in Settings → Parsing; a check that is off is written to the ledger at every parse.
② Recover into the case. The File Browser reads this machine, any shadow copy (Windows' own, or one it keeps only in the volume's catalog, rebuilt by Crow-Eye's VSS reader), a forensic image or the case's saved MFT listing. Ticked files are collected with their SHA-256, a check against the source, a manifest and a custody record. The Shadow Copies window recovers a file that changed or was deleted between two copies from the copy that holds it. A deleted file in the saved listing comes back from its MFT record. Its identity is checked first (still deleted, same sequence, same name), each cluster is checked against $Bitmap (a reused one is marked may be overwritten), and everything is read before anything is written. App Acquisition takes a program with its files, data, shortcuts and registry keys. Everything goes under app_acquisition/ and is listed in Case → Recovered & Collected Files….
② → ③ Everything converges on the case. Parsed artifacts land in Target_Artifacts/; imported evidence lands in Imported_Evidence/ and is auto-discovered by every reader.
② → ③ Every parse records why, not just whether. Live, offline and image parses write one outcome per artifact to logs/parse_status.json — parsed, no records, source not found, feature disabled, unsupported format, access denied, dependency missing, partial, failed or not run. A missing artifact is not a failure. The Parse Status Report appears once the data loads, a Why empty? button explains every empty table, and each case keeps per-component logs browsable in Settings → Logs.
③ → ④ Nothing reads half-written data. While a parse or load runs, the readers in stage ④ and the Eye are held — each offers Open when ready — so no view opens against tables still being filled.
③ → ④ Every reader is independent and read-only. The artifact tables carry Anatomy (how the artifact is read, byte by byte), Charts (the dashboard for that table) and Why empty?. The Timeline, UBA, Database Search and the dashboards read the case databases directly — none requires a correlation run. The Correlation Engine is an additional layer, not a prerequisite.
③ → ④ Dynamic Linking gathers identity mappings (SID → username, MAC → network, hash/GUID → app) into a per-case Crow_Intelligence.db, then overlays that context inline in the artifact tables through a non-destructive ATTACH and a per-row lookup. It changes how records read, never the evidence.
③ → ⑤ The Eye queries the case databases directly, pulls correlation results on demand, and is grounded in a knowledge base of artifact guides and the live schema reference. It never touches evidence itself — it emits tool calls that Crow-Eye executes and logs. It runs on a local model, a command-line agent (Claude Code and Codex on your own sign-in) or a cloud API.
⑤ ✓ Every answer is checked against the evidence. The times, paths, SIDs, hashes and device IDs in an answer are looked up in the tool results the Eye read; any it could not find are listed under the answer, and a time found only after a whole-hour shift is flagged as a time-zone conversion to verify.
⑤ ↔ The Narrative Map is bidirectional: the Eye writes to it, the analyst writes to it, and its contents are injected into the Eye's prompt every turn.
⑤ ⟳ Compliance audits the Eye. Every tool call is anchored to the EvidenceSeal hash chain; the page renders live per-rule GEP status (10 principles) verified from that chain and EYE_Logs/, exportable as audit_trail.json.
⑤ → ⑥ The Living Report is built by the Eye alone, through its report_* tools. The Timeline, UBA and the dashboards are analysis surfaces — they do not write to the report. Case-level findings can still be exported separately via Search & Export.

Independent stages. The Timeline, UBA, Database Search and the Chart dashboards read the case artifact databases directly — none requires a correlation run, and the Timeline does not depend on the Correlation Engine (it applies its own lightweight temporal grouping). Correlation is an additional analysis layer whose results the Eye can query.

Read-only by design. Parsing writes to the case database; every downstream stage (the dashboards, Database Search, UBA, the Timeline, correlation viewers, the Eye) opens those databases read-only. The original evidence is never modified — Dynamic Linking reads the case databases to build a per-case Crow_Intelligence.db of identity mappings and enriches the artifact data tables inline through a non-destructive ATTACH and a per-row lookup rather than rewriting rows.

Governed by design. Every action the Eye takes is anchored to the tamper-evident EvidenceSeal hash chain, and the Compliance page continuously verifies the Eye against the Ghassan Elsman Protocol (GEP) — live per-rule status, exportable to EYE_Logs/audit_trail.json.

🔬 Architecture in detail

The overview above is the shape. The four sections below open each stage: what runs, which module runs it, what it reads, what it writes, and what it guarantees. Every path is relative to the repository root; every case path is relative to the case folder.

② Ingest — six doors, one set of parsers

%%{init: {"flowchart": {"nodeSpacing": 28, "rankSpacing": 46, "curve": "basis", "padding": 14}, "themeVariables": {"fontSize": "14px"}} }%%
flowchart TB
    subgraph DOORS["② INGEST · six doors"]
        L1["CROW-CLAW<br/>crow_claw/<br/>copy · VSS · raw disk"]
        L3["OFFLINE IMPORTER<br/>Offline_Importer/<br/>SCAN → COLLECT → PARSE"]
        L2["IMAGE PARSING<br/>Forensics_Image_parsing/<br/>dissect.target · no mounting"]
        L0["LIVE PARSE<br/>Parse All Artifacts<br/>admin · up to 4 workers"]
        L4["IMPORT EVIDENCE<br/>FeatherImporter"]
        L5["RECOVERY TOOLS<br/>app_acquisition/<br/>File Browser · Shadow Copies<br/>App Acquisition · MFT carve"]
    end

    ACQ[("live_acquisition/<br/>copied files · SHA-256")]
    INV[["ParserInvoker<br/>offline_parsers/offline_*.py"]]
    LIVE[["Live parsers<br/>*_Claw.py · Regclaw.py"]]
    IE[("Imported_Evidence/<br/>verbatim · converted · documents")]

    REP["REPAIRED BEFORE READING<br/>dirty hives: LOG1/LOG2 replayed into a copy<br/>SRUM: ESE soft recovery"]
    NTFS["NTFS INTEGRITY<br/>digest of every MFT record<br/>delta parse · findings"]
    TA[("Target_Artifacts/<br/>one database per family")]
    PS[("logs/parse_status.json<br/>one outcome per artifact")]
    AQ[("app_acquisition/ · Restores/<br/>files · SHA-256 · manifest")]
    CU[("logs/custody_*.json<br/>custody_ledger.jsonl")]

    L1 --> ACQ
    L3 -- "COLLECT" --> ACQ
    ACQ -- "PARSE" --> INV
    L2 -- "read out of the image" --> INV
    L0 --> LIVE
    L4 --> IE
    L5 -- "recovered · collected" --> AQ

    INV & LIVE -.-> REP
    INV & LIVE -. "MFT" .-> NTFS
    NTFS -- "ntfs_integrity_findings" --> TA
    INV & LIVE ==> TA
    INV & LIVE -.-> PS
    L0 & L1 & L2 & L3 & L4 & L5 -. "custody" .-> CU

    classDef door  fill:#0f766e,stroke:#2dd4bf,stroke-width:2px,color:#f0fdfa
    classDef run   fill:#115e59,stroke:#5eead4,stroke-width:3px,color:#f0fdfa
    classDef help  fill:#134e4a,stroke:#99f6e4,stroke-width:1px,stroke-dasharray:4 3,color:#f0fdfa
    classDef store fill:#92400e,stroke:#fbbf24,stroke-width:2px,color:#fffbeb
    class L0,L1,L2,L3,L4,L5 door
    class INV,LIVE run
    class REP,NTFS help
    class ACQ,TA,IE,PS,AQ,CU store
    style DOORS fill:#042f2e,stroke:#2dd4bf,stroke-width:2px,color:#ccfbf1
    linkStyle default stroke-width:2px
Loading
Door Module What it does Writes
Live parse Crow Eye.py → utils/concurrency/standalone_parsers.py Parses this machine in place. Needs administrator rights. Runs the parsers in a process pool (up to four workers), with MFT and USN in a process of their own beside it; their correlation runs once both finish. The $MFT is read through its own data runs, so a fragmented MFT is read whole (one examined C: drive was in 17 fragments; the first held 205,056 of 3.3 million records). Target_Artifacts/*.db
Crow-Claw Artifacts_Collectors/crow_claw/ Live acquisition: copies registry hives with their .LOG1/.LOG2, NTUSER.DAT and UsrClass.dat, Prefetch, AmCache, LNK and Jump Lists, $MFT, the USN journal, Recycle Bin, event logs, SRUM, ShimCache, browsers and partition information. Standard copy always; Volume Shadow Copy and raw-disk access when elevated. One folder per artifact type, and collection_manifest.json with MD5 and SHA-256 of every file
Image parsing Artifacts_Collectors/Forensics_Image_parsing/ Reads E01/Ex01, VHDX/VHD, VMDK, ISO and raw (dd/img/001, multi-part sets included) through dissect.target — nothing is mounted. Reuses the Offline Importer's collector and coordinator, then parses in image mode. Target_Artifacts/*.db
Offline Importer Artifacts_Collectors/Offline_Importer/ SCAN detects artifact types by name and extension into .artifact_scan_index.json; COLLECT copies what was found into live_acquisition/ with a SHA-256 of each file; PARSE hands each artifact to ParserInvoker, which calls the matching offline_parsers/offline_*.py. Works on any Velociraptor, KAPE or EDR collection. Target_Artifacts/*.db
Import Evidence correlation_engine/feather/importer.py (FeatherImporter) Brings in third-party output: SQLite is copied verbatim; CSV and JSON are converted to a feather-shaped SQLite with its own feather_metadata; documents (PDF, HTML, text, mail) are copied as they are. Target_Artifacts/Imported_Evidence/ and imported_evidence_manifest.json (SHA-256 of source and copy)
Recovery tools Artifacts_Collectors/app_acquisition/ (collector.py, deleted_recovery.py, restore.py), shadow_copies.py, vss_reader.py, shadow_compare.py Takes files themselves into the case: ticked in the File Browser from this machine, an image or a shadow copy; recovered from the shadow copy that still holds a deleted or changed file (Shadow Copies → What changed); a program with everything that belongs to it (App Acquisition); or a deleted file carved from its MFT record, refused when the record was reused and saved with its overwrite risk when some of its clusters are in use again. Each run is logged and written to the chain of custody. Listed under Case → Recovered & Collected Files. app_acquisition/<run>/ with app_manifest.json (SHA-256 of each file); Restores/restore_*.json for files put back on the machine

Every parser family, and where its output lands (all under Target_Artifacts/):

Family Live parser Offline / image parser Database Main tables
Registry Regclaw.py offline_RegClaw.py registry_data.db BAM, Shellbags, UserAssist, RecentDocs, OpenSaveMRU, USB storage, MUICache, NetworkProfiles and ~80 more
LNK & Jump Lists A_CJL_LNK_Claw.py offline_ACJLClaw.py LnkDB.db LNK_Files, Automatic_JumpLists, Custom_JumpLists
Prefetch Prefetch_claw.py offline_PrefetchClaw.py prefetch_data.db prefetch_data
AmCache amcacheparser.py offline_AmCacheClaw.py amcache.db InventoryApplication, InventoryApplicationFile, InventoryDriver …
ShimCache shimcash_claw.py offline_ShimCacheClaw.py shimcache.db shimcache_entries
SRUM SRUM_Claw.py offline_SRUM_Claw.py srum_data.db application usage, network usage and connectivity, energy, app timeline (with the PE link time and CheckSum of the build that ran), metadata
Event logs WinLog_Claw.py offline_WinLog_Claw.py Log_Claw.db SystemLogs, SecurityLogs, ApplicationLogs
Recycle Bin recyclebin_claw.py offline_RecycleBinClaw.py recyclebin_analysis.db recycle_bin_entries
$MFT MFT_Claw.py (+ ntfs_integrity.py, ntfs_digest_map.py, logfile_restart.py) offline_MFTClaw.py mft_claw_analysis.db mft_records, mft_standard_info, mft_file_names, mft_data_attributes, ntfs_integrity_findings
USN journal USN_Claw.py offline_USNClaw.py USN_journal.db journal_events, deleted_entries
MFT ↔ USN mft_usn_correlator.py offline_MFT_USN_Correlator.py mft_usn_correlated_analysis.db mft_usn_correlated, filename_changes
Browsers Browser_Claw.py offline_BrowserClaw.py browser_analysis.db 37 tables — history, downloads, cookies, Gecko history …

Two repairs happen before a parser reads anything, and neither touches the evidence:

  • Dirty-hive replay. Artifacts_Collectors/registry_transaction_log.py → hive_for_reading(path) applies a hive's .LOG1/.LOG2 entries to a copy in a temporary workspace and hands the parser that copy, so a hive is read in the state Windows had not yet finished writing. It returns the original when there is nothing to replay, is memoised per hive, never raises, and deletes its workspace on exit. Every hive reader goes through it — offline_RegClaw, amcacheparser, offline_ShimCacheClaw, offline_SRUM_Claw, security_hive and user_identity — and acquired live hives use the same recovery code.
  • SRUM ESE recovery. SRUM is an ESE database that is almost never cleanly closed. The parser first opens a working copy read-only; if that fails, it replays the collected .jfm/.chk/SRU*.log set with esentutl soft recovery, and only as a last resort repairs. The outcome — clean, recovered, repaired or dirty — is recorded in srum_metadata, so a reader knows which state the numbers came from.

③ Case — what is on disk

<case>/
├── Target_Artifacts/              one SQLite database per artifact family (table above)
│   └── Imported_Evidence/         third-party data, found automatically by every reader
├── live_acquisition/              artifacts copied by Crow-Claw or the Offline Importer
├── app_acquisition/               files collected or recovered into the case, one folder per run
│   └── <run>/app_manifest.json   each file's source and SHA-256; a carved file's overwrite risk
├── Restores/                      restore_*.json for files put back on the machine
├── state/                         sealed NTFS digest maps (ntfs_map_<volume>.bin) for delta MFT parses
├── logs/
│   ├── parse_status.json          one outcome per artifact for every parse
│   ├── custody_<run>.json         one chain-of-custody record per run, .sha256 beside it
│   ├── custody_ledger.jsonl       hash-chained ledger of everything done to the case
│   └── crow_eye.log …             per-component logs (Settings → Logs)
├── Correlation/
│   ├── feathers/ wings/ pipelines/
│   └── results/correlation_results.db
├── Crow_Intelligence.db           identity mappings built by Dynamic Linking
└── EYE_Logs/                      Eye's sealed logs, Narrative Map, audit_trail.json

The case settings live outside the case, in config/case_<name>.json next to the application.

Parse status says why, not only whether. utils/parse_status.py writes one outcome per artifact on every live, offline and image parse: parsed, no records, source not found, feature disabled, unsupported format, access denied, dependency missing, partial, failed or not run. The first three are not failures — an artifact that does not exist on a system is a fact about that system. The Parse Status Report opens when the data loads, and the Why empty? button on every empty table reads its reason from the same file.

④ Analysis — independent, read-only readers

%%{init: {"flowchart": {"nodeSpacing": 26, "rankSpacing": 50, "curve": "basis", "padding": 14}, "themeVariables": {"fontSize": "14px"}} }%%
flowchart TB
    CASE[("Case databases<br/>Target_Artifacts/ · Imported_Evidence/")]

    VIZ["CHART DASHBOARDS<br/>visualizations/<br/>dialog + bridge + React"]
    SRCH["DATABASE SEARCH<br/>Ctrl+Shift+F"]
    TL["TIMELINE<br/>timeline/ · artifact_map.py"]
    UBA["USER BEHAVIOR ANALYTICS<br/>uba/ · 81 rules · Ctrl+Shift+B"]
    DL["DYNAMIC LINKING<br/>dynamic_mapping/ · 22 rules"]
    CE["CORRELATION ENGINE<br/>correlation_engine/<br/>Time · Identity · Behaviour"]

    INTEL[("Crow_Intelligence.db<br/>value → name")]
    TAB["ARTIFACT TABLES<br/>names shown beside raw values"]
    F[("Correlation/feathers/")]
    RES[("correlation_results.db")]

    CASE ==> VIZ & SRCH & TL & UBA & DL & CE
    UBA -- "behaviours → Behaviour Wings" --> CE
    DL -- "ATTACH · gather" --> INTEL
    INTEL -. "ATTACH · per-row lookup" .-> TAB
    CE -- "auto-generated feathers" --> F
    F -- "Wings → engine → Pipelines" --> RES

    classDef store fill:#92400e,stroke:#fbbf24,stroke-width:2px,color:#fffbeb
    classDef ana   fill:#1e40af,stroke:#60a5fa,stroke-width:2px,color:#eff6ff
    class CASE,INTEL,F,RES store
    class VIZ,SRCH,TL,UBA,DL,CE,TAB ana
    linkStyle default stroke-width:2px
Loading

None of these requires another. Each opens the case databases read-only, and each is held — offering Open when ready — while a parse or load is still writing them.

Reader Module What it does
Chart dashboards visualizations/ Six dashboards — SRUM, MFT/USN, LNK & Jump Lists, Prefetch, User Activity (Shell Items & Registry), Browser — opened by the Charts button on their own tables. Each is a Qt dialog hosting a React page; a QWebChannel bridge serves the page its data from the case databases.
Database Search ui/database_search_dialog.py → data/unified_search_engine.py Searches every database it discovers in the case, imported evidence included. Case-sensitive, exact and regular-expression modes, and an optional time filter on each table's detected timestamp columns.
Timeline timeline/ Heat map (per day), week and lane views. data/artifact_map.py is the one map of what it plots: 18 artifact types and their time columns. Registry key write times are bounded (no later than) and drawn hollow, so they cannot pass for an exact event time. Applies its own lightweight grouping — no correlation run needed.
User Behavior Analytics uba/ Replays the case through 81 declarative rules in uba/config/behavior_rules.json (44 routine, 33 notable, 3 suspicious, 1 critical) into a plain-English activity story. Sign-in sessions are built from Security events 4624/4634/4647, paired by LogonId. Every statement opens its backing record.
Dynamic Linking dynamic_mapping/ 22 rules gather identity mappings — SID → user, MAC → network, hash → file name, USB serial → device, volume GUID → volume name and more — into Crow_Intelligence.db by ATTACHing each case database read-only. The artifact tables then show the resolved name beside the raw value through a per-row lookup on the attached database. It changes how a record reads, never the record. After each run a statistics window (and dynamic_linking.log) shows what every rule read and added, from which database and table, and how many rows of each artifact table now carry a linked name.
Correlation Engine correlation_engine/ Turns artifacts into feathers, applies Wings with the Time-Window, Identity or Behavioural engine (each Wing's category picks the engine; 35 Wings ship: 11 Identity, 6 Time, 18 Behaviour), and runs them as Pipelines into correlation_results.db. Detailed in Correlation Engine.

⑤ AI layer — how a question travels

%%{init: {"themeVariables": {"fontSize": "14px"}} }%%
sequenceDiagram
    autonumber
    actor A as Analyst
    participant UI as Eye window<br/>(React)
    participant B as eye_bridge<br/>(QWebChannel)
    participant W as QueryWorker
    participant CM as ContextManager
    participant QP as QueryProcessor
    participant MR as ModelRouter
    participant M as Model backend
    participant T as Tools
    A->>UI: question
    UI->>B: send
    B->>W: run off the UI thread
    W->>CM: process_query
    CM->>CM: history · Narrative Map · knowledge base (RAG)
    CM->>CM: older tool results compacted (recall_result brings one back)
    CM->>QP: prompt + 33 tool definitions
    loop until an answer or the iteration limit
        QP->>MR: generate (EvidenceSeal seals the exact prompt bytes)
        MR->>M: request
        M-->>MR: text or tool call
        MR-->>QP: response
        QP->>T: tool call — case DBs read-only, correlation results, report_*
        T-->>QP: result
    end
    QP->>QP: claim check: every time, path, SID and hash against the tool results
    QP-->>UI: answer · reasoning trace · evidence · values not found
Loading
Component Module Role
Bridge & worker eye/bridge/eye_bridge.py The React window talks to Python over QWebChannel; a QueryWorker thread keeps the interface responsive.
ContextManager eye/services/context_manager.py Builds each turn: conversation history, the Narrative Map, retrieved knowledge, and the tool catalogue.
QueryProcessor eye/services/query_processor.py The agentic loop: ask the model, run the tool it calls, feed the result back, until it answers.
ModelRouter & backends eye/services/model_router.py, eye/backends/ Command-line agents (Claude Code and Codex on your own sign-in, Gemini CLI, Ollama CLI and others), local servers (Ollama, LM Studio, vLLM) or cloud APIs (OpenAI, Anthropic, Gemini, OpenRouter, Mistral, Groq and more). A local model keeps the whole loop on the machine; a command-line agent or cloud API sends the conversation to its provider.
Backend doctor eye/services/backend_doctor.py Checks the model setup in order: provider, model name, API key, command-line tool or local server, connection, one tiny real request, tool use and effort. Each problem comes with its fix; results are kept in EYE_Logs/eye_backend_doctor.jsonl.
Tools configs/llm_config.json 33 tools: database queries and schema, artifact and semantic search, the timeline sweep, user behaviour, correlation results and wing authoring, imported evidence, threat intelligence, recalling an earlier result, and the ten report_* tools.
Result compaction eye/services/result_compaction.py Once the raw tool output in a request passes a threshold, older results go to the model as short digests; the newest stay whole. The full results stay in the sealed history, one recall_result call away.
Claim check eye/services/claim_check.py Looks up every specific value in an answer (times to the minute, paths, SIDs, hashes, USB VID/PID) in the tool results the Eye read, and lists under the answer the ones it could not find. A time found only after a whole-hour shift is listed apart, as a time-zone conversion to verify. The answer itself is not changed.
Knowledge base configs/knowledge_base/ Artifact guides and the live schema reference, retrieved per question — by embeddings when a model is configured, by a built-in BM25 index when not.
Narrative Map eye/services/narrative_map_service.py Verdict → narrative → evidence, written by the Eye and the analyst alike, hash-chained in EYE_Logs/narrative_map_audit.jsonl and injected into every prompt.
EvidenceSeal eye/services/evidence_seal.py Seals the SHA-256 of the exact bytes of every prompt in a hash-chained EYE_Logs/eye_payload_seal.jsonl.
Compliance ProtocolCompliancePanel Shows live per-rule GEP status verified from the seal chain and EYE_Logs/; Export Audit JSON writes EYE_Logs/audit_trail.json.
Living Report report_* tools Built by the Eye alone — sections, data tables, images, charts, timelines, heat maps and chain of custody — exported as CSV, JSON or HTML.

📂 Supported Artifacts

Crow-Eye parses a broad set of Windows execution, file-system, and user-activity artifacts, both from a live system and from offline sources (collected folders or forensic images).

Artifact Live Offline Data Extracted
Prefetch ✅ ✅ Execution history, run count, per-run timestamps
Registry (AutoRun, UserAssist, BAM/DAM, ShimCache, networks, time zone, and 80+ keys in all) ✅ ✅ Persistence, program usage, background activity, network config, startup approval state
Registry — deleted keys & values ✅ ✅ Records recovered from the hive's free space, marked as such (record_state)
Registry — class names & key security ✅ ✅ nk class names (where Control\Lsa keeps the boot key), owner/group/DACL from shared security descriptors
Registry — transaction logs ✅ ✅ .LOG1/.LOG2 replayed onto a working copy, so a dirty hive is read in the state the machine was in
Amcache (29 tables) ✅ ✅ App execution, install time, SHA-1, file paths, drivers, PnP devices, device census
ShimCache ✅ ✅ Executed apps, last modified, size, and the decoded trailing blob (PE machine type, OS-binary flag)
MUICache ✅ ✅ Program presence and display names
Jump Lists & LNK ✅ ✅ File access, paths, timestamps, metadata
ShellBags ✅ ✅ Folder access history and navigation
MRU & RecentDocs / Typed Paths ✅ ✅ Open/Save history, recent files, typed locations
Browser / Website history (registry: TypedURLs) ✅ ✅ Addresses typed into the browser
Browsers — Chromium family, Firefox family, Electron apps (37 tables) ✅ ✅ History, downloads, cookies, cache, sessions, extensions, local storage; stored secrets kept but never decrypted
Event Logs (System / Security / Application) ✅ ✅ Logons, process creation (4688), account & service changes, log clearing
MFT ✅ ✅ File metadata, deleted files, timestamps (NTFS, Win 7/10/11)
USN Journal ✅ ✅ File create/modify/delete/rename with full name history
Recycle Bin ✅ ✅ Deleted file names, paths, deletion time, size
SRUM ✅ ✅ App resource/network/energy usage, per-app data transferred
USB & connected devices ✅ ✅ Device connection and presence
Network list & connections ✅ ✅ Known networks and connection activity
AutoStart / Services & Drivers ✅ ✅ Persistence, service installs and state changes
Disks & Partitions (Storage Forensics) ✅ ✅ Physical disk tree, partition layout, hidden/unmounted detection

Jump Lists & LNK are parsed by Crow-Eye's own purpose-built LNK / Jump List parser — not a third-party module.

Custom registry / locked files: Windows locks live registry hives (NTUSER.DAT, SOFTWARE, SYSTEM) during operation. For custom analysis of a live system, boot from external media (WinPE/Live CD), use forensic acquisition tools, or analyze a disk image.

Per-Artifact Details

  • Jump Lists & LNK — automatically parsed from standard system locations by Crow-Eye's own dedicated parser (file access, target paths, timestamps, and metadata).
  • Registry — automatically parses the system hives. For custom registry analysis, copy the hive files to CrowEye/Artifacts Collectors/Target Artifacts (or your case's registry/ folder):
    • NTUSER.DAT from C:\Users\<Username>\NTUSER.DAT
    • SOFTWARE from C:\Windows\System32\config\SOFTWARE
    • SYSTEM from C:\Windows\System32\config\SYSTEM
    • Windows locks these during operation — for a live system, boot from external media (WinPE/Live CD), use forensic acquisition tools, or analyze a disk image.
  • Prefetch — parses C:\Windows\Prefetch, extracting execution history and forensic metadata (including per-run timestamps).
  • Event Logs — automatic parsing of System/Security/Application logs into a database for comprehensive analysis.
  • Registry depth (0.13.0) — the parser reads the hive file as well as the live registry, so it reaches what winreg denies even to an administrator (every device Properties subkey, and with it USB connect times), walks the hive's allocator to recover deleted keys and values, and reads class names and key security descriptors. Nineteen keys that held real data and were read by nothing are now parsed — including Explorer's StartupApproved, which says whether each autostart entry is actually allowed to launch.
  • Browsers (0.14.0) — Browser_Claw reads every Chromium-family browser (Chrome, Edge, Brave, Opera, Vivaldi and others, plus any it finds by profile layout), the Firefox family (Firefox, LibreWolf, Waterfox, Pale Moon, SeaMonkey, Tor Browser) and Electron apps (Slack, Discord, Teams, Signal and others) into browser_analysis.db. SQLite stores are read from a copy that keeps their -wal and -journal files, so rows not yet checkpointed are still seen. Passwords, cookie values and card data are stored as found and never decrypted. Live systems, collected folders and forensic images all produce the same tables: each profile's folder tree is collected intact, the owner is the Users\<name> folder it came from, and the SID is read from the evidence's own SOFTWARE hive (when the case holds a single source, so a hive can only belong to it). An Include browser cache option (on by default) leaves out the HTTP and Service Worker caches, which are most of a profile's size.
  • ShellBags — reveals folder access history and user navigation patterns.
  • Recycle Bin — parses $RECYCLE.BIN to recover deleted file names, original paths, deletion times, and sizes (live systems and disk images).
  • MFT — parses the Master File Table for file metadata, attributes, timestamps, and deleted-file information (NTFS, Windows 7/10/11).
  • USN Journal — tracks file create/modify/delete/rename events with timestamps and full name history, for timeline reconstruction.
  • SRUM — visualizes app resource usage (duration bars for foreground/background time) and network activity per application.
  • Storage Forensics Analyzer — complete tree view of every physical disk and its partitions; color-coded partition types (EFI, Linux, Recovery, Hidden/swap, …); warnings for bootable USBs, hidden Linux roots, and Intel Rapid Start; raw sector magic-scanning fallback; on each NTFS volume, where $MFT, the USN journal and shadow-copy storage physically sit on the partition bar, with shadow storage used, allocated and maximum and the number of copies.

🔧 Analysis Modes

🦅 Crow-Claw Acquisition

Crow-Claw is Crow-Eye's specialized acquisition engine for collecting and preserving artifacts from live systems or mounted images.

  • Selective collection — choose specific artifact categories (Registry, Event Logs, File System) or collect everything.
  • Deep scanning — walks directories and subdirectories to find forensic traces.
  • Secure preservation — artifacts land in a structured case directory that maintains forensic integrity.

🔍 Offline Analysis (Offline Importer)

Analyze artifacts collected from any source without a live connection to the target — three clear operations:

  • Source — a folder (subfolders included by default) or individual files picked with Select Files; the type filter narrows either (Registry Hives, Prefetch, Jump Lists, Event Logs, MFT, USN Journal, Recycle Bin, AmCache, ShimCache, SRUM, Browsers).
  • SCAN (discovery) — walk the source and index every supported artifact by filename and extension pattern into the case's scan index. Nothing in the source is moved or written. Types are recognised by name, not by magic bytes; with Calculate SHA-256 on (the default) each file is read once to hash it.
  • COLLECT (acquisition) — copy the identified files into the case's live_acquisition folder: one folder per type (Registry_Hives, Prefetch, C_AJL_Lnk, EVTX_Logs, SRUM_Data, MFT_USN, …). Per-user hives, LNK files and Jump Lists keep their owner's Users\<name>\ folder, a hive keeps its .LOG files beside it, and browser profiles keep their folder tree. A file already in the case (same SHA-256) is listed as already in the case, not as a failure. Collect Artifacts after a SCAN copies the scanned files exactly as a direct COLLECT would. Files that fail are named and the run says "completed with N error(s)"; Cancel keeps everything copied so far, indexed and ready to parse.
  • PARSE (granular) — review identified items per type (AMCACHE, EVTX, PREFETCH, …) and parse selected files (or all) into the forensic database. Types are parsed one after another, in the same order as a live run; the loading screen then fills the tables and the Parse Status report says what each artifact did.
  • Parse automatically after collection (Settings → Parsing, on by default) — a COLLECT is followed straight away by a parse of exactly the files it brought in, through the same parse as the button; a SCAN still stops at a ready Parse Artifacts button. The same setting lets the main window's Parse Offline Artifacts scan and parse a case's never-scanned acquisition without asking, and sets the default of Image Parsing's Parse automatically after extraction. Turned off, every one of them stops with the Parse button ready, so what was collected can be reviewed first.
🔍 SCAN 📦 COLLECT
Action Discovery — identifies artifacts at their original location Acquisition — copies & preserves artifacts in the case folder
I/O impact Read-only on the source (files are read to hash them when hashing is on); nothing moved Read + write; physically duplicates artifacts
Organization Updates .artifact_scan_index.json metadata Organizes files into type-specific folders
Use case Fast triage to see if the source has relevant data Full forensic preservation for long-term analysis

Parsing is handled by Crow-Eye's dedicated offline parsers — the same artifact logic as live mode, operating on collected files: Prefetch, Registry, MFT, USN (plus the MFT/USN correlator), AmCache, ShimCache, SRUM, Event Logs, LNK/JumpLists, and Recycle Bin.

📎 Import Evidence (third-party data)

Beyond raw artifacts, Crow-Eye can take third-party forensic output straight into a case — Plaso, Autopsy, Volatility, or any custom export — and make it usable by the Eye and the Timeline without requiring a correlation run first.

Input What happens
.db / .sqlite Validated and copied verbatim into the case's Imported_Evidence/ folder. The schema is left untouched.
.csv / .json Auto-converted into a feather-shaped SQLite database via the canonical FeatherWriter, carrying feather_metadata that declares the table's primary timestamp — auto-detected from the column names — exactly like a natively collected feather.

Because the case database manager auto-discovers any .db under the case tree, imported evidence immediately becomes available to:

  • The Eye — queryable in natural language alongside native artifacts (the schema manifest is refreshed on import).
  • The Interactive Timeline — served as the imported artifact type, with working time-window filtering and time bounds.
  • The Correlation Engine — usable as a Feather for cross-tool correlation against native artifacts.

The importer is stdlib-only (sqlite3 / csv / json) and runs on a background worker, so large imports do not block the UI.

⚡ Live Analysis

Analyzes artifacts directly from the running Windows system, auto-extracting from their standard locations for real-time forensic analysis.

🗂️ Case Management

Every investigation is a case: a self-contained directory that organizes artifact databases and analysis output. Crow-Eye tracks recent cases (with favorites, tags, and status), validates a case on open, writes config atomically (crash-safe), and supports case config import/export and templates with ready-made semantic mappings.

🕰️ Interactive Timeline Visualization

Correlate events across artifacts on a unified temporal grid, with Heat Map, Week, and Day views — an identity-threaded, court-traceable story rather than a flat super-timeline.

The Timeline reads the case's parsed artifact databases directly and is independent of the Correlation Engine — you do not need to build feathers, author wings, or run a pipeline to use it. It applies its own lightweight temporal grouping (exact-timestamp and time-window correlation, grouping by application, path, or user) to relate events on the grid. Evidence brought in through Import Evidence also appears on the timeline as the imported artifact type, with working time-window filtering and time bounds.

Crow-Eye Interactive Timeline — scoped 24-hour lane view

The identity-threaded Timeline scoped to a single busy day (24-hour detail): the MFT/USN file-system, Browser, AI-Agent and Unified-Artifact lanes side by side, every mark labeled and placed by its exact time. Double-click any day in the Heat Map to zoom into its lanes.

📊 Chart Dashboards

Six dashboards, each opened by the Charts button above an artifact table — SRUM, MFT / USN, LNK & Jump Lists, Prefetch, User Activity and Browser. Every one draws a day-by-day heat strip (one cell is always one day, so a quiet stretch shows as one), six months at a time with a whole-range overview to jump through years of activity; drills from a day to an hour to an item; and ends at the item's full source record. Insights carry the records behind their counts, so "7 files ran from Temp" opens those seven files. The User Activity dashboard (Shell Items & Registry) covers twenty-seven registry tables — Shellbags, the MRUs, MUICache, User Shell Folders, shell extensions, and what the user ran: UserAssist, BAM, DAM, FeatureUsage, the Compatibility Assistant, file associations and the ProgramsCache — and opens filtered to the table it was launched from. The MFT / USN dashboard puts both sources on one strip: files created and modified from the MFT (counted as files, not rows) and one row per USN reason flag, each in its own colour; every count is taken over all the case's records, and journal-only events keep their names and folders, rebuilt from the journal when the folder is gone from the MFT. Renames read as old name → new name (with the folder when the file moved) — in the day's list, in a file's history and as an insight — and every list pages through all its records, down to an all records list across every day. A search accepts a path as Windows writes it (C:\Users\…).

Crow-Eye MFT/USN dashboard — file-system activity for a day

The MFT / USN dashboard for a single day: files created, modified and renamed (old → new, rebuilt from the journal), an Anomalies & anti-forensics panel (timestomp candidates, deleted-but-still-in-MFT, alternate data streams), USN records broken down by reason, and the most active directories and file types — every count taken over all the case's records.

Crow-Eye SRUM dashboard — per-app resource and network usage

The SRUM dashboard: every application that ran on a day laid out hour by hour, with bytes sent/received per app, CPU cycles, disk bytes and user presence — so network-heavy or off-hours activity stands out at a glance.

🔎 Search & Export

Full-text search across the case database, plus export to CSV (spreadsheets), JSON (integration with other tools), and Detailed HTML reports (full dossiers consolidating every artifact tied to a search term).

🔗 Dynamic Linking

Translate raw technical identifiers — SIDs, MAC addresses, hashes — into human-readable context on the fly. Dynamic Linking enriches the view using non-destructive SQL ATTACH queries, so the original evidence is never modified, and it can ingest bulk IOC threat feeds to flag known-bad indicators inline.

🧠 User Behavior Analytics (UBA)

Turn raw artifacts into a plain-English activity story — a manager/HR-readable account of what a user and their applications actually did, with every statement traceable to the exact source evidence.

User Behavior Analytics (UBA) reads the parsed artifact databases in your case's Target_Artifacts/ folder (strictly read-only) and replays them through a declarative rule set to produce a clear, chronological Activity Story. Open it from the "User Behavior" toolbar button or with Ctrl+Shift+B (a case must be loaded).

  • 🧩 81 declarative behavior detections (uba/config/behavior_rules.json) — tunable without code — each classified by severity: routine · notable · suspicious · critical.
  • 🕵️ Detects behavior that matters: sign-in / sign-out / unlock, program launch · execution · install, file open / delete / inferred copy, USB device connection, network-share access, persistence & autostart, explicit-credential use (runas), account & group changes, service changes, system-clock tampering (suspicious), and event-log clearing (critical).
  • 🗺️ Three views — an Activity Story feed, an Activity Map heatmap (day × hour), and a "What we can see" honesty report that labels each detection Working / Limited / No data / By design for this case.
  • 🔗 Every activity is evidence-backed. Click any item to open the exact backing record (database : table : rowid) — nothing is asserted without a source.
  • 👤 Honest attribution. Actors resolve to User / Application / System (or are left empty) — UBA never guesses who did what.

Detection Coverage

The 81 detections span four severity classes and the full breadth of the parsed artifact set:

Category Detections include
Identity & access Sign-in / sign-out, workstation unlock, remote-desktop logons, admin logons, explicit-credential use (runas), account creation and changes, admin-group additions
Execution Programs opened (UserAssist), programs run (Prefetch, expanded to per-run events), process creation (4688), program presence (ShimCache / AmCache / MUICache), application installs, application crashes (from Application Event Log 1001 records)
File activity File open / create / delete / copy / rename — renames show the full name history (old → … → current) reconstructed from the USN Journal, with soft-delete ($R/$I) resolution
Navigation Folder browsing (ShellBags), recent documents, typed locations, website visits
Browser Daily browsing and web searches (search-engine pages and what was typed into the address bar); visits to curated site categories — file-sharing, paste, anonymiser (Tor / .onion, web proxies, throwaway e-mail), cryptocurrency, remote-access & tunnels, AI chat, hacking resources (uba/config/site_categories.json, data not code); inferred uploads (a form submitted to a file-sharing or paste site); downloads graded once each — flagged, risky source (public raw IP, plain http, risky site; never 127.0.0.1), program / script / installer (double extensions called out) — and downloads the browser opened; chat apps (Discord, Slack, Teams, Signal…); crypto-wallet extensions; tabs open at the last exit; media playback; extensions, saved logins by site category, sync, history gaps. Tokens, wallet vaults, typed form text, autofill values and saved usernames are never read
Devices & network USB device connect, device presence, network shares, network connections, per-application data transferred (SRUM)
Persistence & system Autostart persistence (Run keys + services, escalated when the target runs from a user-writable path), service and driver installs, service state changes, system start/shutdown, clock changes, event-log clearing

Filters: free-text search · user/actor (including "Unattributed" and a signed-in-session toggle) · behavior class (user / application / system) · severity · application (searchable multi-select across 200+ programs) · datetime range with quick presets (all time / first day / last day / last hour of activity).

Data sources: Security, System and Application Event Logs · USN Journal · MFT · UserAssist · BAM · Prefetch · ShimCache · AmCache · MUICache · ShellBags · LNK / JumpLists · Recycle Bin · SRUM (application, network, connectivity) · registry hives · browser databases (Chromium, Firefox, Electron apps).

Forensic Guarantees

  • Read-only. Source databases are opened read-only; the analysis never touches the evidence.
  • Full provenance. Every event carries database → table → rowid and opens the real source rows on demand.
  • Attribution never guesses. An event is attributed to a User, an Application, the System — or left empty. Interactive logon sessions are used only as context labels ("during <user>'s session"), never to attribute an action.
  • Honest wording. The phrasing distinguishes deliberate interaction (UserAssist, SRUM foreground) from artifacts an application can also generate (ShellBags, LNK, JumpLists), with explicit caveats shown on the card.
  • Absence is stated, not implied. The What we can see report labels every detection for this specific case, so missing data is never silently read as "nothing happened".

UBA is rule-driven behavioral correlation and classification, not statistical/ML anomaly scoring — every finding maps to an explicit, auditable rule. See RELEASE_NOTES.md for the full detection catalogue.

🤖 AI Agent Forensics

AI coding agents now run programs, change files and drive browsers on Windows machines of their own accord — and they leave a rich trail. Crow-Eye finds every AI agent on the machine — Claude Code (CLI and desktop), OpenAI Codex, Gemini CLI, Copilot, Antigravity and the VS Code agents (Roo / Kilo / Cline) — live or inside a forensic image, and reconstructs exactly what each one did.

What it reads

  • Sessions & prompts — what the agent was asked, and who sent each prompt.
  • Commands — every command the agent ran, with the program it started, its exit code and its duration.
  • File changes & saved versions — the files an agent wrote or edited, listed and hashed; a button copies the chosen versions into the case, and a setting (off by default) copies them all at parse time.
  • Browser control — the web pages an agent drove (claude-in-chrome / computer-use steps).
  • Permissions & processes — the permissions and MCP servers in force, and the processes the agent started, matched to their PIDs.
  • The profile owner's SID is on every AI table, and credential files are never opened.

Linked to Windows' own record. Every AI step is joined to the artifact that recorded the same act — a command to Prefetch, SRUM, Amcache, ShimCache and EID 4688; a file change to MFT, USN and the saved versions; a page to browser history — each link naming its rule and both rows. On the Timeline an AI badge marks the Windows rows that recorded an AI step, and a dedicated AI Agents dashboard shows what the agents ran and changed. The Correlation Engine carries AI-agent feathers and Wings, so you can prove the program an agent asked for really ran, and when.

Who drove it. Alongside the AI trail, Crow-Eye's UBA labels every activity as a person, a person working remotely, a program on its own, or automation (a script or an AI agent), and says whether a program was the window in front while it ran — so you can tell human activity from agent activity at a glance.

Crow-Eye AI Agents dashboard — what the agents ran and changed

The AI Agents dashboard: sessions and acts per day, the programs the agents started (each corroborated against Prefetch), insights such as failed commands, approvals-off sessions and lost transcripts, and the full command table — program, time and the exact command line.

🧩 Correlation Engine

Correlation Engine v1.7.0 — the reconstruction core. See RELEASE_NOTES.md for release history.

The Crow-Eye Correlation Engine is a production-grade forensic correlation system. It ingests Windows artifacts from any source, normalizes them, and surfaces the temporal and identity relationships that turn isolated records into a coherent narrative of what happened on a system, when, and who was involved. It works out of the box with built-in correlation rules (Wings) for the most common investigation questions, lets analysts author custom rules without touching code, and defers meaning to authorable rules and the investigator — never to a black-box score.

🎥 User Guide

Correlation Engine User Guide

Universal Data Import: The Correlation Engine can take output from any forensic tool in CSV, JSON, or SQLite format and convert it into a Feather database. This means you can correlate data from third-party tools (Plaso, Autopsy, Volatility, etc.) with Crow-Eye's native artifacts, creating a unified correlation analysis across all your forensic data sources.

🎯 Accuracy & Evidence-Completeness

A focused accuracy pass from the 0.11.0 cycle, validated end-to-end against a real ~700K-record Windows case and layered on top of earlier reliability work. Every fix below is locked by the pytest regression suite and verified by a holistic validation harness; it exercised the seven default wings that shipped at the time — 35 ship today. The match counts quoted below were measured under the rules of that release: 0.13.0 changed what counts as a match (a match must now span more than one feather) and what a confidence score means, so treat them as a record of that pass rather than as current figures.

The identity engine captures all the evidence

  • Fixed: the identity engine was iterating only the FIRST row of every feather when a time filter was active (a timezone-aware vs naive datetime comparison raised TypeError and aborted the per-row loop). Records-seen jumped from 3,558 → 745,615 on the validation case.
  • Fixed: log records collapsed every event to its event PROVIDER as the identity (all 33,855 SecurityLogs records shared one identity). The per-artifact mapping now prioritises real per-row entities (User, ComputerName, NewProcessName, TargetUserName) before channel/provider metadata.
  • Fixed: artifact-aware field mapping never fired because parsers don't stamp an artifact column on each row. The engine now falls back to feather_metadata.artifact_type, so SecurityLogs / SystemLogs / ApplicationLogs use their artifact-specific identity priority.
  • Fixed: placeholder strings became false identities ('N/A', 'Unknown', '-', nil-GUIDs bundled unrelated records together). The validator now rejects 30+ placeholder variants.
  • Net result on one full-range window, as measured then: the Execution Proof wing surfaced 2,856 cross-feather (High) matches in the identity engine and 643 cross-feather matches in the time engine, with 24–118 cross-feather matches per wing across the other six wings of that release.

No more "everything is Low — something is wrong"

  • Fixed: single-feather matches were tagged High. Matches with feather_count == 1 now get confidence_category="Low - single feather", so the High view focuses on real cross-feather correlation.
  • Fixed: a path-aware composite key was splitting the same identity across feathers (each feather stores paths differently, so chrome had 10+ keys and never correlated). The key is now name-only — cross-feather correlation works again.

Impersonation detection via path classification — after a match is formed, the engine classifies every record's path as TRUSTED (Program Files, System32, WinSxS, the BAM/SRUM /device/harddiskvolumeN/... forms, …) or SUSPICIOUS (Temp, Downloads, Public, AppData\Local\Temp, Recycle Bin, removable roots, network shares). A match spanning both classifications raises impersonation_alert (≈0.05% rate, each a real candidate).

Honest evidence accounting — a per-window drop ledger with named buckets (no_identity_field, normalize_failure, below_threshold_skipped, …) plus a per-pipeline summary (records seen, high/low emitted, no-identity, drop buckets, timeless-feather joins). Every record either lands in a match or in a named drop bucket — "no evidence left over" is verifiable from the log. low_confidence_review_mode is ON by default, so below-threshold groups become Low-confidence matches instead of silently vanishing.

Timeless-feather identity enrichment — feathers without per-row timestamps (AutoStartPrograms, MUICache, SystemServices, TypedPaths) no longer get a fake generation-time stamped on every row; instead, after timed matches form, the engine joins matching records from every timeless feather by identity as supplementary evidence.

Consolidated identity registry — config/standard_fields/identities.json is the single source of truth for every column the engines + Eye should consult: 98 categories, 1,146 column synonyms (app/process, file, hash, user, host/device, network, registry, service/task, event, email, browser, cloud, Windows internals, certificate, container, OS objects). Adding a new column synonym is a JSON edit, not a code change.

Semantic-mapping false-positive fixes — multi-indicator gating now actually enforced (data-exfiltration-pattern requires ≥2 indicators); impossible AND rules (4625 AND 4624) rewritten as OR; wiper/remote-tool rules use real regex instead of firing on every Prefetch entry; baseline-activity rules demoted from high/critical to info/low (the wing's weighted scoring escalates real threats).

✅ Production Status

The Correlation Engine is production-ready and actively used in investigations (Correlation Engine v1.7.0):

  • ✅ Time-Window Scanning Engine — production-ready, recommended for time-based analysis (O(N log N))
  • ✅ Identity-Based Engine — production-ready, recommended for identity tracking (O(N log N))
  • ✅ Behavioural Engine — chains of one person's behaviours from UBA (18 Behaviour Wings)
  • ✅ Feather Builder / FeatherWriter — imports CSV/JSON/SQLite from any tool; transactional batching + schema metadata
  • ✅ Wings System & Pipeline Orchestration — create/manage correlation rules and automate workflows
  • ✅ Identity Grouping — unified across engine, viewers, and the semantic phase
  • ✅ Standard Fields Registry — centralized field-synonym source of truth
  • ✅ Multi-timestamp Fan-Out — every JSON-list timestamp correlated
  • 🔄 Parallel Correlation — foundation in place; profiling + process-pool dispatch next
  • 🔄 Semantic Mapping & Correlation Scoring — active enhancements

Key Features

  • 🔄 Three Engines, One per Wing Category: Time-Window Scanning and Identity-Based (both O(N log N)) over feathers, and the Behavioural engine over UBA's behaviours, one person at a time. A Wing's category (Time, Identity, Behaviour) decides which engine runs it.
  • 📊 Multi-Artifact Support: Correlate Prefetch, ShimCache, AmCache, Event Logs, LNK files, Jumplists, MFT, USN, SRUM, Registry, RecycleBin, and more.
  • 🔌 Universal Import: Import CSV/JSON/SQLite output from any forensic tool and convert to Feather databases.
  • 🎯 Smart Identity Grouping: Variants like Chrome.exe/chrome.dll/Chrome.EXE collapse to one bucket; versions and architectural qualifiers stay distinct.
  • 🕒 Tolerant Timestamps: FILETIME, ISO 8601, Unix epoch (s/ms/μs), YYYYMMDD, US slash, and annotated strings all parsed correctly on the first try.
  • 📈 Multi-Timestamp Fan-Out: JSON timestamp lists (Prefetch run_times) expanded so every execution gets its own correlation event.
  • 🧰 One Source of Truth: Field synonyms in config/standard_fields/*.json; per-table metadata in correlation_engine/config/feather_schemas.json — extend by editing JSON, not code.
  • ⚡ Streaming + Thread-Safe: O(1)-memory query_time_range_iter; lock-protected feather caches; ready for parallel correlation.
  • 🔍 Flexible Rules: Define custom correlation rules (Wings) with configurable parameters.
  • 📋 Honest Diagnostics: Per-window stats line (records_in / no_identity / parse_cache_hits / below_threshold / matches_emitted) so you always know if evidence was dropped.
  • 🧪 Locked-In Quality: A pytest regression suite covering timestamp parsing, identity normalization, fan-out, the writer contract, Eye authoring (write-side GEP governance), and the standard-fields registry.

System Architecture

The Correlation Engine consists of four components. Data flows through them in one direction:

%%{init: {"flowchart": {"nodeSpacing": 30, "rankSpacing": 44, "curve": "basis", "padding": 14}, "themeVariables": {"fontSize": "14px"}} }%%
flowchart TB
    SRC[("Case databases<br/>Target_Artifacts/ · Imported_Evidence/")]
    F[["① FEATHERS<br/>one normalized SQLite per artifact<br/>feather_metadata · feather_lineage"]]
    W["② WINGS<br/>JSON rules: which feathers, their weights<br/>and tiers, time window, minimum matches"]
    SEL{"EngineSelector"}
    ID["③ IDENTITY ENGINE<br/>who / what first, then when"]
    TW["③ TIME-WINDOW ENGINE<br/>when first, then who / what"]
    BH["③ BEHAVIOURAL ENGINE<br/>one person, steps in order"]
    UBAE[("UBA behaviours<br/>UBA/uba_events.db")]
    P["④ PIPELINE<br/>create feathers → run wings → report"]
    RES[("correlation_results.db")]

    SRC -- "auto-generated · or Feather Builder import" --> F
    F --> W
    W --> P
    P --> SEL
    SEL -- "identity_based (default)" --> ID
    SEL -- "time_window_scanning" --> TW
    SEL -- "behaviour Wings" --> BH
    UBAE --> BH
    ID & TW -- "matches · scores · drop ledger" --> RES
    BH -- "hits: pointers to behaviours" --> RES

    classDef store fill:#92400e,stroke:#fbbf24,stroke-width:2px,color:#fffbeb
    classDef comp  fill:#1e40af,stroke:#60a5fa,stroke-width:2px,color:#eff6ff
    classDef eng   fill:#6b21a8,stroke:#c084fc,stroke-width:2px,color:#faf5ff
    class SRC,RES,UBAE store
    class F,W,P,SEL comp
    class ID,TW,BH eng
    linkStyle default stroke-width:2px
Loading

1. 🗄️ Feathers (Data Normalization)

What they are. A feather is one SQLite database per artifact type, holding that artifact's records in a normalized, queryable shape, plus two bookkeeping tables: feather_metadata (artifact type, source, record count) and feather_lineage (where every row came from).

How they are made.

  • Automatically, from the case. correlation_engine/integration/auto_feather_generator.py builds feathers from the case databases into Correlation/feathers/, using 41 built-in artifact-to-feather mappings (*_CrowEyeFeather). The columns each feather declares come from config/feather_schemas.json, the timestamp format is read from a sample of the data, and the copy runs inside SQLite (ATTACH + INSERT … SELECT) several feathers at a time. Each feather is built beside the old one and swapped in only when complete, so a failed or cancelled build never removes a working feather. feather_metadata records a fingerprint of the source database, and a feather whose source has changed since is rebuilt when the case opens.
  • From any other tool. The Feather Builder (python -m correlation_engine.feather.feather_builder opens its window) and Import Evidence turn CSV, JSON or SQLite output — Plaso, Autopsy, Volatility or anything else with headers — into a feather: automatic column mapping, data-type detection and timestamp normalization.
Any Tool Output → Feather Builder → Normalized Feather Database
(CSV/JSON/SQLite)                   (SQLite with standard schema)

prefetch.db (Feather)
├── feather_metadata   artifact type, source, record count
├── feather_lineage    where each row came from
├── prefetch_data      executable_name, path, last_executed, hash …
└── indexes            timestamp, name, path

2. 🎯 Wings (Correlation Rules)

What they are. A Wing is a JSON rule that answers one investigative question — was this program executed?, was a USB device used? — by naming the feathers that can prove it, how much each one counts, and how close in time they must be. 35 default Wings ship in correlation_engine/integration/default_wings/. Eleven Identity Wings: account logon, anti-forensics, brute force and spray, execution proof, execution without trace, lateral movement, persistence, ransomware mass encryption, security-control tampering, USB and removable media, and user activity; six of them also ship as Time Wings. Eighteen Behaviour Wings follow one person through UBA's behaviour events: log clearing after an admin sign-in, enumeration then run-as then a new service, USB storage then mass copy, the ordered lateral-movement chain, ransomware bursts with and without recovery inhibition, mass deletion, files gathered then uploaded, an anonymiser around an upload, a risky download later opened, a remote-access or hacking site then a program download, a Defender exclusion near new persistence, failed sign-ins then a success, a network share then mass copy, an off-hours sign-in then a credential tool, a risky visit then a gap in browser history, and an unattributed log clear after an admin sign-in. Every Wing is authorable and sealed — it records who wrote it, why, and the evidence that motivated it.

Key fields (from the shipped Execution Proof wing):

{
  "wing_id": "default_wing_execution_001",
  "wing_name": "Execution Proof Correlation",
  "proves": "…",
  "time_window_minutes": 180,
  "minimum_matches": 1,
  "anchor_priority": ["Prefetch", "ShimCache", "AmCache", "LNK", "Jumplists", "SRUM", "MFT", "Logs", "Registry"],
  "use_weighted_scoring": true,
  "feathers": [
    {"feather_id": "prefetch",  "artifact_type": "Prefetch",  "weight": 0.40, "tier": 1},
    {"feather_id": "shimcache", "artifact_type": "ShimCache", "weight": 0.25, "tier": 1},
    {"feather_id": "amcache_app", "artifact_type": "AmCache", "weight": 0.15, "tier": 2}
  ],
  "scoring": {"score_interpretation": {
    "confirmed": {"min": 0.7}, "probable": {"min": 0.4}, "weak": {"min": 0.2}, "not_proven": {"min": 0.0}
  }}
}

The real wing lists fourteen feathers. Other fields: description, author, created_date, version, target_application, target_file_path, target_event_id, apply_to, semantic_rules, tags, case_types.

minimum_matches counts the corroborating feathers: a match needs the anchor plus that many more, in both engines. The targets (target_application with apply_to: specific, target_file_path, target_event_id) narrow the evidence a Wing reads, and a shipped Wing whose rules an analyst edited keeps those edits when the defaults are reloaded.

3. ⚙️ Engines (Correlation Strategies)

Structural links come first; the weighted score is layered on top as interpretation and ranking, never as the basis for a match. A match must span more than one feather — a single artifact corroborates nothing.

Identity-Based Engine (engine/identity_correlation_engine.py) — the default. Best for "what did this program, file or account do?"

  1. Extract and cluster identities — every record's name, path and hash are normalized (119 field patterns: 48 name, 48 path, 23 hash) and records are grouped by identity, so Chrome.exe, chrome.exe and C:\…\chrome.exe become one subject.
  2. Build temporal anchors inside each identity cluster (180-minute windows by default, or the wing's time_window_minutes).
  3. Choose the primary anchor for each cluster from the wing's anchor_priority.
  4. Enrich semantically — the identity-level semantic phase applies the mapping rules.
  5. Score each match with the wing's weights.
  6. Write results, streaming at constant memory once a run passes 5,000 anchors.

Time-Window Scanning Engine (engine/time_based_engine.py) — best for "what happened around this time?"

  1. Find the time range from the data itself (no fixed starting year).
  2. Step through it in windows of the wing's time_window_minutes (180 by default, at most 1,440).
  3. Collect each window's records from every feather, then filter and normalize their identities.
  4. Group by identity within the window and keep only groups that reach the corroboration floor (records from at least two feathers).
  5. Score each surviving group with the wing's weights. Duplicate records inside a window are counted in the diagnostics, not silently discarded.

Behavioural Engine (engine/behavioural_engine.py) — best for "did this person do A, then B, then C?"

  1. Read no feathers. Its input is the behaviours User Behavior found (<case>/UBA/uba_events.db), each attributed to a person (SID).
  2. Walk each person's behaviours in time order and find the Wing's steps, in order or in any order, within within_minutes; two people's actions are never chained together.
  3. Write each hit to behaviour_hits / behaviour_actors / behaviour_runs in correlation_results.db: a hit is a pointer to the behaviours that matched, each of which points back to its artifact rows. Behaviour Results lists them, and Open in User Behavior shows the behaviours themselves.

Scoring (engine/weighted_scoring.py): score = the sum of the matched feathers' weights ÷ the sum of all the wing's weights, from 0 to 1. The wing's score_interpretation bands turn the number into words — Confirmed, Probable, Weak, Not proven.

Semantic rules label matches after correlation, through one meaning in both rule paths: a * (wildcard) condition means the field is present and not empty, and an AND between conditions on the same feather must hold on one row of it. Match ids are derived from the execution, so a rerun of the same case gives the same ids.

Behaviour is context, not corroboration. UBA's behaviour events are derived from the same artifact rows the engines correlate, so they never count toward a Wing's floor or its score. What they add is who and what: after a Time or Identity run, each match gains a behaviour_context - the people and the UBA activities recorded for the same program or file within 30 minutes of the match - shown in the match detail as "Behaviour (UBA)". UBA's events are also a feather (Behaviour_Events_CrowEyeFeather, built from <case>/UBA/uba_events.db with a program and a path taken from each event's details) that a Wing can include as context.

Engine selection: Identity-Based for following one subject across artifacts; Time-Window for reconstructing a period. Both read feathers through indexed timestamp queries.

4. 🔄 Pipelines (Workflow Orchestration)

What they are. A pipeline (config/pipeline_config.py) bundles feathers, wings, an engine type (identity_based by default) and an optional time period (the last 365 days by default) into one repeatable run.

Pipeline workflow (pipeline/pipeline_executor.py):

  1. Load the configuration — feathers, wings, engine type, filters.
  2. Create the engine through the EngineSelector; if the requested engine cannot be built, fall back to the Identity engine rather than fail.
  3. Create feathers that do not exist yet (when auto_create_feathers is on).
  4. Execute every wing against its feathers.
  5. Collect the results — matches, scores and the per-window drop ledger — into correlation_results.db.
  6. Generate the report and display the results in the Results Viewer.
{
  "config_name": "investigation_pipeline",
  "pipeline_name": "Investigation Pipeline",
  "engine_type": "identity_based",
  "wing_configs": [{"config_name": "execution_proof_correlation"},
                   {"config_name": "usb_removable_media_correlation"}],
  "feather_configs": [{"config_name": "Prefetch_CrowEyeFeather"},
                      {"config_name": "ShimCache_CrowEyeFeather"}],
  "auto_create_feathers": true,
  "auto_run_correlation": true,
  "time_period_start": "2024-01-01T00:00:00",
  "time_period_end": "2024-12-31T23:59:59"
}

How It All Works Together

1. Data preparation   Case databases → auto-generated feathers (or Feather Builder imports)
2. Configuration      Wings + feather references → pipeline config
3. Execution          Pipeline executor → EngineSelector → Identity, Time-Window or Behavioural engine
4. Correlation        Engine loads feathers, applies each wing → correlation_results.db
5. Review             Results Viewer GUI — and the Eye, which queries the results on demand

Example Use Case: Finding Execution Proof

Scenario: prove that malware.exe was executed on a system.

Step 1 — Feathers. Load a case and click RUN CORRELATION: feathers are generated from the case databases automatically. Output from another tool is added with the Feather Builder or Import Evidence.

Step 2 — Wing. Use the shipped Execution Proof wing, or copy it and set target_application to malware.exe.

Step 3 — Pipeline. Run it from the Correlation Engine window, or from code:

from correlation_engine.pipeline import PipelineExecutor
executor = PipelineExecutor(pipeline_config)
results = executor.execute()

Step 4 — Results.

Identity: malware.exe
  Anchor 1 (2024-01-15 10:30:00):
    ✓ Prefetch: malware.exe executed at 10:30:00
    ✓ ShimCache: malware.exe modified at 10:30:15
    ✓ AmCache:  malware.exe installed at 10:29:45

  Score 0.43 → Likely Execution
  (0.80 of the wing's 1.85 total weight: 3 of its 14 feathers corroborate)

Performance Benchmarks

Records Time-Window Engine Identity-Based Engine
1,000 0.5s 2s
10,000 5s 15s
100,000 50s 2.5 min (streaming)
1,000,000 — 25 min (streaming)

Getting Started with the Correlation Engine

  1. Launch: click RUN CORRELATION in Crow-Eye, or run python -m correlation_engine.gui
  2. Create Feathers: import your forensic artifacts (Prefetch, ShimCache, …).
  3. Create Wings: define correlation rules for your investigation.
  4. Create a Pipeline: configure which wings and feathers to use.
  5. Execute: run the pipeline and view correlated results.
  6. Analyze: use the Results Viewer to explore temporal relationships.

📚 Correlation Engine Documentation

👁️ Eye — The Forensics AI Assistant

A powerful assistant, not a replacement. Eye automates and verifies an investigator's hypotheses — it never makes the call for you.

Eye is Crow-Eye's built-in forensics AI assistant: a skilled forensic investigator backed by a real knowledge base of Windows artifacts. It gives you a natural-language interface to query, correlate, and document everything in a case — Prefetch, MFT, Registry, Event Logs, AmCache, ShimCache, SRUM, and more — while keeping an auditable, tamper-evident record of exactly what it did. Eye can run entirely on your own hardware (including fully air-gapped), in keeping with Crow-Eye's "0 ms data sent off-device" privacy stance. Full architecture: eye/README.md.

Crow-Eye Eye — AI forensic assistant with a live Living Report

Eye at work: the natural-language conversation on the left, and the auto-built Living Report on the right — findings, a generated authentication-patterns chart and a credential-logon table, all traceable to source records.

Capability What it means for you
Natural-language investigation Ask in plain English; Eye writes the SQL and searches for you.
Multi-source integration Unified access across all parsed artifacts in the case.
RAG-enhanced analysis Eye pulls artifact-specific forensic knowledge before answering.
Living Report Workspace Findings, tables, charts, and timelines are documented in real time.
Human-in-the-loop Critical actions (e.g. report export) require your explicit approval.
Chain of custody Cryptographic proof of exactly what the model analyzed.

Eye turns conversational questions ("show me what executed from C:\Temp after 22:00") into real forensic work: it plans an approach, retrieves relevant artifact knowledge, runs SQL and cross-artifact searches against your case databases, and synthesizes a validated answer. Every answer is produced in two places at once — a chat reply for you, and a structured block written into a Living Report Workspace so the dossier builds itself as the investigation proceeds.

The Ghassan Elsman Protocol (GEP)

Everything Eye does is anchored to the Ghassan Elsman Protocol (GEP) — a vendor-neutral, tool-agnostic standard for how any AI should be used in digital forensics. It is 10 principles a conforming system must uphold so AI-assisted findings stay truthful, traceable to source records, and backed by an auditable, tamper-evident chain, with the human investigator in control:

# Principle In one line
GEP-1 Evidence Primacy Conclusions come only from artifacts actually examined.
GEP-2 Traceability Every fact links to a specific source record.
GEP-3 Specificity & Chronology Exact UTC timestamps, identifiers, and paths, ordered in time.
GEP-4 Cross-Corroboration Rest on multiple sources; report agreement, silence, and conflict.
GEP-5 Premise Verification Treat human claims as hypotheses to prove or refute.
GEP-6 Completeness Never silently drop or truncate evidence.
GEP-7 Integrity & Non-Repudiation Never modify evidence; record what was seen and done, tamper-evidently.
GEP-8 Transparency & Explainability Reasoning, tools used, and data seen are visible and auditable.
GEP-9 Human Authority The investigator decides; durable actions are attributable.
GEP-10 Defensibility Output is objective, precise, and structured for independent review.

Crow-Eye's Eye is the reference implementation of the GEP; the in-product behaviors that uphold it are Operating Rules. 📜 Read the standard: eye/docs/GEP_standard.md.

Deployment Modes

Eye adapts to your threat model through three deployment modes:

Mode Best for Backends
☁️ Cloud AI Models Deep, complex analysis with maximum compute OpenAI, Anthropic (Claude), Google Gemini
🔒 Offline AI Server (air-gapped) Zero-exposure, on-premise investigations Ollama, LM Studio
⚡ CLI Terminal Agents Reuse an AI terminal agent you already have as the model Claude Code, Gemini CLI, ChatGPT CLI, llama.cpp, …

In CLI-agent mode, Crow-Eye drives an existing AI terminal/command-line agent as the model — instead of a cloud API or a local offline server — so you can investigate with the agent you already use.

The investigation loop:

  1. Open or create a case — Eye scopes itself to that case's artifact databases and history.
  2. Ask a question in natural language, or launch a one-click comprehensive triage.
  3. Eye runs its pipeline — detect intent → retrieve knowledge → execute tools → synthesize.
  4. You get a dual output — a direct chat answer and a new block in the Living Report.
  5. Approve gated actions — exports and other critical steps wait for your sign-off.

Setting it up. The first time Eye opens, a short setup (also Settings → Eye AI → Change backend) walks through the connection type, the provider, its endpoint or executable or API key, and the model — with Detect and Common models to pick one — then tests the connection before anything is saved. An API key is written to the OS credential store only after the test passes; reopened, the setup is pre-filled and says when a key is already stored. Settings → Eye AI shows the connection with a Test connection button.

You can change models at runtime with the switch_model tool. Switching is restricted to the same backend, so evidence is never silently sent to a different provider than the one you chose.

Tracing the LLM Thinking Process

Eye is built so you can see — and later prove — how it reached a conclusion. As Eye works, it streams structured ThinkingStep updates to the UI in real time; each carries a step_id, type, human-readable label, status (active → done, or error), and optional tool/params/detail.

Step type What you're seeing
thinking Eye planning — detecting forensic intent, building the system prompt, deciding next moves.
rag Eye retrieving artifact knowledge from its knowledge base to ground the answer.
tool_call Eye executing a forensic tool (a SQL query, a search, a correlation lookup).
synthesis Eye validating and assembling the final, evidence-backed answer.

A typical query unfolds as thinking → rag → thinking → tool_call → synthesis, and every case keeps on-disk trace artifacts you can inspect afterward:

File What it records
<case>/EYE_Logs/eye_payload_seal.jsonl The exact payloads sent to the model, hash-chained.
<case>/EYE_Logs/truncation_audit.log What context was kept, summarized, dropped, or pinned — and why.
<case>/case_history.json The full conversation history, with per-message token counts.

Tool Execution

Eye is tool-driven: the model never touches evidence directly. It emits tool calls, and Eye executes them against the case's databases and returns the results — so every action is explicit, logged, and reproducible. Tools are defined in configs/llm_config.json and dispatched through eye/services/context_manager.py.

Investigative tools — read and analyze evidence:

Tool Purpose
query_database Run a SELECT against a forensic database.
search_artifacts Cross-database text / regex search.
semantic_search_artifacts Semantic search across parsed artifacts.
get_schema Inspect table schemas.
query_timeline One chronological sweep across every database in the case — what happened, and when.
query_user_behavior Runs User Behavior Analytics once per case, then answers for any day, range or user — who did what, when, how sure, with the evidence rows.
query_correlation_results Query the Correlation Engine's output by time / identity.
read_imported_evidence Read third-party evidence imported into the case verbatim (reports, email, browser-tool output).
correlate_imported_evidence Correlate third-party evidence imported into the case against native artifacts.
analyze_large_dataset Map-reduce analysis of big result sets — no silent truncation.
list_case_files List files in the case directory.
internet_search / fetch_web_content Look up and fetch external threat / technical context.
query_living_off_the_land_intel LOLBAS / LOLDrivers lookups.
query_threat_intel VirusTotal / threat-intel lookups.
switch_model Change model at runtime (same backend only).

Reporting tools build the Living Report Workspace: report_append_section, report_add_data_table, report_add_chart, report_add_timeline, report_add_heatmap, report_add_chain_of_custody, report_add_chat_transcript, report_add_image, report_edit_section, report_delete_section, chat_add_table, and export_report (export requires human approval).

Authoring tools (governed — see Building Correlation Wings & Semantic Mappings): correlation_create_wing, correlation_edit_wing, correlation_create_semantic_mapping, correlation_edit_semantic_mapping. Tool calls are translated to whatever the active backend expects — native function-calling for cloud APIs and local servers, or an XML <tool_call> wrapper for CLI agents.

Building Correlation Wings & Semantic Mappings

Eye doesn't just query the Correlation Engine — it can help extend it. When Eye spots a recurring cross-artifact pattern, it can propose new Wings (correlation rules) and Semantic Mappings (technical-to-human translations). This is governed authorship: Eye proposes, the analyst reviews the saved artifact, and every change is justified and evidence-backed.

A Wing ties feathers together within a time window and a minimum-match threshold to prove a claim:

Field Meaning
wing_name Human-readable name for the rule.
proves The forensic claim it supports (e.g. program execution).
feathers[] Artifacts to correlate — each with artifact_type, optional weight (0–1) and tier (1–4).
time_window_minutes Correlation window (default 180 = 3 hours).
minimum_matches How many feathers must match within the window (default 1).
reason (required) Forensic justification for the rule.
related_evidence (required) One or more database:table:rowid refs that motivated it.

A Semantic Mapping translates a raw technical value into human-readable meaning (e.g. EventID 4624 → "Successful Logon"). It comes in two flavors: a simple mapping (single value/regex → semantic value) or a multi-condition rule (conditions joined by AND/OR). Both support category, severity, confidence, and scope, and both require reason + related_evidence.

Governance — write-side rules that uphold the GEP:

  • Reason-Required (upholds GEP-9 + GEP-2): every create and edit must include a forensic reason.
  • Evidence-Link (upholds GEP-2): every create must cite at least one database:table:rowid reference.
  • Eye-Stamped / read-only on others (upholds GEP-7 + GEP-9): Eye stamps its authorship + reason + edit history and may edit only what Eye authored — built-in and human-authored rules stay read-only.

Self-Healing Context

Long investigations can outgrow a model's context window — especially smaller offline models. Instead of crashing or silently dropping evidence, Eye auto-compacts its own context before every model call (inside its guarded generation path, fully audited).

Before each call, Eye measures the full payload and reserves room for the reply (10% of the window, min 512 tokens, never more than half). If it still doesn't fit, it heals in two ordered passes, never touching protected messages (pinned, auto-detected evidence, or a tool result):

  1. Summarize pass (once) — non-protected history collapses into one summary, logged SUMMARIZED.
  2. Drop pass — the oldest non-protected message is removed one at a time until it fits, logged TRUNCATED.

If the irreducible evidence core (pinned + tool results + the current question) still overflows, Eye refuses to proceed rather than truncate evidence (REFUSED_OVERFLOW) and asks you to narrow the query or use analyze_large_dataset. Whatever finally goes to the model is the exact payload that gets sealed for chain of custody.

🗺️ Narrative Map — The Eye's Persistent Case Memory

The Eye is stateless between turns — so the Narrative Map is where "what we know and what we've concluded" lives for a case. It is the Eye's persistent, auditable, tamper-evident working memory, and its contents are injected into the Eye's prompt on every turn (the map literally is the memory).

  • 🧭 Verdict → Narrative → Evidence. A strict hierarchy: one case Verdict, the Narratives beneath it (claims, each with a state — proven · open · negative · needs · absolute), and the artifact-backed Evidence beneath those.
  • 🪟 Its own window. Opens from the "Narrative Map" button in the Eye chat window, so you can watch the chat, the living report, and the case memory side by side; it live-refreshes as things change.
  • ↔️ Bidirectional — a memory you command. Both the Eye's edits and your own notes flow through a single GEP-validated commit and are sealed into a hash-chained audit log (narrative_map_audit.jsonl). You can add, edit, and remove its claims and evidence, directly shaping how the Eye understands and interprets the case.
  • 🚫 Never asserts the unsupported. An Eye narrative may stay open with no evidence while it investigates, but it can never be proven without evidence; a theme the Eye checked but found empty auto-converts to negative — because a documented absence is itself a finding.

How Compliance Works

Compliance isn't a feature bolted on top — it's enforced in the pipeline.

  • 🔗 Chain of custody (Evidence Seal). Every payload Eye sends to an LLM is sealed: the SHA-256 of the exact bytes, the token count, the model + its context limit, and the provenance of each evidence row (database:table:rowid, plus computed offsets for MFT records). Seals are append-only and hash-chained to <case>/EYE_Logs/eye_payload_seal.jsonl — a single altered or removed record breaks the chain, so the log proves mathematically which bytes the model analyzed.
  • 🚫 No silent truncation. When context runs tight, Eye self-heals and reallocates budgets in a strict order: Priority 1 (Immovable): Raw Evidence + the System Prompt › Priority 2 (Sacrificial): Casual Conversation › Priority 3 (Flexible): RAG Context. If the evidence core still won't fit, Eye refuses rather than quietly drop evidence.
  • 🧾 Truncation audit trail. Every context decision is logged to <case>/EYE_Logs/truncation_audit.log (SUMMARIZED, TRUNCATED, PRESERVED, PINNED, UNPINNED, BUDGET_REDUCED), each with a hash. Detected evidence is auto-pinned above a confidence threshold; you can also pin messages manually.
  • 📑 Evidence-to-Report mandate. Eye must answer in chat and persist the supporting evidence into the report; failing to record evidence is flagged as a protocol violation.
  • ⚖️ Correlation governance. Any Wing or mapping Eye authors must include a forensic reason and related_evidence; rules authored outside Eye are read-only and cannot be silently rewritten.
  • 🔐 Privacy & air-gapping. In offline modes Eye makes zero outbound calls; cloud API keys live in OS-native keychains — never hardcoded, never written to logs.

📖 Full Eye architecture: eye/README.md.

📖 Eye-Describe — Byte-Level Artifact Knowledge Base

🔗 Explore Eye-Describe → crow-eye.com/eye-describe

Historically, investigators fell into the trap of trusting their forensic tools without understanding how the underlying artifacts behave or how the tool parsed them. The risk today is simply replacing "the tool" with "the AI". An AI can parse a record with perfect technical accuracy and still place it in the wrong context — changing the entire meaning of the evidence.

Eye-Describe exists so that neither the human nor the model has to guess. It is an interactive, byte-level reference for the raw binary structures of Windows artifacts, and it serves two roles at once:

Role What it does
🧑‍🏫 The blueprint for the human An interactive educational reference to the deep byte-level anatomy of Windows artifacts — what each structure is, how it behaves, what it can and cannot prove. Free to use, aimed at students, educators, and practitioners who want to understand the evidence rather than the output column.
⚖️ The compliance anchor for the AI Eye's visibility is bound to the documented artifact behaviors in Eye-Describe. The model reasons against a hardcoded reference for what an artifact actually means, rather than inferring semantics on its own.

By anchoring the AI layer to documented artifact behavior, Crow-Eye is not asking you to trust a model — it is constraining the model to respect the raw forensics.

Don't replace tool trust with AI trust. Understand the data.

🧪 Quality & Validation

Forensic tooling is only useful if its output can be defended. Crow-Eye's correctness work is deliberately visible:

  • Regression suites. The Correlation Engine is locked by a pytest suite covering timestamp parsing, identity normalization, multi-timestamp fan-out, the writer contract, Eye authoring (write-side GEP governance), and the standard-fields registry. The UBA engine ships its own suite, including an end-to-end run against a real case.
  • Validation harness. A holistic harness exercised the seven default wings of the 0.11.0 release against both engines on a real ~700K-record Windows case.
  • Published defect history. Accuracy regressions and their measured impact are documented openly in RELEASE_NOTES.md — including cases where a fix changed records-seen by orders of magnitude. Knowing what was wrong, and when, is part of what makes a result defensible.
  • Verifiable evidence accounting. Every record either lands in a match or in a named drop bucket, and the per-window drop ledger makes "no evidence left over" something you can check from the log rather than take on faith.
  • Tamper-evident logs. verify_chain() re-walks the Narrative Map audit log and the Evidence Seal chain to detect modification — including of human-readable fields.

🔬 Research Platform

Crow-Eye is more than software — it's an open research platform accelerating the entire field of Windows forensics. The project focuses on:

  • Publishing detailed documentation on internal artifact structures.
  • Sharing correlation logic and methodologies.
  • Enabling peer review, transparency, and academic collaboration.
  • Contributing to the forensics community's collective knowledge.

🛠️ Technical Notes

  • Registry parsing requires complete registry hive files.
  • Some artifacts require special handling due to Windows file-locking mechanisms (see Custom registry / locked files).
  • LNK and Jump List parsing is handled by Crow-Eye's own dedicated parser.

📸 Screenshots

A selection of Crow-Eye's interface and analysis views. See also the Timeline, AI Agents, MFT/USN & SRUM dashboards and Eye above.

Crow-Eye User Activity dashboard (Shell Items & Registry)

User Activity dashboard — twenty-seven registry tables (Shellbags, the MRUs, MUICache, UserAssist, BAM/DAM, FeatureUsage, file associations) on one timeline of what the user touched and ran.

Crow-Eye Browser Forensics dashboard

Browser Forensics dashboard — history, downloads, cookies, cache and more across Chromium and Firefox profiles.

Crow-Eye Prefetch dashboard — program execution history

Prefetch dashboard — program-execution history: what ran, when, how often, and from where.

Crow-Eye screenshot

Crow-Eye screenshot

Crow-Eye screenshot

Crow-Eye screenshot

Crow-Eye screenshot

Crow-Eye screenshot

🎥 Demo video: Watch the demo

🚧 Roadmap

Planned and in-progress work (see RELEASE_NOTES.md for shipped changes):

  • 📊 Advanced GUI views & reports — richer visualization and reporting.
  • 🔄 Enhanced search dialog — advanced filtering with natural-language support.
  • 🎯 Enhanced semantic mapping — comprehensive field mapping across all artifact types.
  • 📈 Advanced correlation scoring — refined, explainable confidence scoring.
  • ⚡ Parallel correlation — process-pool dispatch, enabled by default for large workloads.

Have an idea or want to add an artifact? Open an issue or see Contributing.

📚 Documentation

🤝 Contributing

Crow-Eye is built as an open research platform, and contributions are welcome — new parsers, correlation rules, documentation, and artifact research.

🌐 Website & Community

  • 🌍 Official website: crow-eye.com — resources, documentation, and downloads.
  • 💬 Discord: Join the Crow-Eye Discord — direct help, artifact research, and release announcements.

📄 License

Crow-Eye is released under the GNU General Public License v3.0 (GPL-3.0). It is free to use, study, share, and modify under the terms of that license.

📝 Citing Crow-Eye

If you use Crow-Eye in academic work, published research, or a case report, please cite it:

@software{elsman_crow_eye,
  author  = {Elsman, Ghassan},
  title   = {Crow-Eye: A Windows Forensics Engine},
  url     = {https://github.com/Ghassan-elsman/Crow-Eye},
  license = {GPL-3.0},
  year    = {2026}
}

Plain text: Elsman, G. Crow-Eye: A Windows Forensics Engine (GPL-3.0). https://github.com/Ghassan-elsman/Crow-Eye

For methodology citations, the Ghassan Elsman Protocol is documented separately in eye/docs/GEP_standard.md.

💖 Support

Crow-Eye is free and open-source, built and maintained by one person. If it helps your work, please consider sponsoring — it directly funds new parsers and research: SPONSORS.md · GitHub Sponsors.

Credits

Created and maintained by Ghassan Elsman.

Releases

Sponsor this project

Packages

Used by

Contributors

Languages