跳到正文
Skillpedia
安全6.5k · #14146

osint

它能做什么

它介绍收集组织公开信息的开源情报方法。适用于需要了解公开暴露面的安全团队和研究人员。

适用场景

  • ✓当安全团队想了解公司公开邮箱地址的格式时。
  • ✓当分析人员需要从公开来源梳理员工角色和团队结构时。
  • ✓当审查人员想检查代码或机密是否被发布到公开代码仓库时。

技能链接

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/osint/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/osint/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我查明我们公司有哪些公开信息暴露在网上。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能为 AI 提供搜索公开来源并整理所得信息的步骤。它专注于本已公开的信息。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Open Source Intelligence (OSINT) Knowledge Base

OSINT collects publicly available information about targets without any direct interaction. This intelligence informs social engineering, credential attacks, and helps map the human attack surface alongside technical infrastructure.

1. Email Harvesting

theHarvester

# Comprehensive email harvesting
theHarvester -d <target> -b all -l 500 -f theharvester_<target>.html

# Specific sources
theHarvester -d <target> -b google,bing,linkedin,twitter -l 200

# Output formats
theHarvester -d <target> -b all -f theharvester_<target> --screenshot screenshots/

Manual Email Pattern Discovery

# Common email formats to test
# firstname.lastname@target.com
# firstnamelastname@target.com
# f.lastname@target.com
# firstname@target.com

# Verify email format via MX + SMTP (if in scope)
dig <target> MX +short

Email Analysis Points

  • Naming convention: Determines brute-force pattern for credential stuffing
  • Role-based emails: security@, admin@, devops@ reveal team structure
  • Personal domains: Cross-reference with social media for password patterns
  • Catch-all detection: Some domains accept all addresses → harder to enumerate

2. Employee & Organization Enumeration

LinkedIn Intelligence

  • Search site:linkedin.com/in "<target company>" in Google
  • Note: Direct LinkedIn scraping may violate ToS — use public search results
  • Key data: Job titles, tech stack mentions, team sizes, recent hires

Organizational Mapping

Target Corp
├── Engineering (mentions: Kubernetes, Go, React)
│   ├── Platform Team (AWS, Terraform)
│   ├── Backend Team (Python, FastAPI)
│   └── Frontend Team (React, TypeScript)
├── Security
│   └── SOC Team (Splunk, CrowdStrike mentioned)
├── DevOps/SRE
│   └── (Jenkins, ArgoCD, Datadog mentioned)
└── IT
    └── (Okta, Jamf mentioned in job posts)

Tech Stack from Job Postings

Search job boards for:
"<target>" AND ("kubernetes" OR "terraform" OR "aws" OR "azure")
"<target>" AND ("react" OR "angular" OR "vue" OR "nextjs")
"<target>" AND ("python" OR "golang" OR "java" OR "rust")

3. GitHub & Code Repository OSINT

Organization Discovery

# GitHub org search
curl -s "https://api.github.com/orgs/<target>/repos?per_page=100" | \
    python3 -c "import sys,json; [print(r['full_name'], r.get('description','')) for r in json.load(sys.stdin)]"

# Search for secrets in public repos
# Google dork approach
# site:github.com "<target>" password | secret | api_key | token
# site:github.com "<target>.com" filename:.env

Secret Detection Patterns

# Using trufflehog (if available)
trufflehog github --org <target> --only-verified

# Using gitleaks (if available)
gitleaks detect --source /path/to/repo --report-path gitleaks_<target>.json

# Manual grep patterns in discovered repos
grep -rn "api[_-]key\|secret\|password\|token\|aws_access" --include="*.py" --include="*.js" --include="*.yaml" --include="*.env"

Key Findings from Code Repos

  • Hardcoded credentials: API keys, database passwords, AWS keys
  • Internal URLs: staging/dev environments, internal APIs
  • Infrastructure as Code: Terraform/CloudFormation files reveal architecture
  • CI/CD configs: .github/workflows/, Jenkinsfile reveal deployment pipeline
  • Dependency files: package.json, requirements.txt reveal tech stack

4. Domain & IP Intelligence

Threat Intelligence

# VirusTotal domain report
curl -s "https://www.virustotal.com/api/v3/domains/<target>" \
    -H "x-apikey: <VT_API_KEY>" | python3 -m json.tool

# Shodan host info (if API key available)
curl -s "https://api.shodan.io/shodan/host/<IP>?key=<SHODAN_KEY>" | python3 -m json.tool

# AbuseIPDB check
curl -s "https://api.abuseipdb.com/api/v2/check?ipAddress=<IP>" \
    -H "Key: <ABUSE_KEY>" -H "Accept: application/json"

Domain Reputation

  • VirusTotal: Malware associations, passive DNS, URL scan history
  • Shodan/Censys: Exposed services, historical banners, SSL certs
  • SecurityTrails: Historical DNS records, IP history
  • URLScan.io: Live page rendering, resource loading, redirects

Wayback Machine

# Historical snapshots
curl -s "https://web.archive.org/cdx/search/cdx?url=*.example.com/*&output=text&fl=original&collapse=urlkey" | \
    sort -u > wayback_<target>.txt

# Look for old admin panels, login pages, API docs
grep -iE "(admin|login|api|swagger|debug|config)" wayback_<
常见问题

这个技能会访问私人账户吗?

不会。它只收集公开可获得的信息。

它有什么用?

帮助团队在他人发现之前,先了解自己的公开暴露情况。

它是否涉及泄露数据?

它提到在检查暴露情况时可以查看泄露数据。

详情

作者的原始描述

Open-source intelligence gathering — email harvesting, social media profiling, breach data checking, employee enumeration, GitHub secret scanning, organizational mapping.

repo: BitterSecurity/Decepticon

热度

GitHub 星标
6.5k
排名
#14146
许可证
Apache-2.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能