How OSINT tasks are structured in CTFs
Before opening the terminal, let's understand the task logic. Most OSINT tasks in CTFs follow a common pattern: the organizers provide a starting point—a nickname, email, photo, or URL—and expect the participant to follow a chain of open sources to reach the flag. According to the CTF OSINT reference, the typical pattern is: "You are given a starting point—a name, username, email, photo, or website URL." The goal is to assemble the disparate pieces and build a route to the answer.
classification According to the MITRE ATT&CK , the techniques we use in CTF OSINT fall under the Reconnaissance tactic. Social media searches are classified as T1593.001 (Social Media), working with search engines and dorks is classified as T1593.002 (Search Engines), collecting email addresses is classified as T1589.002 (Email Addresses), and determining location from photographs is classified as T1591.001 (Determine Physical Locations). In a real-world pentest, these same techniques are used during the reconnaissance phase before an attack. In CTF, they are used to locate the flag. The mechanics are identical; only the goal is different.
Typical OSINT starting points for CTFs:
Username — a nickname for searching platforms and related accounts
Email is the address through which you access leaks, registrations, and profiles.
A photograph is an image with metadata or visual clues for geolocation.
A text fragment or URL is the starting point for searching through archives and search engines
The difference between CTF and real open-source intelligence is that all data is intentionally posted by the organizers. There are no ethical restrictions under Article 7 of Federal Law No. 152, because the "subject" is a fictional character. However, the habit of working systematically and documenting findings will come in handy when you move on to real-world tasks.
Search by username: from nickname to flag
A username is the most common starting point in CTF OSINT. The goal is to find all associated accounts on different platforms using a single username and extract a flag or the next lead from them. Open source intelligence begins here—with the first digital trace.
Sherlock and Maigret: Scanning Hundreds of Platforms
Sherlock is the primary tool for mass username searches across hundreds of websites. It sends requests to each platform and checks whether an account with the given name exists. In CTFs, this is the first step after obtaining a username.
Launching the tool is simple: enter your username and get a list of found platforms. However, there's a catch that regularly trips up newbies: Sherlock produces false positives. Some platforms return HTTP 200 to any request, and the tool marks the account as found, even though it doesn't exist. According to the CTF OSINT reference, platform-specific false positives are a documented issue, so whatsmyname.app maintains an up-to-date list of such platforms and takes them into account when checking.
Maigret is a Sherlock fork with an expanded website database and additional analytics. It can extract profile metadata, including bio, registration date, links, and other public data (username metadata mining). This is crucial for CTFs—sometimes the flag is hidden not on the profile page itself, but in metadata that Sherlock simply won't reveal. Maigret generates a PDF report with the collected analytics—handy when the clock is ticking.
The procedure for working with username:
Launch Sherlock or Maigret with the target nickname
Filter your results to remove platforms with known false positives.
Open each found profile manually and check it visually.
Search profiles: bio, links to other resources, photos, posts, subscriptions
Check to see if the lead leads to another username or email address.
WhatsMyName and manual verification
WhatsMyName.app is a web service that checks usernames against several hundred websites (the database is updated more frequently than Sherlock). It works through a browser. Run it alongside Sherlock—the databases don't fully overlap, and one tool finds what the other missed. Another checker, namechk.com, was originally created to verify nickname availability during registration, but in CTFs it serves as a quick account existence check.
A critical point: if automated OSINT tools for beginners haven't found anything, it's not a dead end. CTFs often use platforms that aren't listed in databases. Check manually: Steam, Discord, Telegram, GitHub, Flickr. Task organizers like to hide profiles on less obvious platforms.
I've encountered situations more than once where the automated system is silent, and the profile is discovered through a regular Google dork: "targetuser123" site:reddit.com or inurl:targetuser123Search Engine Intelligence (T1593.002 according to MITRE ATT&CK) is not only about tools, but also about manual work with search operators. Operator site:Limits the search results to a specific platform, and quotation marks require an exact match—basic Google dorking techniques that solve a multitude of problems.
Email reconnaissance in CTF tasks
If the starting point is an email address, the strategy changes. Here, you need to determine which services this email is registered to, whether it has been involved in data leaks, and whether it is connected to other accounts. OSINT email searches are always a multi-step process.
holehe and h8mail: automated verification
holehe is a Python utility that checks whether an email address is registered with specific services. It works quite nicely: it uses password recovery and registration forms, sending a "forgot password" request and, based on the service's response, determining whether the account exists. For most platforms, this is a passive method, but some services still send the owner an email about the recovery attempt, which is potentially noticeable to the account owner.
HoleHe is useful for CTFs because it shows specific platforms with active registrations. You then go to these platforms and search for a profile by email or associated username. Organizers sometimes register a fake account on an unobvious platform—HoleHe will find it, but Sherlock won't, because Sherlock searches by username, not email.
h8mail works in a different direction: searching for email addresses in public data leaks. It accesses several APIs and paste services, revealing which leaks the address appears in. During CTFs, organizers sometimes create fake entries on Pastebin or similar sites, simulating a leak with a password or additional data. h8mail finds these entries and extracts context.
Have I Been Pwned and the extent of the leaks
Have I Been Pwned (HIBP) is Troy Hunt's service for checking email addresses against leaked databases. The scale of the data it aggregates is impressive: the LinkedIn leak (2012) yielded 164,611,595 records with email addresses and passwords. Tumblr (2013) yielded another 65,469,298 records. The Exploit.In combo list (2016) combined 593,427,119 unique email addresses from multiple sources. In 2024, even the Internet Archive (archive.org) was compromised, yielding 31,081,179 records with email addresses, passwords, and usernames.
CTFs exploit leaks in two ways. First, organizers create an email address that has been leaked in a real or simulated leak, and the participant must find the associated password or username. Second, the very presence of an email address in a particular leak serves as a clue for the next step. If an email address is found in a leak from platform X, it means there's an account on that platform with the data.
The procedure for working with email in CTF:
Check your email through holehe and you'll get a list of services with registration.
Check through HIBP and h8mail to find mentions in leaks.
Search through Google dork: "[email protected]"— paste services, forums, public profiles
Analyze the email domain - if it is not Gmail or Outlook, the WHOIS domain may provide additional information
Extract the potential username from the address part before @and run it through Sherlock
One detail that is often overlooked in the excitement: the part of the email before the "h" is a potential username. If the address [email protected], That dr4gonfly99— the prime candidate for OSINT username search. Obvious? Yes. But under timer pressure, it's forgotten half the time.
Before opening the terminal, let's understand the task logic. Most OSINT tasks in CTFs follow a common pattern: the organizers provide a starting point—a nickname, email, photo, or URL—and expect the participant to follow a chain of open sources to reach the flag. According to the CTF OSINT reference, the typical pattern is: "You are given a starting point—a name, username, email, photo, or website URL." The goal is to assemble the disparate pieces and build a route to the answer.
classification According to the MITRE ATT&CK , the techniques we use in CTF OSINT fall under the Reconnaissance tactic. Social media searches are classified as T1593.001 (Social Media), working with search engines and dorks is classified as T1593.002 (Search Engines), collecting email addresses is classified as T1589.002 (Email Addresses), and determining location from photographs is classified as T1591.001 (Determine Physical Locations). In a real-world pentest, these same techniques are used during the reconnaissance phase before an attack. In CTF, they are used to locate the flag. The mechanics are identical; only the goal is different.
Typical OSINT starting points for CTFs:
Username — a nickname for searching platforms and related accounts
Email is the address through which you access leaks, registrations, and profiles.
A photograph is an image with metadata or visual clues for geolocation.
A text fragment or URL is the starting point for searching through archives and search engines
The difference between CTF and real open-source intelligence is that all data is intentionally posted by the organizers. There are no ethical restrictions under Article 7 of Federal Law No. 152, because the "subject" is a fictional character. However, the habit of working systematically and documenting findings will come in handy when you move on to real-world tasks.
Search by username: from nickname to flag
A username is the most common starting point in CTF OSINT. The goal is to find all associated accounts on different platforms using a single username and extract a flag or the next lead from them. Open source intelligence begins here—with the first digital trace.
Sherlock and Maigret: Scanning Hundreds of Platforms
Sherlock is the primary tool for mass username searches across hundreds of websites. It sends requests to each platform and checks whether an account with the given name exists. In CTFs, this is the first step after obtaining a username.
Launching the tool is simple: enter your username and get a list of found platforms. However, there's a catch that regularly trips up newbies: Sherlock produces false positives. Some platforms return HTTP 200 to any request, and the tool marks the account as found, even though it doesn't exist. According to the CTF OSINT reference, platform-specific false positives are a documented issue, so whatsmyname.app maintains an up-to-date list of such platforms and takes them into account when checking.
Maigret is a Sherlock fork with an expanded website database and additional analytics. It can extract profile metadata, including bio, registration date, links, and other public data (username metadata mining). This is crucial for CTFs—sometimes the flag is hidden not on the profile page itself, but in metadata that Sherlock simply won't reveal. Maigret generates a PDF report with the collected analytics—handy when the clock is ticking.
The procedure for working with username:
Launch Sherlock or Maigret with the target nickname
Filter your results to remove platforms with known false positives.
Open each found profile manually and check it visually.
Search profiles: bio, links to other resources, photos, posts, subscriptions
Check to see if the lead leads to another username or email address.
WhatsMyName and manual verification
WhatsMyName.app is a web service that checks usernames against several hundred websites (the database is updated more frequently than Sherlock). It works through a browser. Run it alongside Sherlock—the databases don't fully overlap, and one tool finds what the other missed. Another checker, namechk.com, was originally created to verify nickname availability during registration, but in CTFs it serves as a quick account existence check.
A critical point: if automated OSINT tools for beginners haven't found anything, it's not a dead end. CTFs often use platforms that aren't listed in databases. Check manually: Steam, Discord, Telegram, GitHub, Flickr. Task organizers like to hide profiles on less obvious platforms.
I've encountered situations more than once where the automated system is silent, and the profile is discovered through a regular Google dork: "targetuser123" site:reddit.com or inurl:targetuser123Search Engine Intelligence (T1593.002 according to MITRE ATT&CK) is not only about tools, but also about manual work with search operators. Operator site:Limits the search results to a specific platform, and quotation marks require an exact match—basic Google dorking techniques that solve a multitude of problems.
Email reconnaissance in CTF tasks
If the starting point is an email address, the strategy changes. Here, you need to determine which services this email is registered to, whether it has been involved in data leaks, and whether it is connected to other accounts. OSINT email searches are always a multi-step process.
holehe and h8mail: automated verification
holehe is a Python utility that checks whether an email address is registered with specific services. It works quite nicely: it uses password recovery and registration forms, sending a "forgot password" request and, based on the service's response, determining whether the account exists. For most platforms, this is a passive method, but some services still send the owner an email about the recovery attempt, which is potentially noticeable to the account owner.
HoleHe is useful for CTFs because it shows specific platforms with active registrations. You then go to these platforms and search for a profile by email or associated username. Organizers sometimes register a fake account on an unobvious platform—HoleHe will find it, but Sherlock won't, because Sherlock searches by username, not email.
h8mail works in a different direction: searching for email addresses in public data leaks. It accesses several APIs and paste services, revealing which leaks the address appears in. During CTFs, organizers sometimes create fake entries on Pastebin or similar sites, simulating a leak with a password or additional data. h8mail finds these entries and extracts context.
Have I Been Pwned and the extent of the leaks
Have I Been Pwned (HIBP) is Troy Hunt's service for checking email addresses against leaked databases. The scale of the data it aggregates is impressive: the LinkedIn leak (2012) yielded 164,611,595 records with email addresses and passwords. Tumblr (2013) yielded another 65,469,298 records. The Exploit.In combo list (2016) combined 593,427,119 unique email addresses from multiple sources. In 2024, even the Internet Archive (archive.org) was compromised, yielding 31,081,179 records with email addresses, passwords, and usernames.
CTFs exploit leaks in two ways. First, organizers create an email address that has been leaked in a real or simulated leak, and the participant must find the associated password or username. Second, the very presence of an email address in a particular leak serves as a clue for the next step. If an email address is found in a leak from platform X, it means there's an account on that platform with the data.
The procedure for working with email in CTF:
Check your email through holehe and you'll get a list of services with registration.
Check through HIBP and h8mail to find mentions in leaks.
Search through Google dork: "[email protected]"— paste services, forums, public profiles
Analyze the email domain - if it is not Gmail or Outlook, the WHOIS domain may provide additional information
Extract the potential username from the address part before @and run it through Sherlock
One detail that is often overlooked in the excitement: the part of the email before the "h" is a potential username. If the address [email protected], That dr4gonfly99— the prime candidate for OSINT username search. Obvious? Yes. But under timer pressure, it's forgotten half the time.