
शून्य-निर्भरता, सब-सेकंड Windows लाइव डिजिटल फोरेंसिक्स और इंसिडेंट रिस्पॉन्स (DFIR) ट्राइएज इंजन USB रिस्पॉन्डर्स के लिए।
शून्य-निर्भरता, सब-सेकंड Windows लाइव डिजिटल फोरेंसिक्स और इंसिडेंट रिस्पॉन्स (DFIR) ट्राइएज इंजन, जिसे त्वरित USB रिस्पॉन्डर के लिए डिज़ाइन किया गया है।
लाइव इंसिडेंट रिस्पॉन्स के दौरान, समय और गोपनीयता ही सब कुछ हैं। पारंपरिक ट्राइएज स्क्रिप्ट गंभीर कमजोरियों से ग्रस्त हैं:
History डेटाबेस को Windows फ़ाइल शेयरिंग हैंडल्स (dwShareMode) के माध्यम से लॉक कर देते हैं, जिससे मानक कलेक्टर क्रैश हो जाते हैं या विफल हो जाते हैं, जब तक कि ब्राउज़र को जबरन बंद न किया जाए (जिससे वोलेटाइल मेमोरी साक्ष्य नष्ट हो जाता है)।OmniTriage इसे सफाई से हल करता है: 100% शुद्ध Python स्टैंडर्ड लाइब्रेरी (winreg, sqlite3, ctypes, subprocess, hashlib, struct) में शुरू से बनाया गया। कोई pip install नहीं, कोई बाहरी बाइनरीज़ नहीं, शून्य डिस्क शोर, 1 सेकंड से कम में निष्पादन और संरचित JSON के साथ-साथ एक इंटरैक्टिव, स्टैंडअलोन डार्क-मोड HTML रिपोर्ट तैयार करता है।
ConsoleHost_history.txt) ह्यूरिस्टिक कीवर्ड फ्लैगिंग के साथ (IEX, DownloadString, mimikatz, bypass, vssadmin)।Win+R डायलॉग हिस्ट्री)।.exe, .dll, .bat, .ps1, .vbs, .js, .scr) के लिए %TEMP%, %APPDATA%, और %LOCALAPPDATA% को स्कैन करता है।.lnk शॉर्टकट गतिविधि ट्रैकिंग।USBSTOR के माध्यम से)।HKCU और HKLM Run और RunOnce ऑटोस्टार्ट कीज़ का ऑडिट करता है।Startup डायरेक्टरीज़ का निरीक्षण करता है।ngrok, duckdns, pastebin, discord webhooks) का पता लगाने के लिए लाइव रिज़ॉल्व्ड DNS एंट्रीज़ (ipconfig /displaydns) खींचता है।fDenyTSConnections) और Terminal Services लॉगऑन सेशन्स (Event ID 21/24/25) का ऑडिट करता है।IEX, DownloadString, mimikatz, encodedcommand) के लिए PowerShell ScriptBlock Logging (Event 4104) विश्लेषण।10ts संरचना) को पार्स करता है। हटाए गए मैलवेयर एक्ज़ीक्यूटेबल्स के ऐतिहासिक पथों का पता लगाता है!schtasks) का ऑडिट करता है जो %TEMP%, %APPDATA%, या Users\Public से बाहर चल रहे हों।Triage_<HOST>_<TIMESTAMP>.html) (पूरी तरह से ऑफ़लाइन सक्षम)।Triage_<HOST>_<TIMESTAMP>.json)।| MITRE ATT&CK ID | रणनीति | तकनीक | OmniTriage कलेक्टर |
|---|---|---|---|
| T1059.001 | Execution | PowerShell कमांड हिस्ट्री और ScriptBlocks | execution.py, remote_exec.py |
| T1021 | Lateral Movement | रिमोट सर्विसेज़ (RDP, WinRM) | collectors/remote_exec.py |
| T1071.004 | Command & Control | DNS डोमेन रिज़ॉल्यूशन्स | collectors/dns_cache.py |
| T1204 | Execution | यूज़र एक्ज़ीक्यूशन (RunMRU / UserAssist / ShimCache) | execution.py, shimcache.py |
| T1053.005 | Persistence | शेड्यूल्ड टास्क पर्सिस्टेंस | collectors/tasks.py |
| T1070 | Anti-Forensics | होस्ट पर इंडिकेटर रिमूवल (लॉग क्लीयरिंग) | collectors/event_logs.py |
| T1543.003 | Persistence | Windows सर्विस क्रिएशन (Event 7045) | collectors/event_logs.py |
| T1036 | Defense Evasion | %TEMP% / %APPDATA% में मास्करेडिंग | collectors/filesystem.py |
| T1547.001 | Persistence | रजिस्ट्री Run कीज़ / Startup फ़ोल्डर | collectors/persistence.py |
| T1082 | Discovery | सिस्टम जानकारी और InstallDate | collectors/sysinfo.py |
| T1049 | Discovery | सिस्टम नेटवर्क कनेक्शन्स और Wi-Fi | collectors/network.py |
| T1005 | Collection | ब्राउज़र डेटा और डाउनलोड लॉग्स | collectors/browser.py |
| T1005 | Collection | ब्राउज़र डेटा और डाउनलोड लॉग्स | collectors/browser.py |
OmniTriage/
├── collectors/
│ ├── __init__.py
│ ├── sysinfo.py # OS build, InstallDate/Format date, Uptime (GetTickCount64), RAM
│ ├── execution.py # PowerShell history, RunMRU, UserAssist (ROT13), BAM
│ ├── browser.py # Chrome, Edge, Brave SQLite lock bypass & download records
│ ├── network.py # Wi-Fi SSIDs, USBSTOR device history, active TCP sockets
│ ├── filesystem.py # Executables/scripts in %TEMP%, SHA-256 hashing, Recent .lnk
│ └── persistence.py # Registry Run/RunOnce keys & Startup folder audit
├── reporters/
│ ├── __init__.py
│ ├── json_reporter.py # Normalized JSON serialization
│ └── html_reporter.py # Standalone dark-mode HTML dashboard
├── omnitriage.py # Main CLI orchestrator & banner
├── run_usb_triage.bat # One-click USB rapid response launcher
├── LICENSE # MIT License
└── README.md
git clone https://github.com/prox0959/OmniTriage.git
cd OmniTriage
python omnitriage.py
OmniTriage फ़ोल्डर को इंसिडेंट रिस्पॉन्स USB ड्राइव पर कॉपी करें। जब इसे लक्ष्य मशीन में प्लग किया जाए, तो निष्पादित करें:
run_usb_triage.bat
या सीधे कमांड-लाइन के माध्यम से:
python omnitriage.py --out D:\Evidence\Case_101
options:
-h, --help show this help message and exit
--out OUT, -o OUT Output directory for reports (default: triage_output)
--quick, -q Quick mode (skips deep file hashing)
--json-only Only produce JSON report
--html-only Only produce interactive HTML dashboard
--no-browser Skip browser history acquisition
--no-fs Skip staging directory filesystem scans
--lang {en,tr} Console output language (default: en)
____ _ _____ _
/ __ \____ ___ ____ (_)__ \_ __(_) __ _ __ _ ___
/ / / / __ `__ \/ __ \/ / / /\/ '__/ / _` |/ _` |/ _ \
/ /_/ / / / / / / / / / / / / | | / / (_| | (_| | __/
\____/_/ /_/ /_/_/ /_/_/ \/ |_|/_/ \__,_|\__, |\___|
|___/
[::] OmniTriage v1.0.0 | Pure Python DFIR Live Triage Engine
[::] Author: Çınar (prox0959) | Zero External Dependencies
[*] Starting live forensic acquisition on target system...
[*] Destination: C:\Forensics\Case_01
[*] Acquiring OS telemetry, InstallDate, and Uptime...
[+] Host: DESKTOP-IR01 | User: analyst
[+] OS: Windows 10 Home (Build: 26200.9457)
[+] Windows Format/Install Date: 2026-07-03 16:31:44
[+] System Uptime: 0d 6h 52m (Boot: 2026-09-24 17:29:51)
[*] Collecting program execution evidence (PowerShell, RunMRU, UserAssist)...
[+] PowerShell history: 89 commands (0 flagged)
[+] RunMRU (Win+R history): 2 items
[+] UserAssist GUI applications: 100 items decoded
[*] Bypassing SQLite locks & harvesting browser history...
[+] Browser activity: 300 URLs, 19 downloads acquired
[*] Harvesting Wi-Fi profiles, USB connection history, and active sockets...
[+] Wi-Fi & Network Profiles: 2 profiles discovered
[+] Historical USB storage devices: 3 drives logged
[+] Active TCP sockets: 139 connections
[*] Scanning staging directories (%TEMP%, %APPDATA%) for suspicious executables...
[+] Executables in %TEMP%: 40 found
[+] Recent shortcut items: 40 items
[*] Auditing autostart persistence mechanisms (Run/RunOnce, Startup)...
[+] Registry Run/RunOnce keys: 20 entries
[+] Startup folder items: 4 files
[*] Compiling forensic reports...
[+] JSON Report written: C:\Forensics\Case_01\Triage_DESKTOP-IR01_20260925_002236.json (193.21 KB)
[+] HTML Dashboard written: C:\Forensics\Case_01\Triage_DESKTOP-IR01_20260925_002236.html (88.56 KB)
=================================================================
[+] Forensic acquisition completed in 0.24 seconds.
=================================================================
यह सॉफ़्टवेयर सख्ती से अधिकृत डिजिटल फोरेंसिक्स, इंसिडेंट रिस्पॉन्स, सिस्टम ऑडिटिंग, और शैक्षिक अनुसंधान के लिए विकसित किया गया है। किसी भी कंप्यूटर सिस्टम पर आर्टिफैक्ट्स प्राप्त करने से पहले हमेशा उचित प्राधिकरण और सहमति प्राप्त करें।
यह प्रोजेक्ट MIT License के अंतर्गत लाइसेंस प्राप्त है - लेखक Çınar (@prox0959)।