Skip to content
OSINTblogs

Dark web OSINT: how to research onion sites safely and lawfully

What the dark web is and is not, how to set up for onion research, where to find and verify onion addresses, the mistakes that link hidden sites to real infrastructure, clear-web alternatives that avoid the visit altogether, and the legal lines that must not be crossed.

· 7 min read

The dark web is smaller and duller than its reputation. It is a set of websites reachable only through anonymity networks, mainly Tor, where both the visitor and the server are hidden from each other. Some of it is criminal: drug markets, stolen data shops, ransomware leak sites. Much of it is forums, mirrors of ordinary news sites, whistleblowing drop boxes and abandoned pages.

For researchers it matters as a source on data breaches, fraud and threats to an organisation. It needs more preparation than ordinary research, and a firm sense of where to stop.

Terms that get confused

Term

Meaning

Surface web

Pages a search engine can index

Deep web

Anything not indexed: webmail, databases, pages behind logins. Most of the internet

Dark web

Sites on anonymity networks, needing special software to reach

Tor

The largest such network. Routes traffic through three volunteer relays

Onion service

A site hosted inside Tor, with an address ending .onion

Tor Browser

A hardened browser that connects through Tor

Current onion addresses are 56 characters of letters and digits followed by .onion. The address is derived from the site's cryptographic key, which means the address itself proves you have reached the holder of that key. It also means addresses are impossible to remember and easy to imitate.

Decide whether you need to go at all

Much "dark web" research can be done from the ordinary internet, with less risk and better record keeping.

  • Ransomware leak sites are tracked by public projects that list victims, dates and groups, so you can check whether an organisation has been named without visiting a criminal site.

  • Breach exposure can be checked through notification services that tell you whether an email address or domain appears in known breaches, without your handling the stolen data.

  • Threat intelligence reports from security companies and national cyber agencies summarise forum and market activity.

  • Onion search engines such as Ahmia have clear-web interfaces that show indexed text from onion pages.

  • Telegram now carries much of what once lived on dark web forums. See our guide to Telegram OSINT.

If the question is "has our company's data been posted?", start with these. Go to the source only when you need to confirm something first-hand.

A safe set-up

When a visit is needed, assume the site is hostile.

  1. Use an isolated machine. A virtual machine restored from a clean snapshot, or the Tails operating system started from a USB stick, which routes everything through Tor and forgets everything on shutdown.

  2. Use Tor Browser, unmodified. Download it only from the Tor Project. Do not add extensions, and do not resize the window, since both make your browser distinguishable.

  3. Set the security level to Safest. This turns off JavaScript and other features that are the usual route for attacks. Many sites still work.

  4. Do not log in to anything personal, and do not reuse usernames or passwords from anywhere else.

  5. Do not download or open files on a machine that matters. Documents can contact the internet outside Tor when opened and reveal your real address.

  6. Take notes outside the browser, and capture pages as you go, since onion sites vanish without notice.

Using Tor is legal in most countries. Your internet provider can see that you are connecting to Tor, though not what you do there. In a workplace, tell the security team first, because Tor traffic from a corporate network looks like an incident. Our guide to OPSEC for OSINT covers the wider set-up.

Finding onion addresses

There is no equivalent of Google. Sources, in rough order of reliability:

  • The organisation's own clear-web site. News outlets, privacy tools and some platforms publish their onion address, and many sites send an Onion-Location header that Tor Browser offers to follow.

  • Ahmia and a few other search engines, which index onion sites and filter out abuse material.

  • Security research and news reports that name sites.

  • Link directories and forums, which are full of dead links and deliberate fakes.

  • References on the clear web. Search for the site's name with .onion on ordinary search engines and code hosting sites.

Verify before you trust an address

Phishing is the dark web's commonest crime. Popular markets and forums have dozens of clones with similar addresses, built to steal logins and deposits, and link lists are seeded with them.

  • Compare the whole address, character by character, against at least two independent sources.

  • Look for a signed mirror list. Established sites publish their valid addresses in a message signed with a PGP key, so that anyone who already has the key can check the list.

  • Be wary of anything that asks for payment or credentials on arrival.

For research, the point is narrower: make sure the site you are describing in your report is the one you think it is.

What you can learn

  • Whether your organisation is mentioned. Leak site listings, forum posts offering access, credentials for sale.

  • Timelines. Post dates, countdown timers on leak sites, account registration dates on forums.

  • Actor profiles. Usernames, join dates, reputation scores, writing style, languages, time of activity, contact details such as messaging handles.

  • Reuse across places. Actors reuse usernames, PGP keys, contact handles and cryptocurrency addresses on several forums and on the clear web. See username OSINT and tracing cryptocurrency transactions.

  • Sample data. Sellers post samples to prove a breach. Reading enough to confirm whose data it is may be justified. Downloading the full set usually is not.

Be sceptical of everything. Criminals lie to each other constantly: old breaches are repackaged as new, claims of access are invented to build reputation, and data is fabricated. A listing is a claim to verify.

How hidden services get exposed

Tor hides a server's address. It does not fix the mistakes of whoever runs the server. Researchers and police have linked onion sites to real infrastructure through open-source observation of errors like these:

  • The same content on a clear-web address. Internet scan services such as Shodan and Censys index servers by page title, favicon hash and TLS certificate. A hidden site whose server also answers on its ordinary IP address can be found by searching for those. Our guide to lookalike domains shows the favicon method.

  • Server status and error pages that print the real host name or address.

  • Shared identifiers. Analytics IDs, advertising codes, SSH keys and certificates reused on a clear-web site.

  • Metadata in files. Photos and documents uploaded with their original metadata. See document metadata.

  • Contact details. An email address or handle that was also used elsewhere.

  • Payment addresses traced to an exchange.

  • Language, time zone and working hours across many posts.

All of these involve reading what a site publishes and comparing it with other public data. None involves probing, scanning or attacking the server, which would be unlawful. For addresses you find, the Tor Project's ExoneraTor service will tell you whether an IP address was a Tor relay on a given date, which matters when judging whether an address in a log was a real user or an exit node.

Other lines, which apply everywhere to varying degrees:

  • Do not buy anything. Purchasing stolen data, credentials or illegal goods is a crime and funds more of it, whatever your purpose.

  • Do not use credentials you find, even your own organisation's, to test whether they work on a system you are not authorised to test.

  • Do not download stolen data sets without legal advice. In many places, holding other people's personal data from a breach breaches data protection law. Confirm exposure with the minimum necessary.

  • Do not take part. Posting, bidding, or encouraging is participation.

  • Do not deceive without authority. Creating a persona to gain entry to a closed forum is covert activity. Law enforcement needs authorisation for it, and private researchers need a clear legal and ethical basis.

Our overview of whether OSINT is legal sets out the general framework.

Recording what you find

Public web archives do not reach onion sites, so your capture is the only record.

  1. Note the full onion address, the date and time in UTC, and how you found the address.

  2. Save the page from within the isolated environment and take a full-page screenshot.

  3. Hash the files and timestamp the hashes.

  4. Move captures out of the research machine by a controlled route, and scan them.

  5. Log everything. See preserving web evidence.

In the report, state clearly that the source is criminal and unverified, and grade it accordingly. See our OSINT report template.

Frequently asked questions

Is it illegal to access the dark web?

In most countries, no. Using Tor and visiting onion sites is lawful. What you do there can be illegal: buying illegal goods, downloading stolen data or accessing prohibited material.

What is the difference between the deep web and the dark web?

The deep web is everything search engines do not index, such as your email inbox. The dark web is the small part hosted on anonymity networks and reachable only with software such as Tor Browser.

How do I check if my data is on the dark web?

Use a breach notification service for your email address or domain, and public trackers of ransomware leak sites for organisations. These avoid visiting criminal sites or handling stolen data.

Is Tor Browser safe to use?

It is well-engineered and protects your address, but it does not protect you from the content you open. Keep the security level high, avoid downloads and use an isolated machine.

Can onion sites be traced?

Not through Tor itself, in normal circumstances. Operators are identified through their own mistakes, such as leaking the server's real address or reusing identifiers.

More from Dheeraj Yadav

Report this post