The technical part of researching onion sites is the easy bit. Tor Browser takes two minutes to install. What trips up researchers is everything around it: downloading a file that turns out to be illegal to possess, logging into a forum with an account that links back to a real email, quoting a pseudonymous user in a way that identifies them, or spending three weeks reading abuse forums and not realising what it's doing to your head. This article is about those parts.
I've done this kind of work for publications and with academic teams. None of what follows is exotic. Most of it is boring discipline.
Talk to the lawyers and the ethics board first
Before you open Tor Browser for a project, find out where your legal limits are. For a journalist that usually means the newsroom's legal team. For an academic it means your institution's research ethics committee (an IRB in the US) and possibly university counsel.
Questions worth getting answered in writing:
- What are we allowed to download, and how will it be stored?
- Are we allowed to create accounts on forums, and under what kind of persona?
- Are test purchases permitted? (Usually no. Being a reporter or researcher is generally not a defence for buying illegal goods.)
- What do we do if we encounter child sexual abuse material or evidence of an imminent threat to someone?
- How will we handle personal data about users we observe?
The CSAM question matters most. In many jurisdictions, simply having those images in your browser cache can be an offence, and "I was researching" is a weak position to argue from. Your plan should be to leave immediately, record only the URL and time if required, and report through the proper channel (NCMEC's CyberTipline in the US, the Internet Watch Foundation in the UK, or your national equivalent). Never download or screenshot it. Our article on whether browsing the dark web is illegal covers the general legal picture.
Isolate the research environment
Don't do this on your everyday laptop, logged into your everyday browser, with your email and your source files sitting right there. The point is to make sure that a mistake, a malicious file, or a browser exploit can't reach anything that matters.
Three reasonable setups, roughly in order of effort:
Tails on a USB stick. Boots on almost any laptop, routes everything through Tor, and forgets everything when you shut down. Good for occasional research and for when you don't want anything left on the hard drive. Use Persistent Storage only for notes and bookmarks you actually need. See Tails: the amnesic live OS.
Whonix in virtual machines. A Gateway VM that only speaks Tor and a Workstation VM behind it that has no way to reach the internet except through the Gateway. Even if software in the Workstation is compromised, it can't learn your real IP. Better for longer projects where you want to keep files and tools between sessions.
Qubes OS with Whonix qubes, if you or your organisation are prepared for the learning curve. Separate disposable VMs for opening untrusted files are a real advantage here.
Whichever you choose, use a dedicated machine if your budget allows. A cheap second-hand laptop used for nothing else removes a whole category of worry. The comparison in Tails vs Whonix vs Qubes will help you pick.
Browser settings for research
Set Tor Browser's security level to Safest by default. Most forums, markets and directories work without JavaScript, and Safest also blocks a lot of automatic media loading, which reduces the chance of stumbling onto illegal images. Drop to Safer only for a specific site that needs it.
Don't install add-ons. Don't resize the window to some odd size. Don't log into anything personal in the same session. These are standard Tor Browser mistakes, and they matter more when someone on the other end may be looking for exactly the kind of person you are.
Files: assume everything is hostile
Documents and archives from onion sites are a classic way to deanonymise visitors. A PDF or Word file can phone home when opened, revealing your real IP if you open it outside Tor. Archives can contain malware. "Leaked data" can contain things that are illegal to hold.
If you have to open files, do it inside an offline, disposable environment. Tails with networking disabled, or a Qubes disposable VM with no network, are both reasonable. Never open them on your host system. Convert to safe formats where possible (Dangerzone, from the Freedom of the Press Foundation, turns untrusted documents into flattened PDFs inside a sandbox for exactly this purpose).
Personas and accounts
Passive observation, reading public pages without an account, is ethically and legally the simplest. Many projects can stay there.
If you need accounts, keep them fully separate from your real identity: usernames you've never used elsewhere, passwords kept in a separate password database, no email linked to you, and no recognisable writing style. Researchers have been identified through their phrasing and the times of day they're active, which is the subject of stylometry. This is ordinary OPSEC applied to a work project, and the people you are watching are often better at it than you.
Whether you can interact with users, or deceive them about who you are, is an ethics question your board should rule on. Many will allow lurking but not active participation. Journalism codes generally permit undercover work only when the information can't be obtained another way.
Collecting evidence you can stand behind
Onion sites vanish, so capture what you need when you see it. For each item, record the full onion address, the date and time in UTC, and what you saw. Save pages as HTML or PDF from inside the isolated environment, and compute a hash (sha256sum file.html) so you can later show the file hasn't changed. Screenshots are useful for publication but weak as evidence on their own.
Keep these archives encrypted. VeraCrypt containers or an encrypted Persistent Storage on Tails both work. Think about who in your organisation needs access and limit it.
Scraping and crawling
Automated collection is common in academic work. Two cautions. First, crawlers can easily pull down illegal images unless you restrict them to text and filter aggressively. Many research crawlers deliberately skip images altogether. Second, aggressive crawling over Tor puts load on volunteer relays and on small onion servers that run on a single machine. Throttle your requests and respect the operators, even the ones you're studying.
Writing it up
Don't publish details that would help someone commit a crime. Don't publish working onion addresses for illegal markets or abuse sites; describing them is usually enough. Be careful quoting pseudonymous users: a verbatim forum post can be searched and traced back to the poster's other accounts. Paraphrase where the exact words aren't the point.
Look after yourself
Long periods reading about violence, abuse and exploitation take a toll, even when you never see anything graphic. Content moderators and investigators have documented trauma symptoms from this sort of exposure. Set time limits, work in pairs if you can, have someone you can talk to, and stop when you notice it getting to you. Newsrooms and universities increasingly have support for this; use it.
For newcomers who just need to see what normal onion sites look like before starting a project, a curated list like our onion directory is a low-risk place to start. It keeps to legitimate services, which gives you a baseline before you go anywhere less pleasant.