![]() |
|
[The Brotherhood] {Tutorial} Basic OSINT - Sherlock - Username Hunting - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Whitehat • Blue Team • Defensive Security (https://hackforums.net/forumdisplay.php?fid=448) +---- Forum: OpSec and OSINT (https://hackforums.net/forumdisplay.php?fid=322) +---- Thread: [The Brotherhood] {Tutorial} Basic OSINT - Sherlock - Username Hunting (/showthread.php?tid=6328396) |
{Tutorial} Basic OSINT - Sherlock - Username Hunting - Pr0m3th3us - Oct 13, 2026 ![]() Username Hunting: Tracking Digital Footprints with Sherlock ![]() Part 1: Introduction & The Mechanics of Sherlock Today, we are looking at a highly specialized, surgical tool: Sherlock. Sherlock does exactly one thing, but it does it better than almost anything else: Username Enumeration. We as humans are creatures of habit. If someone has a favorite handle for gaming, they likely use it for Reddit, Spotify, GitHub, and random forums. Sherlock takes a single username and queries over 400 social networks and websites simultaneously to see where that identity exists. To show you how dangerous username reuse can be, I will be demonstrating in this TUT. How Sherlock Works (No APIs Required) Unlike SpiderFoot, which relies heavily on API keys, Sherlock is beautifully simple. It doesn't need passwords or APIs. It simply takes the username you give it and rapidly constructs profile URLs for hundreds of sites (e.g., twitter.com/username, reddit.com/user/username). It then checks the HTTP response codes from those servers. If a page exists, it flags it as a hit! Because it only looks at public-facing URLs, it is incredibly fast and completely legal. Installation on Linux Most Linux's usually has this in its repo, making installation a breeze. Code sudo apt update && sudo apt install sherlockIf you prefer to grab the absolute latest version straight from the source, you can clone the GitHub repo instead: Code git clone https://github.com/sherlock-project/sherlock.git![]() The Hunt & Analyzing the Data Phase 1: Running the Scan In my terminal, I run the following simple, basic command Code sherlock --csv --timeout 5 ALIASCommand Breakdown:
![]() Advanced Command-Line Flags While the basic command gets the job done, Sherlock has a few powerful flags you can append to your command to customize your hunt. 1. Filtering by Site (--site) If you don't want to wait for Sherlock to query over 400 sites and only care about specific platforms, you can restrict the search. You can stack this flag multiple times. Code sherlock --site twitter --site reddit --site github ALIAS2. OPSEC: Routing Through Tor (--tor) If you are investigating a sensitive target and need to mask your IP address, you can route Sherlock's traffic through the Tor network. (You must have Tor installed and running for this to work). Code sherlock --tor ALIAS3. Decluttering the Terminal (--print-found) By default, Sherlock prints every single site it checks, which results in a massive wall of red "Not Found!" text. If you only want your terminal to display the successful hits (the green pluses), append this flag: Code sherlock --print-found ALIAS4. NSFW Targets (--nsfw) Sherlock maintains a list of Not Safe For Work (adult) websites in its database, but it excludes them from the default scan to keep things clean. If your investigation requires checking these platforms, you must explicitly enable them Code sherlock --nsfw ALIAS5. Instant Review (--browse) If you are doing a quick manual review and want to instantly look at the profiles Sherlock finds, use the browse flag. It will automatically open a new tab in your default web browser for every successful hit it gets. Code sherlock --browse ALIAS![]() Phase 2: The Live Output Sherlock uses a simple color-coded system (Green for hits, Red for misses). Quote:[*]Checking username: ALIAS [*] ![]() Phase 3: The Analysis Within two minutes, Sherlock checked over 400 sites and found 52 accounts tied to my old gaming alias. Here is why this is an OSINT goldmine
![]() Conclusion Notice what just happened in that last bullet point? Sherlock found an email address. This is the core of OSINT. You take the output of one tool and feed it into another. I can now take that newly discovered Gmail address, plug it back into Maltego or SpiderFoot or a litany of other programs and go from there. A single reused username is all it takes to unravel someone's entire digital life. ![]() |