Didier Stevens

Sunday 10 May 2009

Quickpost: Disinformational Tweets

Filed under: My Software,Nonsense,Quickpost — Didier Stevens @ 12:55

This useless Python program is the result of some lazy Sunday coding. It will create random tweets based on a template file. You could use it to try to protect your privacy on Twitter by disinforming potential data miners.

Will I use it for my Twitter account? No, I don’t need a program to disinform 😉

20090510-142457

Each time you run the program, it will post one random tweet. This tweet is generated from a templates file. Each line in the templates file is the template for a tweet. You can use variables (between curly braces, example: {location}) in the templates to increase the number of possible tweets. Variables and their values are also stored in the template file, after the template lines. Your template file must allow the program to generate at least 2 different tweets, because it generates a tweet different from the last tweet.

20090510-143740

The program requires the twitter module, itself requiring the simplejson module.

And you need to create a credentials file (disinformational-tweets.cred) with the Twitter credentials of the account for which the program has to generate random Tweets. The first line of the credentials file has to contain the username, the second line has to contain the password.

A Firefox plugin to generate these tweets would probably be more ‘useful’, but hey, it’s a lazy Sunday.

Download:

disinformational-tweets_v0_0_1.zip (https)

MD5: 36CDB584634ED299E7ACE0D64E846003

SHA256: C5FCE76443549C3A8882B799B6F7A754EF6AEE5F11F3E94FF255EE541205C17B


Quickpost info


6 Comments »

  1. If spammers find this, they will use this to avoid being blocked and we couldn’t really sure if that is a spammer or not. Sigh, good things can always be used for bad purpose.

    Comment by livibetter — Sunday 10 May 2009 @ 13:47

  2. Excellent point. They could use this to create less suspicious accounts…

    Comment by Didier Stevens — Sunday 10 May 2009 @ 13:50

  3. Like Mad Libs for Twitter

    Comment by securitydreamer — Sunday 10 May 2009 @ 16:14

  4. That’s funny. I was thinking of something very similar this morning. It was less focused on disinformational tweets themselves, and more focused on adding random people to your follow list to disrupt automatic social-network mapping attempts.

    Comment by Jordan — Sunday 10 May 2009 @ 19:05

  5. That’s an idea too! I’m not concerned about that network mapping, since I follow back most followers. Guess that’s pretty random too.

    Comment by Didier Stevens — Sunday 10 May 2009 @ 19:09

  6. That’s true — depending on your personal guidelines for who you add or don’t add, that might or might not add much disinformation. Then again, if you have the timeline available for when someone added someone else, you might be able to more accurately map who was a “real” follow, versus who was just a reciprocating follow.

    I’d be curious to see a study in the general case — what information is available, and to what degree it survives disinformation. I suspect that even with a fair amount of bogus data the good data can still be filtered through relatively effectively.

    Comment by Jordan — Monday 11 May 2009 @ 0:55


RSS feed for comments on this post. TrackBack URI

Leave a Reply (comments are moderated)

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.