Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
sigcorr — SigCorr 是首个开源工具,通过统一的用户身份关联,检测跨越 SS7/MAP、Diameter S6a 和 GTPv2-C 的跨协议攻击链。 | Kitploit
工具/GitHubGitHub/sage-s11/sigcorr
防御工具数据包嗅探与分析侦察物联网安全漏洞分析信息收集网络安全移动安全入侵检测DNS 分析异常检测
GitHub
821天前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
sage-s11/sigcorr

sigcorr

SigCorr 是首个开源工具,通过统一的用户身份关联,检测跨越 SS7/MAP、Diameter S6a 和 GTPv2-C 的跨协议攻击链。

查看仓库

SigCorr

面向移动核心网络的被动式跨协议攻击检测

SigCorr 是首个通过统一用户身份关联来检测跨越 SS7/MAP、Diameter S6a 和 GTPv2-C 的跨协议攻击链的开源工具。

CI License: AGPL-3.0 Java 17+ Docker MITRE ATT&CK DOI


功能特性

  • 跨协议关联 — 将同一用户的 SS7/MAP、Diameter S6a 和 GTPv2-C 事件关联起来
  • 身份解析 — 自动跨协议边界关联 IMSI ↔ MSISDN
  • 22 种攻击模式 — 检测位置跟踪、拦截、拒绝服务(DoS)、认证向量窃取等
  • 零误报 — 已针对 20 多个公开电信 pcap 样本进行验证
  • 被动分析 — 离线 pcap 分析,无网络注入

快速开始

前置条件

  • Java 17+(已在 OpenJDK 21 上测试)
  • Maven 3.8+
  • tshark(Wireshark 命令行工具)3.6+

构建

root@kitploit:~
git clone https://github.com/sage-s11/sigcorr.git
cd sigcorr
mvn clean package -DskipTests

分析 PCAP

root@kitploit:~
java -jar target/sigcorr-0.1.0.jar analyze capture.pcap

运行测试

root@kitploit:~
./test.sh

检测到的攻击模式

SS7/MAP 攻击

跨协议攻击


架构

root@kitploit:~
┌─────────────────────────────────────────────────────────────────┐
│                         SigCorr                                  │
├─────────────────────────────────────────────────────────────────┤
│  ┌─────────────┐   ┌─────────────┐   ┌─────────────┐            │
│  │   SS7/MAP   │   │  Diameter   │   │   GTPv2-C   │            │
│  │   Parser    │   │   Parser    │   │   Parser    │            │
│  └──────┬──────┘   └──────┬──────┘   └──────┬──────┘            │
│         │                 │                 │                    │
│         └────────────┬────┴────────────────┘                    │
│                      ▼                                           │
│            ┌─────────────────────┐                              │
│            │  Identity Resolver  │  IMSI ↔ MSISDN correlation   │
│            └──────────┬──────────┘                              │
│                       ▼                                          │
│            ┌─────────────────────┐                              │
│            │ Correlation Engine  │  Temporal windowing          │
│            └──────────┬──────────┘                              │
│                       ▼                                          │
│            ┌─────────────────────┐                              │
│            │   Pattern Matcher   │  22 attack signatures        │
│            └──────────┬──────────┘                              │
│                       ▼                                          │
│                   ALERTS                                         │
└─────────────────────────────────────────────────────────────────┘

示例输出

root@kitploit:~
════════════════════════════════════════════════════════════════
 SigCorr v0.1.0 - Cross-Protocol Signaling Security Correlator
════════════════════════════════════════════════════════════════

Analyzing: full_multi_protocol_attack.pcap

Events decoded:
  SS7/MAP:     2
  Diameter:    2
  GTPv2-C:     1
  Total:       5

Alerts:
  ALERT[CRITICAL] ATK-001 | Silent Location Tracking
    subscriber=IMSI:234101234567890
    confidence=95%
    events=2

  ALERT[CRITICAL] ATK-003 | Multi-Protocol Reconnaissance
    subscriber=IMSI:234101234567890
    confidence=90%
    cross-protocol=true
    events=5

Summary: 2 alerts generated

配置

编辑 sigcorr-config.yaml:

root@kitploit:~
sigcorr:
  tshark:
    path: /usr/bin/tshark
    timeout: 30s

  correlation:
    temporal_window: 30s
    inference_window: 10s

  detection:
    min_confidence: 70
    enabled_patterns:
      - ATK-001
      - ATK-002
      - ATK-003
      # ... or 'all'

  output:
    evidence_dir: ./evidence
    extract_pcap: true

测试

攻击检测测试

root@kitploit:~
./test.sh

针对生成的 pcap 文件验证 9 种攻击模式。

鲁棒性测试

root@kitploit:~
# Download public samples first (see test-pcaps/public-samples/DOWNLOAD_GUIDE.md)
bash ./test-pcaps/test_public_samples.sh

针对 20 多个真实世界 pcap 样本进行测试,以验证:

  • 编码变化时不会崩溃
  • 正常流量下不会产生误报

项目结构

root@kitploit:~
sigcorr/
├── src/main/java/io/sigcorr/
│   ├── core/              # Core models (SignalingEvent, SubscriberIdentity)
│   ├── ingest/            # Protocol parsers (TsharkBridge)
│   ├── correlation/       # Identity resolution, temporal windowing
│   └── detection/         # Attack patterns, alerting
├── test-pcaps/
│   ├── attack-samples/    # Generated attack pcaps
│   ├── public-samples/    # Real-world validation samples
│   └── generate_*.py      # Pcap generators
├── evidence/              # Extracted evidence pcaps (runtime)
├── pom.xml
├── sigcorr-config.yaml
└── test.sh

贡献

欢迎贡献!无论是错误报告、新的攻击模式想法、协议支持,还是文档改进——我们感激所有的帮助。

  1. 复刻(Fork)本仓库
  2. 创建功能分支(git checkout -b feature/new-attack-pattern)
  3. 提交您的更改(git commit -m 'Add ATK-022: new pattern')
  4. 推送到分支(git push origin feature/new-attack-pattern)
  5. 打开一个拉取请求(Pull Request)

请在提交前确保 ./test.sh 能够通过。


许可证

SigCorr 根据 GNU Affero 通用公共许可证 v3.0(AGPL-3.0) 发布。

这意味着您可以自由使用、修改和分发 SigCorr,包括在商业环境中使用。如果您修改了 SigCorr 并通过网络提供(例如作为托管服务),则必须在同一许可证下发布您的修改。

完整文本请参阅 LICENSE。

商业许可

如果 AGPL 不适用于您的使用场景——例如,您希望在不承担 AGPL 源代码共享义务的情况下将 SigCorr 嵌入专有产品,或将其作为商业服务的一部分提供——我们提供商业许可证。

请联系 Shreyas S([email protected])或打开一个标记为 licensing 的 GitHub Issue 进行洽谈。


引用 SigCorr

如果您在学术研究中使用 SigCorr,请引用:

root@kitploit:~
@software{sigcorr2025,
  author    = {Shreyas S},
  title     = {SigCorr: Passive Cross-Protocol Attack Detection for Mobile Core Networks},
  year      = {2025},
  url       = {https://github.com/sage-s11/sigcorr},
  doi       = {10.5281/zenodo.19439509}
}

参考资料

  • GSMA FS.11 — SS7 安全监控指南
  • GSMA FS.19 — Diameter 互联安全
  • 3GPP TS 29.002 — MAP 协议规范
  • 3GPP TS 29.272 — Diameter S6a/S6d 接口

作者

Shreyas S (GitHub: @sage-s11)

下载工具
ID攻击描述
ATK-001静默位置跟踪SRI 后接 PSI 以跟踪用户
ATK-002拦截设置SRI 后接 ISD 以重定向呼叫
ATK-006用户拒绝服务(DoS)CancelLocation + DeleteSubscriberData
ATK-011短信拦截SRI-SM 后接 MT-ForwardSM
ATK-014认证向量窃取SRI 后接 SendAuthInfo
ATK-021IMSI 捕获器检测恶意 UpdateLocation + SendAuthInfo
ID攻击描述
ATK-003多协议侦察MAP + Diameter + GTP 协同攻击
ATK-005Diameter 到 SS7 降级Diameter AIR 失败后回退至 MAP
ATK-009Diameter 侦察 + GTP 劫持AIR 后接 CreateSession
ATK-010Diameter 位置劫持AIR 后接伪造的 ULR