Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


How Anonymous Are Your Online Posts?

Beware flamebait-throwers, grammar police, and all-around trolls: New algorithm can correctly identify an author 80% of the time, using sufficient source documents.

Anonymous: 10 Facts About The Hacktivist Group
Anonymous: 10 Facts About The Hacktivist Group
(click image for larger view and for slideshow)
By applying "linguistic stylometry," a team of researchers from Stanford University and the University of California, Berkeley, has built an algorithm that can often match existing bodies of writing--for which the author is known--with anonymous postings. They plan to present the results of their research at the IEEE Symposium on Security and Privacy in May.

"Stylometric identification exploits the fact that we all have a 'fingerprint' based on our stylistic choices and idiosyncrasies with the written word," said report co-author Arvind Narayana, a post-doctoral computer science researcher at Stanford, in a blog post. Interestingly, Narayana's previous work has included studying how to break the anonymity of Netflix Prize data, as well as highlighting the difficulty of remaining anonymous on social networks.

In this case, by using linguistic stylometry, the researchers were able to correctly identify authors 20% of the time when analyzing a "corpus of texts from 100,000 authors" for which they had an average of 20 posts per person. "But it gets better from there," said Narayana. "In 35% of cases, the correct author is one of the top 20 guesses. Why does this matter? Because in practice, algorithmic analysis probably won't be the only step in authorship recognition, and will instead be used to produce a shortlist for further investigation."

[ Hacktivists have taken down a number of government websites, including the CIA's. Read more at CIA Website Hacked, Struggles To Recover. ]

For example, he said, an author's location could add further context. Likewise, if a law enforcement agency required a service provider to disclose a subscriber's log-in and log-out times, they could compare those with the times that posts were made. Notably, that technique appears to have been used to help identify and bust an alleged LulzSec suspect.

The researchers also found that when they have more written words to draw from, their ability to correctly identify an author of an anonymous text improves noticeably. For example, when working with 40 to 50 attributed posts rather than just 20, researchers pushed their accuracy rate up to 35%. In addition, the researchers found that they could program their algorithm to return results only when it was confident that a match had been found. In such cases, "the algorithm does not always attempt to identify an author, but when it does, it finds the right author 80% of the time," Narayana said.

In other words, the days of practical online anonymity may be numbered, despite the right to anonymous free speech--online or otherwise--having been enshrined in U.S. law. As the Supreme Court wrote in a 1995 decision referenced by the researchers, "Anonymity is a shield from the tyranny of the majority ... It thus exemplies the purpose behind the Bill of Rights, and of the First Amendment in particular: to protect unpopular individuals from retaliation ... at the hand of an intolerant society."

But there have been exceptions. To date, some legal requests to force service providers to reveal people's actual identities--typically, to put a subscriber name to an IP address--have been successful. But in general, such identification has first required demonstrating that criminal activity, such as defamation, occurred.

Unfortunately, advances in stylometric identification pose concerns for bloggers or whistleblowers who post anonymously to escape retribution, as well as for the sanctity of online anonymity and free speech in general. Indeed, if technology could be used to identify the authors of anonymous posts, then legal attempts to force service providers to unmask subscribers wouldn't be required.

Thankfully, the Stanford and Berkeley researchers said that online anonymity isn't set to disappear just yet. Notably, their approach isn't reliable unless there's a decent amount of text to analyze. That's true even when analyzing a piece of anonymous text for which there could only be two authors.

Another limitation is that the researchers haven't yet analyzed whether people write differently depending on the medium. To date, they've only compared emails with emails, and blogs with blogs. People's writing style, however, may differ when writing a blog as opposed to an email. As a result, it might be difficult to attribute anonymous emails to an author for whom researchers had only blog posts.

But perhaps the biggest limitation is that "the attack is unlikely to work if the victim intentionally obfuscates their writing style," they said. In other words, anyone who wants to remain anonymous can proactively vary their writing style, swapping word order or hitting the thesaurus to select synonyms they might not otherwise use.

Interestingly, this isn't the first time that computer scientists have attempted to use statistical textual analysis to identity authors. Numerous scholars have subjected Shakespeare’s plays--or as some might say, "the plays attributed to Shakespeare"--to a rigorous statistical analysis, seeking clues as to whether the works may instead have been authored or co-authored by one of The Bard's contemporaries.

Those studies are limited by researchers needing to have enough source material--plays, poems, and letters, for example--from other potential authors to produce statistically significant results. But in the online realm, users of blogs, Twitter, Facebook, and other social networks continue to generate an ever-greater quantity of publicly accessible words written with their own particular linguistic fingerprints.

The right forensic tools in the right hands are just a start. The new Digital Detectives issue of Dark Reading shows you how to better apply the lessons they teach. (Free registration required.)

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
Inside the Ransomware Campaigns Targeting Exchange Servers
Kelly Sheridan, Staff Editor, Dark Reading,  4/2/2021
Beyond MITRE ATT&CK: The Case for a New Cyber Kill Chain
Rik Turner, Principal Analyst, Infrastructure Solutions, Omdia,  3/30/2021
Register for Dark Reading Newsletters
White Papers
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-04-14
An overly permissive CORS policy in Devolutions Server before 2021.1 and Devolutions Server LTS before 2020.3.18 allows a remote attacker to leak cross-origin data via a crafted HTML page.
PUBLISHED: 2021-04-14
An SQL Injection issue in Devolutions Server before 2021.1 and Devolutions Server LTS before 2020.3.18 allows an administrative user to execute arbitrary SQL commands via a username in api/security/userinfo/delete.
PUBLISHED: 2021-04-14
An issue was discovered in Joomla! 3.0.0 through 3.9.25. Inadequate escaping allowed XSS attacks using the logo parameter of the default templates on error page
PUBLISHED: 2021-04-14
An issue was discovered in Joomla! 3.0.0 through 3.9.25. Inadequate filters on module layout settings could lead to an LFI.
PUBLISHED: 2021-04-14
Command Injection in TOTOLINK X5000R router with firmware v9.1.0u.6118_B20201102, and TOTOLINK A720R router with firmware v4.1.5cu.470_B20200911 allows remote attackers to execute arbitrary OS commands by sending a modified HTTP request. This occurs because the function executes glibc's system funct...