skills/ctf/ctf-osint/SKILL.md
CTF 开源情报(OSINT)技术。当挑战要求从公开信息中找线索——如给定用户名/邮箱追踪身份、给定照片进行地理定位、从历史网页快照中恢复数据时使用。覆盖社交媒体调查、Google Dorking、反向图片搜索、Wayback Machine、DNS 侦察、Tor 中继查询、元数据提取
npx skillsauth add wgpsec/AboutSecurity ctf-osintInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
以下参考资料按需加载,根据识别出的具体方向选择对应文件:
OSINT 题目?
├─ 找人/找账号
│ ├─ 用户名 → whatsmyname.app / namechk.com (741+ 站点)
│ ├─ Twitter/X → 数字 User ID 持久追踪 / Snowflake 时间戳
│ ├─ Tumblr → curl -sI 检查 x-tumblr-user / avatar/512
│ └─ BlueSky → public.api.bsky.app (无需认证)
├─ 找位置(地理定位)
│ ├─ 图片 → Google Lens 裁剪搜索 / Yandex(人脸) / TinEye
│ ├─ 路标/铁路 → OpenRailwayMap / OpenInfraMap
│ ├─ MGRS 坐标 → 在线转换器 → Google Maps
│ ├─ Plus Codes → `XXXX+XXX` 格式 → Google Maps
│ └─ 街景匹配 → 特征提取 + 多指标相似度排序
├─ 找信息
│ ├─ DNS → dig TXT/CNAME/MX / zone transfer
│ ├─ Google Dorking → site: filetype: intitle:
│ ├─ Wayback Machine → 历史快照
│ ├─ WHOIS → 反向WHOIS / 历史WHOIS / IP/ASN
│ └─ GitHub → issue/PR/commit/wiki 分析
└─ 特殊场景
├─ Tor 中继 → metrics.torproject.org 指纹查询
├─ FEC 政治捐款 → FEC.gov
└─ Unicode 同形字隐写 → ASCII=0, 同形字=1
# 元数据提取
exiftool image.jpg
pdfinfo document.pdf
# DNS 侦察
dig -t txt domain.com
dig axfr @ns.domain.com domain.com
# IP 地理定位
curl "http://ip-api.com/json/IP_ADDR"
# Google Dorking
# site:example.com filetype:pdf
# intitle:"index of" password
# Flag 搜索
grep -rniE '(flag|ctf)\{' .
| 格式 | 类型 | |------|------| | 40 hex chars | SHA-1(Tor 指纹) | | 64 hex chars | SHA-256 | | 32 hex chars | MD5 |
| 工具 | 用途 | |------|------| | Shodan | 联网设备搜索 | | Censys | 证书和主机搜索 | | VirusTotal | 文件/URL 信誉 | | Wayback Machine | 历史网页快照 | | whatsmyname.app | 用户名跨平台枚举 | | Google Lens | 裁剪区域反向图搜 |
testing
Azure 云环境渗透测试总体方法论。当目标使用 Azure/Microsoft 365/Entra ID、发现 Azure 相关资产(Blob Storage/App Service/Azure VM/Azure Functions)、获取 Azure 凭据(Service Principal/Managed Identity/Access Token)、或需要对 Azure 环境进行安全评估时使用。提供从未授权枚举到 Entra ID 攻击、服务提权、Cloud-to-OnPrem 横向移动的全流程决策树。覆盖 35+ Azure 服务攻击面
tools
Mythic C2 操作方法论。当需要部署 Mythic、选择 Mythic Agent、安装 C2 Profile、配置 HTTP/DNS/WebSocket/SMB/TCP 通信、生成 payload、管理回连任务,或把 Mythic 作为跨平台 C2 框架用于授权红队演练时使用。覆盖 mythic-cli 安装、Agent/Profile 选择、SSL 证书配置、payload 构建和基础 OPSEC 判断
development
Docker 安全测试与容器渗透方法论。当需要评估 Docker 容器、Docker Daemon、Docker Registry、镜像层、构建产物或容器逃逸风险时使用。覆盖容器环境识别、特权容器逃逸、docker.sock/Remote API 利用、procfs/cgroup/capabilities 滥用、Docker 用户组提权、运行时/内核 CVE、Registry 枚举、镜像层 Secret 分析和构建上下文泄露。发现 Docker 容器环境、Registry 暴露、镜像凭据或容器配置错误时应使用此技能
development
使用 PadBuster 进行 Padding Oracle 攻击。当发现 Web 应用使用 CBC 模式加密且存在 Padding Oracle 漏洞时使用。PadBuster 可自动解密密文和伪造任意明文对应的合法密文,适用于加密 Cookie/Token/URL 参数。任何涉及 Padding Oracle 攻击、CBC 密文解密、Cookie 伪造的场景都应使用此技能