hctu4hbs-ux/AI-Forensics-Investigator

GitHub: hctu4hbs-ux/AI-Forensics-Investigator

一款基于模式识别的数字取证工具,通过分析日志文件和内存转储来检测无文件攻击、反取证技术等高级隐蔽威胁。

Stars: 0 | Forks: 0

# 🕵️‍♂️ AI Forensics Investigator:揭示隐藏的网络威胁 🛡️ ## 目录 - [关于](#about) - [功能](#features) - [为什么选择 AI Forensics Investigator?](#why-ai-forensics-investigator) - [安装说明](#installation) - [前置条件](#prerequisites) - [Linux / macOS](#linux--macos) - [Windows](#windows) - [Termux (Android)](#termux-android) - [用法](#usage) - [截图与演示](#screenshots--demos) - [贡献指南](#contributing) - [许可证](#license) - [联系方式](#contact) ## 关于 **AI Forensics Investigator** 是一款尖端的网络安全工具,旨在为用户提供检测复杂和隐蔽网络威胁的高级能力。受深度系统分析需求的启发,该工具利用智能模式识别来审查日志文件和内存转储,揭示无文件攻击、反取证技术以及其他通常能逃避传统安全解决方案的恶意活动痕迹。 ## 功能 ✨ **日志文件分析**:扫描系统和应用程序日志以查找可疑模式,包括: - 无文件攻击指标(例如,PowerShell 编码命令、WMI 滥用)。 - 反取证技术(例如,日志清除、时间戳篡改)。 - 异常的进程终止和失败的登录尝试。 🧠 **内存转储分析**:检查内存转储以查找隐藏的威胁,例如: - Shellcode 模式和代码注入指标。 - 隐藏进程操纵(例如,DKOM)。 🚀 **直观的命令行界面**:易于使用,具有用于单文件或批量目录分析的明确选项。 ## 为什么选择 AI Forensics Investigator? 在网络威胁日益复杂的时代,传统的防病毒和入侵检测系统在面对高级持续性威胁 (APT) 和零日漏洞利用时往往显得力不从心。AI Forensics Investigator 通过提供一种强大的、AI 驱动的数字取证方法来填补这一空白。它有助于识别表明系统已被入侵的细微异常和隐藏痕迹,让您在保护系统和数据方面占据上风。在对抗高级网络间谍活动和攻击的战斗中,这款工具是您的智能伙伴。 ## 安装说明 ### 前置条件 - Python 3.x - `pip` (Python 包安装器) ### Linux / macOS 1. **克隆仓库:** git clone https://github.com/YOUR_USERNAME/AI-Forensics-Investigator.git cd AI-Forensics-Investigator 2. **安装依赖项:** pip install -r requirements.txt ### Windows 1. **下载仓库:** 从 GitHub 下载 ZIP 文件并解压,或者使用 Git Bash: git clone https://github.com/YOUR_USERNAME/AI-Forensics-Investigator.git cd AI-Forensics-Investigator 2. **安装依赖项:** 在项目目录中打开命令提示符或 PowerShell 并运行: pip install -r requirements.txt ### Termux (Android) 1. **安装 Termux:** 从 F-Droid 或 Google Play Store 下载并安装 Termux。 2. **更新 Termux 并安装 Python:** pkg update && pkg upgrade pkg install python git 3. **克隆仓库:** git clone https://github.com/YOUR_USERNAME/AI-Forensics-Investigator.git cd AI-Forensics-Investigator 4. **安装依赖项:** pip install -r requirements.txt ## 用法 要运行 AI Forensics Investigator,请使用带有适当参数的 `forensic_investigator.py` 脚本: - **分析单个日志文件:** python forensic_investigator.py -l path/to/your/logfile.log - **分析日志文件目录:** python forensic_investigator.py -d path/to/your/log_directory/ - **分析内存转储文件:** python forensic_investigator.py -m path/to/your/memorydump.dmp - **组合分析(例如,日志文件和内存转储):** python forensic_investigator.py -l path/to/logfile.log -m path/to/memorydump.dmp ## 截图与演示 _官方 Logo 和使用截图的占位符。_ ![官方 Logo](https://static.pigsec.cn/wp-content/uploads/repos/cas/7d/7d71bbc86d30736a1ebed449b82c282c515b7be6d32305aa7633a0f91d072968.png) ### 日志分析实战 📊 ``` # log analysis 示例输出 --- AI Forensics Investigator --- Analyzing log file: /home/ubuntu/forensic_investigator/logs/dummy.log Suspicious activities found in log: Category: unusual_process_termination Pattern: process terminated unexpectedly Line 3: Jul 24 10:00:10 host kernel: [ 123.456789] process terminated unexpectedly: myapp --- Category: failed_login_attempts Pattern: authentication failure Line 4: Jul 24 10:00:15 host auth: pam_unix(sudo:auth): authentication failure; logname=ubuntu uid=1000 euid=0 tty=/dev/pts/0 ruser=ubuntu rhost= user=ubuntu --- Category: fileless_indicators Pattern: powershell\.exe -EncodedCommand Line 6: Jul 24 10:00:25 host user: suspicious_activity: powershell.exe -EncodedCommand JABhACAAPQAgACIAaAB0AHQAcABzADoALwAvAGUAdgBpAGwALgBjAG8AbQAvAG0AYQBsAC4AZQB4AGUAIgA7AA== --- Category: anti_forensics_indicators Pattern: log clear Line 7: Jul 24 10:00:35 host user: anti_forensics: log clear command executed --- --- Analysis Complete --- ``` ### 内存分析实战 🧠 ``` # memory analysis 示例输出 --- AI Forensics Investigator --- Analyzing memory dump file: /home/ubuntu/forensic_investigator/dumps/dummy.dmp Suspicious signatures found in memory dump: Category: shellcode_patterns Signature: b'\\x90\\x90\\x90\\x90' Offset: 0x20 --- Category: shellcode_patterns Signature: b'\\xeb\\xfe' Offset: 0x36 --- Category: injected_code_indicators Signature: b'VirtualAllocEx' Offset: 0x4d --- --- Analysis Complete --- ``` ## 许可证 该项目基于 MIT 许可证授权 - 有关详细信息,请参阅 [LICENSE](LICENSE) 文件。 ## 联系方式 如有任何问题或建议,请在 GitHub 上提出 issue 或联系 [your-email@example.com](mailto:your-email@example.com)。
标签:AMSI绕过, DNS 反向解析, JARM, 人工智能, 内存分析, 威胁检测, 子域名变形, 数字取证, 文档结构分析, 无文件攻击检测, 用户模式Hook绕过, 自动化脚本, 逆向工具