OSINT challenges hide flags in public information: social profiles,
photos with location clues, file metadata, archived pages, and public
records. The winning pattern is breadth first (enumerate every source
the clue could live in), then depth on the promising lead, then
verification (two independent sources before submitting). This skill
covers the authorized competition methodology with concrete tools and
search techniques. Scope is CTF competitions, lab exercises, and
information you are authorized to collect; it never covers private data,
unauthorized access, or harassment.
Quick Workflow
- Read the challenge text precisely; every word is a potential
search term, username, or coordinate hint.
- Classify the artifact: username, image, document, URL, or vague
description, and pick the matching sub-skill path.
- Enumerate broadly: search engines (with operators), platform
searches, archives (Wayback Machine), and metadata.
- Follow the strongest lead: one confirmed profile or location beats
ten maybes.
- Pivot: usernames repeat across platforms, photos contain landmarks,
documents contain authors.
- Verify with a second independent source before submitting (two
sources or it did not happen).
- Respect the rules: no interacting with real people (no DMs, no
friend requests), no attempting logins, public data only.
- Record sources and queries for the writeup; OSINT writeups need
reproducibility.
1. Search engine operators for CTF OSINT
# Google/Bing dorks that solve CTF OSINT fast
# site:github.com "<username>"
# site:linkedin.com/in "<full name>"
# "<username>" -site:twitter.com # exclude noisy domains
# filetype:pdf "<event name>" # documents
# inurl:profile "<username>"
# Automate multi-engine username checks (see username-hunting sub-skill)
# and archive lookups:
curl -s "http://archive.org/wayback/available?url=example.com/page" | python3 -m json.tool
curl -s "https://web.archive.org/cdx/search/cdx?url=example.com/*&output=json&limit=20" | head -30
Search the exact challenge strings in quotes first; CTF authors reuse
handles and phrases across events, and quoted search finds the original.
2. Image triage for location and identity
# Metadata first: GPS coordinates end many challenges immediately
exiftool photo.jpg | grep -i -E "gps|create date|camera|software|comment|author"
# Reverse image search: upload to the major engines and compare results
# (Google Lens, Bing Visual Search, TinEye, Yandex Images)
# Yandex is notably strong on faces and Eastern European locations;
# use it for person-identification style challenges within the rules.
# If no metadata: note landmarks, signs, license plates, vegetation,
# architecture style, and language on signage; feed these to the
# image-geolocation sub-skill workflow.
Never enhance or identify real private individuals beyond the challenge
scope; CTF OSINT targets fictional or consenting personas, and the
rules usually forbid contacting anyone.
3. Document and file metadata
exiftool -a -u document.pdf | head -60
# Author, Creator, Producer, CreateDate, GPS, embedded thumbnails
# Office documents: unzip and read the XML
unzip -p doc.docx docProps/core.xml
unzip -p doc.docx docProps/app.xml
# PDF: check for hidden layers and embedded files
pdfinfo document.pdf
strings document.pdf | grep -i -E "author|flag" | head
# Audio/video: same exiftool pass; check encoder strings for usernames
exiftool video.mp4 | grep -i -E "encoder|author|comment|gps"
Metadata often contains the author's handle, software usernames, or GPS;
each is a pivot into the username-hunting or geolocation workflows.
4. Public records and archives
- Wayback Machine: past versions of challenge-linked pages often
contain the flag or the clue that was later removed.
- GitHub: search code and commits for the username; commit emails
leak real names, and old commits contain removed secrets.
- Certificate transparency (crt.sh): subdomains of challenge domains
reveal staging or admin hosts.
- DNS history and WHOIS: creation dates and registrant handles for
attribution-style challenges.
# crt.sh subdomain enumeration for a challenge domain
curl -s "https://crt.sh/?q=%25.example-ctf.com&output=json" | \
python3 -c "import json,sys; [print(r['name_value']) for r in json.load(sys.stdin)]" | sort -u | head -20
5. Verification before submission
OSINT answers feel certain and are often wrong. Require:
- Two independent sources agreeing (e.g. EXIF GPS plus a matching
Street View landmark).
- The flag format matches the event's pattern.
- No contradiction from a source you already checked (a profile
saying "moved to Berlin in 2020" kills a 2024 Paris geolocation).
When sources conflict, trust primary artifacts (metadata, archived
pages) over secondary claims (bios, comments).
Edge cases
- The challenge persona is fictional: in-event OSINT uses planted
profiles; treat them like real OSINT but expect the trail to be
short and deliberate.
- Search engines return nothing: try alternative spellings,
leetspeak variants, and other languages; also check platform
internal search, which indexes what Google does not.
- The image has no EXIF and no landmarks: look at shadows (sun
angle gives latitude hints), license plates, and tiny text;
enhance carefully without inventing details.
- Rate limits on APIs (GitHub, social platforms): use authenticated
tokens where allowed and cache results; do not hammer endpoints.
- The challenge mixes OSINT with another category (a hash in a profile
bio): solve each half with its own skill and keep the pivots labeled
by source.
Escalation
- Every lead dead-ends: re-read the challenge text for the clue you
skimmed (a date, a version number, a misspelling); CTF OSINT always
has a planted starting thread.
- The trail points at a real person: stop and check the rules; most
events forbid real-person targeting, and the intended path is
elsewhere.
- Attribution is ambiguous between two candidates: look for the
discriminator (a unique photo, a specific date) rather than
collecting more weak matches.
- Time is short: prioritize metadata and archives; they are the two
fastest high-yield sources in CTF OSINT.
Detection and defender view
Defenders practice OSINT defensively: auditing what public data exposes
about their organization (employee handles, photo metadata, document
authors, exposed subdomains) and removing it. Detection of hostile
OSINT is hard because it uses public sources, so defense focuses on
reducing the attack surface: strip metadata before publishing, use
separate professional and personal handles, and monitor certificate
transparency for lookalike domains. For individuals: review photo
backgrounds, disable geotagging, and audit old profiles.
Key references
See also
osint-methodology: Use it instead for planning a real collection effort, with requirements, source evaluation, and researcher operational security.
1---2name: ctf-osint-challenges3description: Use when competing in a CTF OSINT challenge, practicing in a4 lab, or researching information you are authorized to collect. Covers the5 OSINT workflow for competitions, hunting usernames across platforms,6 geolocating images from visual clues, extracting metadata from files,7 using public records and archives, verifying findings before submitting,8 and staying within the challenge rules and the law. Use when given a9 username, photo, or vague clue, when the flag hides in public data, or10 when you need to attribute an online persona in an authorized setting.11version: 1.0.012domain: ctf13lifecycle: stable14last_verified: "2026-10-23"15requires: []16extends: []17relates: [osint-methodology, ctf-competition-playbook]18tools:19 - name: Python20 version: "3.12"21 - name: ExifTool22 version: "12.90"23 - name: curl24 version: "8.5"25 - name: CyberChef26 version: latest27metadata:28 source: https://skillmd.com/skills/mizazhaider-ceh/ctf-osint-challenges29---3031OSINT challenges hide flags in public information: social profiles,32photos with location clues, file metadata, archived pages, and public33records. The winning pattern is breadth first (enumerate every source34the clue could live in), then depth on the promising lead, then35verification (two independent sources before submitting). This skill36covers the authorized competition methodology with concrete tools and37search techniques. Scope is CTF competitions, lab exercises, and38information you are authorized to collect; it never covers private data,39unauthorized access, or harassment.4041## Quick Workflow42431. Read the challenge text precisely; every word is a potential44 search term, username, or coordinate hint.452. Classify the artifact: username, image, document, URL, or vague46 description, and pick the matching sub-skill path.473. Enumerate broadly: search engines (with operators), platform48 searches, archives (Wayback Machine), and metadata.494. Follow the strongest lead: one confirmed profile or location beats50 ten maybes.515. Pivot: usernames repeat across platforms, photos contain landmarks,52 documents contain authors.536. Verify with a second independent source before submitting (two54 sources or it did not happen).557. Respect the rules: no interacting with real people (no DMs, no56 friend requests), no attempting logins, public data only.578. Record sources and queries for the writeup; OSINT writeups need58 reproducibility.5960## 1. Search engine operators for CTF OSINT6162```bash63# Google/Bing dorks that solve CTF OSINT fast64# site:github.com "<username>"65# site:linkedin.com/in "<full name>"66# "<username>" -site:twitter.com # exclude noisy domains67# filetype:pdf "<event name>" # documents68# inurl:profile "<username>"6970# Automate multi-engine username checks (see username-hunting sub-skill)71# and archive lookups:72curl -s "http://archive.org/wayback/available?url=example.com/page" | python3 -m json.tool73curl -s "https://web.archive.org/cdx/search/cdx?url=example.com/*&output=json&limit=20" | head -3074```7576Search the exact challenge strings in quotes first; CTF authors reuse77handles and phrases across events, and quoted search finds the original.7879## 2. Image triage for location and identity8081```bash82# Metadata first: GPS coordinates end many challenges immediately83exiftool photo.jpg | grep -i -E "gps|create date|camera|software|comment|author"8485# Reverse image search: upload to the major engines and compare results86# (Google Lens, Bing Visual Search, TinEye, Yandex Images)87# Yandex is notably strong on faces and Eastern European locations;88# use it for person-identification style challenges within the rules.8990# If no metadata: note landmarks, signs, license plates, vegetation,91# architecture style, and language on signage; feed these to the92# image-geolocation sub-skill workflow.93```9495Never enhance or identify real private individuals beyond the challenge96scope; CTF OSINT targets fictional or consenting personas, and the97rules usually forbid contacting anyone.9899## 3. Document and file metadata100101```bash102exiftool -a -u document.pdf | head -60103# Author, Creator, Producer, CreateDate, GPS, embedded thumbnails104105# Office documents: unzip and read the XML106unzip -p doc.docx docProps/core.xml107unzip -p doc.docx docProps/app.xml108109# PDF: check for hidden layers and embedded files110pdfinfo document.pdf111strings document.pdf | grep -i -E "author|flag" | head112113# Audio/video: same exiftool pass; check encoder strings for usernames114exiftool video.mp4 | grep -i -E "encoder|author|comment|gps"115```116117Metadata often contains the author's handle, software usernames, or GPS;118each is a pivot into the username-hunting or geolocation workflows.119120## 4. Public records and archives121122- Wayback Machine: past versions of challenge-linked pages often123 contain the flag or the clue that was later removed.124- GitHub: search code and commits for the username; commit emails125 leak real names, and old commits contain removed secrets.126- Certificate transparency (crt.sh): subdomains of challenge domains127 reveal staging or admin hosts.128- DNS history and WHOIS: creation dates and registrant handles for129 attribution-style challenges.130131```bash132# crt.sh subdomain enumeration for a challenge domain133curl -s "https://crt.sh/?q=%25.example-ctf.com&output=json" | \134 python3 -c "import json,sys; [print(r['name_value']) for r in json.load(sys.stdin)]" | sort -u | head -20135```136137## 5. Verification before submission138139OSINT answers feel certain and are often wrong. Require:140141- Two independent sources agreeing (e.g. EXIF GPS plus a matching142 Street View landmark).143- The flag format matches the event's pattern.144- No contradiction from a source you already checked (a profile145 saying "moved to Berlin in 2020" kills a 2024 Paris geolocation).146147When sources conflict, trust primary artifacts (metadata, archived148pages) over secondary claims (bios, comments).149150## Edge cases151152- The challenge persona is fictional: in-event OSINT uses planted153 profiles; treat them like real OSINT but expect the trail to be154 short and deliberate.155- Search engines return nothing: try alternative spellings,156 leetspeak variants, and other languages; also check platform157 internal search, which indexes what Google does not.158- The image has no EXIF and no landmarks: look at shadows (sun159 angle gives latitude hints), license plates, and tiny text;160 enhance carefully without inventing details.161- Rate limits on APIs (GitHub, social platforms): use authenticated162 tokens where allowed and cache results; do not hammer endpoints.163- The challenge mixes OSINT with another category (a hash in a profile164 bio): solve each half with its own skill and keep the pivots labeled165 by source.166167## Escalation168169- Every lead dead-ends: re-read the challenge text for the clue you170 skimmed (a date, a version number, a misspelling); CTF OSINT always171 has a planted starting thread.172- The trail points at a real person: stop and check the rules; most173 events forbid real-person targeting, and the intended path is174 elsewhere.175- Attribution is ambiguous between two candidates: look for the176 discriminator (a unique photo, a specific date) rather than177 collecting more weak matches.178- Time is short: prioritize metadata and archives; they are the two179 fastest high-yield sources in CTF OSINT.180181## Detection and defender view182183Defenders practice OSINT defensively: auditing what public data exposes184about their organization (employee handles, photo metadata, document185authors, exposed subdomains) and removing it. Detection of hostile186OSINT is hard because it uses public sources, so defense focuses on187reducing the attack surface: strip metadata before publishing, use188separate professional and personal handles, and monitor certificate189transparency for lookalike domains. For individuals: review photo190backgrounds, disable geotagging, and audit old profiles.191192## Key references193194- MITRE ATT&CK T1593 (Search Open Websites/Domains) and T1598195 (Phishing for Information)-adjacent search techniques; the196 reconnaissance tactics family (TA0043).197- OSINT Framework: https://osintframework.com/198- Bellingcat's open source investigation toolkit:199 https://www.bellingcat.com/resources/200- Wayback Machine: https://web.archive.org/201- ExifTool: https://exiftool.org/202203## See also204205- `osint-methodology`: Use it instead for planning a real collection effort, with requirements, source evaluation, and researcher operational security.