CG
SkillsPerforming Open Source Intelligence Gathering
Start Free
Back to Skills Library
Red Team & Offensive Security🟡 Intermediate

Performing Open Source Intelligence Gathering

Leverage Open Source Intelligence (OSINT) gathering — first active phase of a red team engagement, where operators collect publicly available information about the target organization to identify attack s.

3 min read5 MITRE techniques

MITRE ATT&CK Coverage

T1595.001T1595.002T1592T1589T1590

Performing Open Source Intelligence Gathering

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.

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

Implementation Steps

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

Compliance Framework Mapping

This skill supports compliance evidence collection across multiple frameworks:

  • SOC 2: CC4.1 (Monitoring & Evaluation), CC7.1 (Monitoring)
  • ISO 27001: A.14.2 (Secure Development), A.18.2 (Information Security Reviews)
  • NIST 800-53: CA-8 (Penetration Testing), RA-5 (Vulnerability Scanning)
  • NIST CSF: ID.RA (Risk Assessment), PR.IP (Information Protection)

Claw GRC Tip: When this skill is executed by a registered agent, compliance evidence is automatically captured and mapped to the relevant controls in your active frameworks.

Deploying This Skill with Claw GRC

Agent Execution

Register this skill with your Claw GRC agent for automated execution:

# Install via CLI
npx claw-grc skills add performing-open-source-intelligence-gathering

# Or load dynamically via MCP
grc.load_skill("performing-open-source-intelligence-gathering")

Audit Trail Integration

When executed through Claw GRC, every step of this skill generates tamper-evident audit records:

  • SHA-256 chain hashing ensures no step can be modified after execution
  • Evidence artifacts (configs, scan results, logs) are automatically attached to relevant controls
  • Trust score impact — successful execution increases your agent's trust score

Continuous Compliance

Schedule this skill for recurring execution to maintain continuous compliance posture. Claw GRC monitors for drift and alerts when re-execution is needed.

Use with Claw GRC Agents

This skill is fully compatible with Claw GRC's autonomous agent system. Deploy it to any registered agent via MCP, and every execution will be logged in the tamper-evident audit trail.

// Load this skill in your agent
npx claw-grc skills add performing-open-source-intelligence-gathering
// Or via MCP
grc.load_skill("performing-open-source-intelligence-gathering")

Tags

red-teamadversary-simulationmitre-attackexploitationpost-exploitationosintreconnaissance

Related Skills

Red Team & Offensive Security

Conducting Pass the Ticket Attack

3m·intermediate
Red Team & Offensive Security

Conducting Spearphishing Simulation Campaign

3m·intermediate
Red Team & Offensive Security

Executing Red Team Engagement Planning

3m·intermediate
Red Team & Offensive Security

Exploiting Active Directory with BloodHound

3m·advanced
Red Team & Offensive Security

Exploiting Ms17 010 Eternalblue Vulnerability

3m·advanced
Red Team & Offensive Security

Performing Kerberoasting Attack

3m·advanced

Skill Details

Domain
Red Team & Offensive Security
Difficulty
intermediate
Read Time
3 min
Code Examples
0
MITRE IDs
5

On This Page

OverviewObjectivesCore ConceptsImplementation StepsTools and ResourcesValidation CriteriaCompliance Framework MappingDeploying This Skill with Claw GRC

Deploy This Skill

Add this skill to your Claw GRC agent and start automating.

Get Started Free →