Introduction
The TOR (The Onion Router) Browser is a privacy-focused web browser designed to provide anonymous internet access by concealing a user’s identity and location.
Originally developed by the U.S. Naval Research Laboratory and later maintained by the The Tor Project, TOR is widely used by journalists, activists, researchers, whistleblowers, and privacy-conscious individuals.
Unlike conventional web browsing, where data travels directly between a user and a website, TOR routes traffic through multiple encrypted relay nodes distributed around the world.
This process significantly complicates efforts to identify the source or destination of communications.
From a digital forensics perspective, TOR presents substantial challenges because it minimizes identifiable network traces and obscures attribution.
What Is Onion Routing?
TOR is based on a technique known as Onion Routing.
The concept derives from the structure of an onion, which consists of multiple layers. Similarly, TOR encrypts communications in multiple layers before transmitting them through a series of relay servers.
When a user accesses a website through TOR:
- The TOR client builds a route through the TOR network.
- Multiple layers of encryption are applied.
- Each relay removes only a single layer.
- No relay knows both the source and destination.
This architecture prevents any single point within the network from possessing complete knowledge of the communication.
TOR Network Architecture
A TOR circuit typically consists of three relay nodes:
1. Guard (Entry) Node
The Guard Node is the first relay in the circuit.
It knows:
- User’s IP address
- Next relay in the chain
It does not know:
- Final destination
- Content of communications
The use of persistent guard nodes helps reduce the risk of traffic correlation attacks.
2. Middle Relay
The middle relay acts purely as a forwarding node.
It knows:
- Previous relay
- Next relay
It does not know:
- User identity
- Final destination
Its primary purpose is to separate the entry and exit nodes.
3. Exit Node
The exit node is the final relay before traffic reaches the destination website.
It knows:
- Destination website
- Unencrypted traffic (if HTTPS is not used)
It does not know:
- Original user’s IP address
The destination website sees the exit node’s IP address rather than the user’s real IP address.
Circuit Creation Process
When TOR starts, it downloads a directory of available relays from trusted directory authorities.
The browser then:
- Selects a guard node.
- Selects a middle relay.
- Selects an exit node.
- Establishes encrypted sessions with each relay.
A simplified example:
User → Guard Node → Middle Relay → Exit Node → Website
Each relay decrypts only enough information to determine where the packet should be forwarded next.
Layered Encryption Process
TOR employs layered encryption similar to:
Layer 3 → Exit NodeLayer 2 → Middle RelayLayer 1 → Guard Node
Before transmission:
Encrypt(Data, Exit Key)Encrypt(Result, Middle Key)Encrypt(Result, Guard Key)
As traffic moves through the network:
Guard Node
Removes outer encryption layer.
Cannot see:
- Destination
- Original content
Middle Relay
Removes second layer.
Cannot see:
- User identity
- Full message
Exit Node
Removes final layer.
Can only see:
- Destination
- Plaintext if HTTPS is absent
This process ensures no single node possesses complete knowledge of the communication.
Directory Authorities
TOR relies on a small number of trusted directory authorities.
These servers:
- Maintain relay information
- Publish network consensus data
- Verify relay availability
- Distribute relay public keys
TOR clients download this information periodically to construct circuits.
Hidden Services and Onion Services
TOR also supports anonymous hosting through Onion Services.
These services use special domains ending in .onion
Example example123abc.onion
Unlike traditional websites:
- Server IP addresses remain hidden.
- Clients remain anonymous.
- Traffic never leaves the TOR network.
Both parties communicate through rendezvous points established within the TOR infrastructure.
Onion Service Connection Process
When accessing an Onion Service:
- Service publishes introduction points.
- Client obtains service descriptor.
- Client selects a rendezvous point.
- Service connects to rendezvous point.
- Encrypted communication occurs entirely within TOR.
Neither side learns the other’s IP address.
TOR Browser Security Features
Fingerprinting Protection
TOR Browser attempts to make all users appear similar.
Measures include:
- Standardized screen sizes
- Uniform browser configurations
- Restricted APIs
- Limited font exposure
These protections reduce browser fingerprinting techniques used for user tracking.
Script Isolation
TOR Browser is based on Mozilla Firefox but incorporates additional security controls.
Features include:
- Enhanced site isolation
- Sandboxing
- JavaScript restrictions
- Anti-tracking mechanisms
HTTPS Enforcement
TOR Browser strongly encourages encrypted communications through HTTPS.
This prevents exit nodes from viewing sensitive content.
Without HTTPS:
- Exit nodes can inspect traffic.
- Credentials may be exposed.
- Communications may be modified.
TOR and Digital Forensics
Investigative Challenges
TOR creates significant obstacles during forensic investigations.
Investigators typically cannot determine:
- Original IP address
- Physical location
- Network path
from website logs alone.
Instead, websites only observe the exit node.
Potential Forensic Artefacts
Despite network anonymity, local forensic artefacts may remain.
Browser Artefacts
Examiners may recover:
- Downloaded files
- Cached content
- Session information
- Browser settings
depending on configuration and user activity.
Memory Artefacts
RAM analysis may reveal:
- Active circuits
- Decrypted content
- Open connections
- Cryptographic keys
if memory is captured while TOR is running.
Operating System Artefacts
Potential evidence may exist within:
- Windows Event Logs
- Registry entries
- Recent file lists
- DNS artefacts
- Prefetch files
- Shortcut files
Although TOR minimizes storage, operating systems often generate artefacts independently.
Network Forensics and TOR
Network monitoring may identify TOR usage through:
- Known relay IP addresses
- TLS handshake characteristics
- Traffic patterns
- Connection timing
However, identifying TOR usage is very different from identifying the websites accessed.
Encrypted relay-to-relay communication generally prevents observers from determining final destinations.
Limitations of TOR
TOR is not a perfect anonymity solution.
Potential weaknesses include:
Traffic Correlation Attacks
A sufficiently powerful adversary observing both ends of a connection may correlate:
- Packet timing
- Traffic volume
- Connection patterns
to infer relationships between source and destination.
Endpoint Compromise
If a device is infected with malware:
- Keystrokes can be captured.
- Screens can be monitored.
- User identity may be exposed.
TOR cannot protect against a compromised endpoint.
User Error
Common mistakes include:
- Logging into personal accounts
- Revealing identifying information
- Downloading documents that connect externally
- Installing browser plugins
Such actions can undermine anonymity.
Digital Forensics Significance
Forensic investigators frequently encounter TOR in cases involving:
- Cybercrime investigations
- Intellectual property theft
- Data exfiltration
- Insider threats
- Anonymous communications
- Dark web investigations
The presence of TOR Browser on a system does not imply malicious activity; many legitimate users employ TOR for privacy, research, journalism, and protection from surveillance.
However, identifying TOR-related artefacts can provide important investigative leads regarding user activity, timeline reconstruction, and network behavior.
Conclusion
TOR Browser achieves anonymity through onion routing, layered encryption, and distributed relay infrastructure.
By separating knowledge of source and destination across multiple nodes, TOR significantly complicates attribution and surveillance efforts.
From a digital forensics perspective, investigators must focus on endpoint artefacts, memory analysis, operating system traces, and behavioral evidence rather than relying solely on network logs.
Understanding TOR’s architecture is therefore essential for both cybersecurity professionals and forensic practitioners tasked with investigating anonymous online activity.
About Athena Forensics
For information on our computer forensic expert services or if you require any advice or assistance please contact a member of our team on 0330 123 4448 or via email on enquiries@athenaforensics.co.uk, further details are available on our contact us page.
Our client’s confidentiality is of the utmost importance. All correspondence is treated with discretion, from initial contact to conclusion of the matter.
We are fully aware of the significance and importance of the information that they encounter and we have been accredited to ISO 9001 for 14 years.
Our premises along with our security procedures have been inspected and approved by law enforcement agencies and we do not disclose personal information to other companies or suppliers.
Our team are all security cleared and we offer non-disclosure agreements if required.
Our premises along with our security procedures have been inspected and approved by law enforcement agencies.
Athena Forensics do not disclose personal information to other companies or suppliers.