frkndncr/soc-toolkit

GitHub: frkndncr/soc-toolkit

SOC Toolkit 是一套集 AI 威胁分诊、自动化 SOAR 响应、合规审计与取证分析于一体的安全运营平台,帮助企业 SOC 团队实现从威胁检测到遏制处置的闭环管理。

Stars: 0 | Forks: 1

# 🛡️ SOC Toolkit v6.0 ``` ███████╗ ██████╗ ██████╗ ████████╗ ██████╗ ██████╗ ██╗ ██╗ ██╗██╗████████╗ ██╔════╝██╔═══██╗██╔════╝ ╚══██╔══╝██╔═══██╗██╔═══██╗██║ ██║ ██╔╝██║╚══██╔══╝ ███████╗██║ ██║██║ ██║ ██║ ██║██║ ██║██║ █████╔╝ ██║ ██║ ╚════██║██║ ██║██║ ██║ ██║ ██║██║ ██║██║ ██╔═██╗ ██║ ██║ ███████║╚██████╔╝╚██████╗ ██║ ╚██████╔╝╚██████╔╝███████╗██║ ██╗██║ ██║ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ``` ### ⚡ 自主 AI 威胁情报与事件响应平台 [![Python 3.8+](https://img.shields.io/badge/Python-3.8+-3776AB?style=for-the-badge&logo=python&logoColor=white)](https://www.python.org/) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](LICENSE) [![Version](https://img.shields.io/badge/Version-6.0.0-blue?style=for-the-badge)](#) [![Docker](https://img.shields.io/badge/Docker-Ready-2496ED?style=for-the-badge&logo=docker&logoColor=white)](Dockerfile) [![Kubernetes](https://img.shields.io/badge/Kubernetes-Ready-326CE5?style=for-the-badge&logo=kubernetes&logoColor=white)](k8s/deployment.yaml)
## ⚡ 快速开始 ``` # 1. 通过 pip 安装 pip install soc-toolkit # 2. 使用 AI Triage 执行即时 Threat Intel Lookup soc 185.220.101.45 # 3. 启动交互式 Analyst Terminal Shell soc shell # 4. 启动企业级 REST API Server soc server --port 8000 # 5. 启动 3D Cyber Threat Warfare Dashboard soc web --port 8080 ``` ## 🔥 功能一览 | 功能 | 描述 | 命令 | | :--- | :--- | :--- | | **🤖 自主 AI 分析师** | 根因分析 (RCA) 与网络杀伤链溯源 | `soc ai ` | | **🔄 自动化 SOAR 引擎** | 执行遏制、主机隔离与防火墙封禁 | `soc soar ` | | **📜 合规审计** | 将发现结果映射至 **PCI-DSS 4.0**、**ISO 27001**、**SOC 2** & **NIST CSF** | `soc audit ` | | **⚡ 生产级 REST API** | 带有密钥认证与 CORS 的多租户 JSON REST API 后端 | `soc server --port 8000` | | **📡 STIX / TAXII 2.1** | 适用于 Palo Alto、Fortinet 与 EDR 的 TAXII 2.1 订阅服务器 | `soc taxii-server` | | **📦 PCAP 取证** | 原生网络数据包捕获解析器与 IOC 提取器 | `soc pcap capture.pcap` | | **🔬 静态 PE 恶意软件分析**| ImpHash 计算器、节区熵值与可疑 API 检测 | `soc analyze sample.exe` | | **🔓 Payload 解码器** | URL 的 Defang/Refang(消除/恢复危险链接)与 Base64 PowerShell 命令解码器 | `soc decode ""` | | **🕸️ 3D 威胁仪表盘** | 高科技 WebGL 网络战威胁地图 | `soc web --port 8080` | ## 🤖 自主 AI 安全分析师 对任意 IP、域名、哈希或 URL 执行即时 AI 分诊: ``` soc ai 185.220.101.45 ``` ``` { "ioc": "185.220.101.45", "threat_level": "CRITICAL", "cyber_kill_chain_phase": "Command and Control (C2) / Exfiltration", "root_cause_analysis": "Autonomous AI Analysis concluded an overall risk score of CRITICAL. Attribution indicates active alignment with Cyber Kill Chain phase: 'Command and Control (C2)'. Network containment recommended.", "ciso_executive_summary": "EXECUTIVE SUMMARY: Indicator 185.220.101.45 poses a CRITICAL risk to enterprise operations. Authorize automated SOAR containment." } ``` ## 📜 支持的合规监管框架 | 框架 | 映射的控制项 | 命令 | | :--- | :--- | :--- | | **PCI-DSS 4.0** | Req 6.4 (应用安全), Req 10.4 (审计遥测), Req 11.4 (威胁防御) | `soc audit ` | | **ISO/IEC 27001:2022** | Control A.8.7 (恶意软件防御), A.8.16 (监控), A.8.23 (Web 过滤) | `soc audit ` | | **SOC 2 Type II** | CC6.1 (访问控制), CC6.8 (威胁检测), CC7.2 (事件响应) | `soc audit ` | | **NIST CSF 2.0** | DE.CM-01 (持续监控), RS.AN-01 (事件分析) | `soc audit ` | ## 🐳 一键容器部署 ``` # Docker Compose 一键启动 docker-compose up -d # Kubernetes 生产环境部署 kubectl apply -f k8s/deployment.yaml ``` ## 🐍 Python SDK ``` from soc_toolkit import SOCToolkitSDK, AIThreatAnalyst, SOAREngine, IOCType, ThreatLevel sdk = SOCToolkitSDK() # 分析 IOC report = sdk.analyze("185.220.101.45") # Autonomous AI Triage ai_triage = AIThreatAnalyst.analyze_threat("185.220.101.45", IOCType.IP, ThreatLevel.CRITICAL) print("Kill Chain Phase:", ai_triage["cyber_kill_chain_phase"]) ``` ## 👤 作者与许可 - **作者**:Furkan Dinçer ([@frkndncr](https://github.com/frkndncr)) - **许可**:[MIT License](LICENSE)
标签:子域名突变, 请求拦截, 逆向工具