03 October 2007 | 4,587 views

unmask.py – Statistical E-mail & Blog Profiling

Don't let your data go over to the Dark Side!

This is a cool tool I found recently amongst all the flame wars in the security mailing lists, someone developed this tool to profile the semantics of text.

Basically you pump in a load of e-mails from a known source, then compare it to the anonymous socks and see what probability it is that they are the same person based on the text. You can do the same thing with blogs, not just e-mail!

This is version 1.0 of Unmask – a python script that attempts to unmask anonymous text by matching its statistical properties against someone else’s text with a known identity.

Other uses include determining “area of origin”,gender,age, occupation, sexual orientation, etc from text’s statistical properties. Any decision YOU can make against an unknown author, Unmask will also make. Of course, it may be less or more accurate than your determination.

You should probably fiddle with it as you go, to make it work on whatever sample set you have, before using it in the wild.

To use it, simple “store” text (with -s bob -f file.txt). Then just compare your unknown file to that particular store, or use -i to compare it to all stores. Make up a store of all male and all female text and then compare some random weblog, just for kicks.

You can download unmask here:



Recent in General News:
- Teen Accused Of Hacking School To Change Grades
- Google’s Chrome Apps – Are They Worth The Risk?
- Twitter Breach Leaks 250,000 User E-mails & Passwords

Related Posts:
- The Associative Word List Generator (AWLG) – Create Related Wordlists for Password Cracking
- CUPP – Common User Passwords Profiler – Automated Password Profiling Tool
- Wyd – Automated Password Profiling Tool

Most Read in General News:
- Hacking Still Can’t Outdo Stupidity for Data Leaks - 125,326 views
- eEye Launches 0-Day Exploit Tracker - 85,360 views
- One Of The World’s Most Prolific Music Piracy Groups Busted - 43,555 views

Advertise on Darknet

2 Responses to “unmask.py – Statistical E-mail & Blog Profiling”

  1. dre 25 October 2007 at 11:07 pm Permalink

    watch as christopher abad explains how behaviorial analysis can be applied to user fingerprinting in his slides from Toorcon 2004. the winner of a selected set of words can be predicted based on their use of the command line (bash shell in this case).

    i just saw chris abad speak again at toorcon 9 this past weekend. he is an excellent speaker, and usually “you have to be there” to understand – his work can’ really be explained.

    i imagine that with abad’s techniques (and dave aitel’s techniques in umask.py) – along with hdm’s decloak… and a little Google Analytics cookie saving and search query stealing – you can gather tons of information on random bloggers or other website users.

  2. Sir Henry 14 December 2007 at 7:34 pm Permalink

    Darknet, have you tried this tool yet? What are your thoughts on it? It would be interesting to see any results from a test.