AIFT
AI-powered DFIR triage for Windows and Linux. Upload a disk image, select artifacts, get a forensic report - in minutes, not hours. Runs entirely on your machine. No cloud, no external services. Built for incident responders who need speed without sacrificing control.
Install / Use
/learn @FlipForensics/AIFTQuality Score
Category
Development & EngineeringSupported Platforms
README
AIFT - AI Forensic Triage V1.4.1
Automated Windows and Linux forensic triage, powered by AI.
AIFT turns hours of manual artifact analysis into minutes. Upload a disk image, select what to parse, and get an AI-generated forensic report - all from your browser, all running locally on your machine. Supports both Windows and Linux disk images.
Built for incident responders who need fast answers, and simple enough for non-forensic team members to operate.
This project is under active development. Contributions are welcome. If you run into any bugs, let me know!
How It Works
Upload Evidence → Select Artifacts → Parse → AI Analysis → HTML Report
- Run the app - a local web interface opens in your browser.
- Upload evidence - drag-and-drop an E01, VMDK, VHD, raw image, or archive, or point to a local path for large images.
- Pick artifacts - choose from 25+ Windows or 19 Linux forensic artifacts, which will be parsed by Dissect.
- Get results - AI analyzes each artifact for indicators of compromise, correlates findings across artifacts, and generates a self-contained HTML report with evidence hashes and full audit trail.
No Elasticsearch. No Docker. No database. One Python script, one command.

Documentation
- User Guide: https://github.com/FlipForensics/AIFT/wiki
- Code Reference: https://flipforensics.github.io/AIFT/docs/
Example Reports
A publicly available test image (Compromised Windows Server 2022 Simulation by Benjamin Donnachie, NIST CFReDS) was used to compare AI providers. The analysis prompt included one real IOC (PsExec) and one not observed IOC (redpetya.exe) to test each model's ability to identify true findings and avoid false positives.
| Model | Cost | Runtime | Quality | Report | |-------|------|---------|---------|--------| | Kimi | $0.20 | ~5 min | :star::star::star: | View report | | OpenAI GPT | $0.94 | ~8 min | :star::star::star::star: | View report | | Claude Opus 4.6 | $3.01 | ~20 min | :star::star::star::star::star: | View report | | Local: qwen3:8b <br>(RTX 2070 8GB VRAM + 32k context window) | $0 | ~2.5h | :star: | View report | | Local: gpt-oss 120b <br>(DGX Spark 128GB (V)RAM + 128k context window) | $0 | ~20 min | :star::star::star: | View report |
Quick Start
1. Install
git clone https://github.com/<your-repo>/aift.git
cd aift
pip install -r requirements.txt
Python 3.10-3.13 is required. All dependencies are pure Python - no C libraries, no system packages.
Python 3.14+ is currently unsupported due to upstream dissect.target compatibility.
2. Run
python aift.py
The app starts and opens your browser to http://localhost:5000. On first run, a default config.yaml is created automatically.
3. Configure your AI provider
Click the gear icon (⚙) in the top-right corner of the UI. Select your AI provider and enter the required credentials:
- For Claude or OpenAI: paste your API key and click Save.
- For Kimi: paste your Moonshot API key and click Save.
- For a local model: enter your server URL (e.g.,
http://localhost:11434/v1) and model name.
Click Test Connection to verify everything works. That's it - you're ready to go.
4. Analyze your first image
- Upload evidence by dragging it into the upload area (E01, VMDK, VHD, raw images, ZIP, 7z, tar), or switch to Path Mode and enter the file path for large images or directories.
- AIFT opens the image or Triage Package.
- Select artifacts manually or click Recommended. You have the option to save your selected artifacts as a profile, and load them in future cases.
- Click Parse. Progress is shown in real time.
- Enter your investigation context (e.g., "Suspected unauthorized access between Jan 1-15, 2026. Look for new accounts and remote access tools. IOC identified: abc.exe").
- Click Analyze. Per-artifact findings stream in as the AI completes each one, followed by a cross-artifact summary.
- Download the HTML report and/or the raw CSV data.
- Chat with the AI about the results - ask follow-up questions, request correlations, or drill into specific artifacts without re-running the analysis.
AI Chat (Q&A)
After analysis completes, click Show Chat on the Results page to ask follow-up questions, request cross-artifact correlations, or drill into specific CSV data - the AI references its own prior analysis and automatically retrieves matching rows when needed.
AI Providers
AIFT supports four AI backends and can be run completely isolated. All configuration is done through the in-app settings page.
| Provider | What You Need | Notes | |----------|--------------|-------| | Anthropic Claude | API key from console.anthropic.com | Recommended for analysis quality | | OpenAI / GPT | API key from platform.openai.com | GPT-4o or later | | Kimi | API key from platform.moonshot.ai | Moonshot AI's Kimi K2 - OpenAI-compatible | | Local model | Any OpenAI-compatible server | Ollama, LM Studio, vLLM, text-generation-webui |
Ollama (local, free, private)
ollama pull llama3.1:70b
ollama serve
In AIFT settings: select Local, set URL to http://localhost:11434/v1, model to llama3.1:70b.
Important: set Analysis Max Tokens to match your model's context window (Settings > Advanced). For example, qwen3:8b with 32K context → set to 32000. Cloud models (Claude, OpenAI, Kimi) default to 128K and typically don't need adjustment.
When an artifact's data exceeds the context budget, AIFT automatically chunks the CSV across multiple AI calls so every row is analyzed. Chunk findings are then merged hierarchically - grouped into batches that fit the context window, merged by the AI, and repeated until a single result remains. This ensures no data is lost regardless of model size. The maximum number of merge rounds before fallback can be configured via Max Merge Rounds in advanced settings (default: 5).
A minimum of 32K tokens is strongly recommended.
Environment variables
API keys can also be set via environment variables instead of the UI:
export ANTHROPIC_API_KEY="sk-ant-..."
export OPENAI_API_KEY="sk-..."
export KIMI_API_KEY="sk-..."
Supported Artifacts
AIFT uses Dissect by Fox-IT (NCC Group) for forensic parsing - pure Python, no external dependencies. The OS type is detected automatically when the image is opened.
Windows (25 artifacts)
| Category | Artifacts | |----------|----------| | Persistence | Run/RunOnce Keys, Scheduled Tasks, Services, WMI Persistence | | Execution | Shimcache, Amcache, Prefetch, BAM/DAM, UserAssist, MUIcache | | Event Logs | Windows Event Logs (all channels), Defender Logs | | File System | NTFS MFT, USN Journal, Recycle Bin | | User Activity | Browser History, Browser Downloads, PowerShell History, Activities Cache | | Network | SRUM Network Data, SRUM Application Usage | | Registry | Shellbags, USB Device History | | Security | SAM User Accounts, Defender Quarantine |
Linux (19 artifacts)
| Category | Artifacts | |----------|----------| | Persistence | Cron Jobs, Systemd Services | | Shell History | Bash History, Zsh History, Fish History, Python History | | Authentication | Login Records (wtmp), Failed Logins (btmp), Last Login, User Accounts, Groups, Sudoers Config | | Network | Network Interfaces | | Logs | Syslog, Systemd Journal, Package History | | SSH | SSH Authorized Keys, SSH Known Hosts |
Only artifacts present in the image are shown. Unavailable artifacts are automatically grayed out.
Supported Evidence Formats
AIFT uses Dissect for evidence loading, which supports a wide range of forensic image and disk formats.
| Category | Formats | Notes |
|----------|---------|-------|
| EnCase (EWF) | .E01, .Ex01, .S01, .L01 | Split segments (.E02, .E03, ...) are auto-discovered in the same directory |
| Raw / DD | .dd, .img, .raw, .bin, .iso | Bit-for-bit disk images |
| Split raw | .000, .001, ... | Segmented raw images - pass the first segment |
| VMware | .vmdk, .vmx, .vmwarevm | Virtual disk and VM config (auto-loads associated disks) |
| Hyper-V | .vhd, .vhdx, .vmcx | Legacy and modern Hyper-V formats |
| VirtualBox | .vdi, .vbox | VirtualBox disk and VM config |
| QEMU | .qcow2, .utm | QEMU Copy-On-Write and UTM bundles |
| Parallels | .hdd, .hds, .pvm, .pvs | Parallels Desktop images |
| OVA / OVF | .ova, .ovf | Open Virtualization Format |
| XenServer | .xva, .vma | Xen and Proxmox exports |
| Backup | .vbk | Veeam Backup files |
| Dissect native | .asdf, .asif | Dissect acquire output |
| FTK / AccessData | .ad1 | Logical images |
| Archives | .zip, .7z, .tar, .tar.gz | Extracted and scanned for evidence files inside |
Evidence can also be provided as a directory path (e.g., KAPE or Velociraptor triage output for Windows, or UAC triage output for Linux).
For images over 2 GB, use Path Mode instead of uploading - enter the local file path and AIFT reads
