Skip to content
Pwnversity
SE-PRETEXTINGintermediate · 5 min · upd. 2026-10

Pretexting & target OSINT

The pretext is the credible story that holds up any social engineering attack, and OSINT (open-source intelligence) is what makes it credible. This card covers how to research a target legally and how to build a solid pretext in an authorized engagement, at a methodological level and without ready-to-use manipulation scripts.

  • Raw material: public information about the organization and its people which, combined, makes a fake request look legitimate.
  • Risk for the defense: the larger the public footprint (job ads, metadata, social media), the easier a credible pretext becomes.
  • Ethical and legal limit: OSINT collects personal data (GDPR); minimize it, record the source, and destroy it after the report. No intrusion or unauthorized access to accounts.

Theory: target OSINT (human reconnaissance)

Section titled “Theory: target OSINT (human reconnaissance)”
  • Organization: org chart, roles, vendors, and technology (job ads reveal the stack).
  • People: name, role, email, internal jargon, schedules, and interests (LinkedIn, X, Instagram).
  • Email: address format (first.last@) to infer any employee’s address.
  • Leaks: prior breaches and password reuse (Have I Been Pwned).
  • Technical footprint: domains/subdomains and emails in the metadata of public documents.
  • Physical: sites, schedules, and access control (see Physical security).

For technical recon, see People recon, Email recon, Metadata, and Google dorking. Here the focus is the person and the context.

flowchart LR
    O[OSINT: org, people, email, leaks] --> P[Coherent pretext]
    P --> Q{Survives verification?}
    Q -- No --> O
    Q -- Yes --> C[Right channel: email / voice / in person]
    C --> R[Authorized execution]
  • Coherent identity: a role that justifies the request (IT, vendor, auditor, courier).
  • Plausible motive: something that seems verifiable (a migration, an incident).
  • Real details from OSINT: names, projects, and jargon that build trust.
  • The right channel: email for mass, voice for pressure, in person for physical access.
  • Prepared exit: answers to verification questions and a reason for the urgency.

The organization uses Microsoft 365 and outsources IT to a vendor that, per a job ad, is running a migration. A pretext invoking that specific migration matches the target’s reality and gains credibility. The defensive lesson: that public job ad was the data point that made it possible.

  • theHarvester: emails, subdomains, and names associated with a domain.
  • Maltego: relationship graph of people, domains, and infrastructure (see Maltego).
  • hunter.io: corporate email format and discovery.
  • Have I Been Pwned: email exposure in breaches.
  • Google dorks: public documents and exposed panels.
  • exiftool: metadata (author, username, software) of public PDFs and images.

Red Team (process in an authorized engagement)

Section titled “Red Team (process in an authorized engagement)”
  • Define allowed OSINT sources and targets with the client.
  • Use separate accounts/infra (sock puppets) and a VPN; don’t contaminate with your real identity.
  • Record sources and dates (data changes) and minimize the personal data collected.
  • Build the minimum pretext needed for the scenario and hand off to the chosen channel (phishing, vishing, or physical).
  • Reduce the public footprint: review what the website, job ads, social media, and document metadata reveal (strip metadata before publishing).
  • Train high-value employees on their exposure; a policy on what to publish about the company.
  • Out-of-band verification for requests invoking “vendor/IT/management”.
  • Monitor breaches affecting corporate emails and enforce rotation and MFA.
  • RSA (2011) and the Ukraine blackout (2015): spear-phishing leaned on precise target OSINT.
  • Scattered Spider stands out for its OSINT and help-desk pretexting (see Vishing & smishing).
  • Countless BEC schemes are built with vendor OSINT and real payment calendars.
  • Authorization and OSINT scope (allowed sources, targets)
  • Corporate email format inferred
  • Org chart/roles and internal jargon gathered
  • Breach exposure (credential reuse) reviewed
  • Metadata of public documents analyzed
  • Pretext coherent with the OSINT (identity, motive, channel)
  • Data minimization and investigator OPSEC