技能 硬件工程 开源情报收集指南

开源情报收集指南

v20260831
performing-open-source-intelligence-gathering
本技能指导执行开源情报(OSINT)收集,这是红队渗透测试的第一阶段。它系统性地收集目标组织所有公开信息,包括网络资产(域、IP)、人员结构、泄露凭证和技术栈。适用于授权的安全评估、红队演习,旨在构建全面的攻击面地图和初始渗透策略。
获取技能
270 次下载
概览

Performing Open Source Intelligence Gathering

Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.

Overview

Open Source Intelligence (OSINT) gathering is the first active phase of a red team engagement, where operators collect publicly available information about the target organization to identify attack surfaces, potential targets for social engineering, technology stacks, and credential exposures. Effective OSINT directly shapes initial access strategies and reduces operational risk.

When to Use

  • When conducting security assessments that involve performing open source intelligence gathering
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with red teaming concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Enumerate the target organization's external attack surface (domains, IPs, cloud assets)
  • Identify employees and their roles for social engineering targeting
  • Discover leaked credentials, API keys, and sensitive documents
  • Map the organization's technology stack and vendors
  • Identify physical locations, office layouts, and access control details
  • Build target profiles for spearphishing campaign development

Core Concepts

OSINT Categories

CategorySourcesValue
Domain IntelligenceDNS records, WHOIS, CT logs, subdomain enumerationNetwork attack surface
Personnel IntelligenceLinkedIn, social media, conference talks, publicationsSocial engineering targets
Credential IntelligenceBreach databases, paste sites, GitHub leaksValid credential discovery
Technology IntelligenceJob postings, Wappalyzer, Shodan, CensysVulnerability identification
Physical IntelligenceGoogle Maps, social media photos, GlassdoorPhysical access planning
Document IntelligenceSEC filings, public documents, metadata extractionOrganizational structure

MITRE ATT&CK Mapping

  • T1595.001 - Active Scanning: Scanning IP Blocks
  • T1595.002 - Active Scanning: Vulnerability Scanning
  • T1592 - Gather Victim Host Information
  • T1589 - Gather Victim Identity Information
  • T1590 - Gather Victim Network Information
  • T1591 - Gather Victim Org Information
  • T1593 - Search Open Websites/Domains
  • T1594 - Search Victim-Owned Websites
  • T1596 - Search Open Technical Databases

Workflow

Phase 1: Domain and Network Reconnaissance

  1. Perform WHOIS lookups for target domains
  2. Enumerate subdomains using Certificate Transparency logs, DNS brute-force, and web scraping
  3. Identify IP ranges and ASN ownership
  4. Scan for exposed services using Shodan/Censys
  5. Check for cloud storage buckets (S3, Azure Blob, GCS)
  6. Map CDN and hosting providers

Phase 2: Personnel and Social Intelligence

  1. Enumerate employees via LinkedIn, company website, and conference speaker lists
  2. Identify email naming conventions
  3. Discover personal social media accounts of key targets
  4. Map organizational hierarchy and reporting structure
  5. Identify recently hired IT/security personnel
  6. Check for conference presentations and technical publications

Phase 3: Credential and Data Leak Discovery

  1. Search breach databases (Have I Been Pwned, DeHashed)
  2. Check paste sites (Pastebin, GitHub Gists)
  3. Search GitHub/GitLab for leaked secrets and API keys
  4. Look for exposed configuration files and backups
  5. Check for leaked internal documents via Google dorking

Phase 4: Technology Stack Identification

  1. Analyze job postings for technology mentions
  2. Use Wappalyzer/BuiltWith for web technology fingerprinting
  3. Check for exposed admin panels and development environments
  4. Identify VPN and remote access technologies
  5. Map cloud services and SaaS applications

Tools and Resources

ToolPurposeType
AmassSubdomain enumeration and network mappingOpen Source
SubfinderPassive subdomain discoveryOpen Source
theHarvesterEmail, subdomain, and name harvestingOpen Source
MaltegoVisual link analysis and data correlationCommercial
SpiderFootAutomated OSINT collectionOpen Source
ShodanInternet-connected device searchCommercial
CensysInternet asset discoveryCommercial
Recon-ngWeb reconnaissance frameworkOpen Source
GitDorkerGitHub secret scanningOpen Source
PhotonWeb crawler for OSINTOpen Source

Validation Criteria

  • [ ] Complete list of target domains and subdomains
  • [ ] Employee list with roles and email addresses
  • [ ] Technology stack identified
  • [ ] Credential leak assessment completed
  • [ ] Attack surface map documented
  • [ ] OSINT report compiled for engagement team
信息
分类 硬件工程
名称 performing-open-source-intelligence-gathering
版本 v20260831
大小 22.25KB
更新时间 2026-09-06
语言