242
Weapons of Mass Distraction Sock Puppetry for Fun & Profit October 2014 {azhar|marco|haroon}@thinkst.com

Weapons of mass distraction

Embed Size (px)

Citation preview

Page 1: Weapons of mass distraction

Weapons of Mass Distraction Sock Puppetry for Fun & Profit

October 2014 {azhar|marco|haroon}@thinkst.com

Page 2: Weapons of mass distraction

@azhrdesai @haroonmeer @ marcoslaviero

http://thinkst.com

Page 3: Weapons of mass distraction
Page 4: Weapons of mass distraction

Already seen clear signs of this

Page 5: Weapons of mass distraction
Page 6: Weapons of mass distraction

Amateurs cut access

Page 7: Weapons of mass distraction
Page 8: Weapons of mass distraction
Page 9: Weapons of mass distraction
Page 10: Weapons of mass distraction

Overt censorship is routed around

Page 11: Weapons of mass distraction

UGC - User Generated Content

Page 12: Weapons of mass distraction

UGC is a new(ish) paradigm

Page 13: Weapons of mass distraction

Nothing truly new under the sun

Page 14: Weapons of mass distraction

rent-a-crowds

Page 15: Weapons of mass distraction

How will Censorship handle UGC?

Page 16: Weapons of mass distraction

“So it’s not only certain people have a license to speak, now everyone

has a license to speak. It’s a question of who gets heard.”

Page 17: Weapons of mass distraction

Censorship 2.0

Page 18: Weapons of mass distraction

Censorship 2.0

This is Profoundly Important

Page 19: Weapons of mass distraction

Censorship 2.0

This is Profoundly Important

Page 20: Weapons of mass distraction

rent-a-crowds

Page 21: Weapons of mass distraction

Oxford Dictionary of English

Page 22: Weapons of mass distraction

If we were evil-corp (or evil.gov)

Page 23: Weapons of mass distraction

what can be done ?

what is being done ?

what will be done ?

Page 24: Weapons of mass distraction

Challenge: How to measure efficacy

Page 25: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

Page 26: Weapons of mass distraction

Why mailing lists?

• “Interesting” people still use it!

• Personal curiosity

Page 27: Weapons of mass distraction

what we wanted to do

Page 28: Weapons of mass distraction

Assume: An email is going to a mail list

Can we make more people read it ?

Page 29: Weapons of mass distraction

Assume: An email is going to a mail list

Can we make less people read it ?

Page 30: Weapons of mass distraction

How do we measure if more (or less) people read our mail?

Page 31: Weapons of mass distraction

Link Clicks

Page 32: Weapons of mass distraction

How do we write mail content worth clicking on ?

Page 33: Weapons of mass distraction

Plagiarize, Pilfer, Plunder & Pitch*

*but don’t be too exciting

Page 34: Weapons of mass distraction

1. Send email with link

2. Puppets send several replies to make a longer discussion thread

3. Wait 48 hours

4. Count clicks

1. Send email with link

2. Wait 48 hours

3. Count clicks

Control email Experimental email

Page 35: Weapons of mass distraction
Page 36: Weapons of mass distraction

0

100

200

300

400

Liberation Tech Full Disclosure

Control Sock Puppet Thread

Page 37: Weapons of mass distraction

1. Send email with link

2. Sock puppets send several separate emails starting new threads

3. Wait 48 hours

4. Count clicks

1. Send email with link

2. Wait 48 hours

3. Count clicks

Control email Experimental email

Page 38: Weapons of mass distraction
Page 39: Weapons of mass distraction

0

75

150

225

300

Liberation Tech Full Disclosure

Control Distraction Threads

Page 40: Weapons of mass distraction

“rai” also had another success

Page 41: Weapons of mass distraction
Page 42: Weapons of mass distraction
Page 43: Weapons of mass distraction

Improved Distract Att From X

• combine both approaches

• when a email on X appears, start several distraction threads

• attract attention to the distractor threads by lengthen the threads with sock puppet mails

• prepare juicy distractor threads ahead of time

Page 44: Weapons of mass distraction

Uses for evil.{corp,gov}

• start distractor threads around emails from opponents others you wish not to get as much attention

• add light discussion to attract attention to your emails

• discredit opponents by doing a bad sock puppetry operation on their behalf

Page 45: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

Page 46: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

Page 47: Weapons of mass distraction

Why Polls ?

• Used by a few major news sites !

• Huffington Post, Al Jazeera, etc.!

• Many more random bloggers!

• Even a Golden Globe movie awards poll!

• Readers see the results of polls

Page 48: Weapons of mass distraction
Page 49: Weapons of mass distraction

• 2009 TIME person of the year poll vs 4chan!

• 2012 TIME person of the year poll vs 4chan!

• 2013 TIME person of the year poll vs Gains & Marek

Page 50: Weapons of mass distraction

precedents of poll gaming

• 2009 TIME person of the year poll vs 4chan!

• 2012 TIME person of the year poll vs 4chan!

• 2013 TIME person of the year poll vs Gains & Marek

Page 51: Weapons of mass distraction

Surely this is a solved problem

Page 52: Weapons of mass distraction
Page 53: Weapons of mass distraction

Landslide Win

Subtle Win

Page 54: Weapons of mass distraction
Page 55: Weapons of mass distraction

HuffPo Readers Poll

Page 56: Weapons of mass distraction

Subtle Win

Page 57: Weapons of mass distraction

Landslide Win

Page 58: Weapons of mass distraction

these polls have a serious credibility problem

Page 59: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

Page 60: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

Page 61: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

Page 62: Weapons of mass distraction

in 140 seconds..

Page 63: Weapons of mass distraction

!

TL;DR

Page 64: Weapons of mass distraction

Gilad Lotan bought followers and did some cool analysis of the network graph*

*https://medium.com/i-data/fake-friends-with-real-benefits-eec8c4693bd3

Page 65: Weapons of mass distraction

Timeline Crowding

Page 66: Weapons of mass distraction
Page 67: Weapons of mass distraction
Page 68: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

Page 69: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

Page 70: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

Page 71: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 72: Weapons of mass distraction
Page 73: Weapons of mass distraction

what & why reddit

Page 74: Weapons of mass distraction

what & why reddit

Page 75: Weapons of mass distraction

what & why reddit

Page 76: Weapons of mass distraction

Score factors

Page 77: Weapons of mass distraction
Page 78: Weapons of mass distraction

Upvote articles we want to promote

Downvote articles we want to kill

Page 79: Weapons of mass distraction

So first we needed accounts..

Page 80: Weapons of mass distraction

Our accounts seemed broken

reddits secret sauce

Page 81: Weapons of mass distraction

But we have > 50 accounts !

What we can do with 50 accounts?

Page 82: Weapons of mass distraction

On small subreddits it’s easy to get a new article on to front page

by up voting

Page 83: Weapons of mass distraction
Page 84: Weapons of mass distraction

On large subreddits like worldnews, 50 isn’t enough for

a full win

Page 85: Weapons of mass distraction

Upvote articles we want to promote

Downvote articles we want to kill

Page 86: Weapons of mass distraction

Let’s also try down voting..

Page 87: Weapons of mass distraction

downvote stuff to knock into moderation queue !

below user/subreddit preference

Page 88: Weapons of mass distraction

Trickle Downvoting: only down vote as many up votes as new

articles have

Page 89: Weapons of mass distraction

Up-vote our target Trickle down-vote others

Page 90: Weapons of mass distraction

Win!

Page 91: Weapons of mass distraction

What would happen if we down voted all new articles as they

appeared?

Mass-DownVoting

Page 92: Weapons of mass distraction

Began with worldnews

Page 93: Weapons of mass distraction
Page 94: Weapons of mass distraction

Then..

Page 95: Weapons of mass distraction
Page 96: Weapons of mass distraction
Page 97: Weapons of mass distraction
Page 98: Weapons of mass distraction

Much speculation ensued ..

Page 99: Weapons of mass distraction

lizard ppl

putin-bot

*** For the record, we had nothing to do with /r/technology

Page 100: Weapons of mass distraction

Simultaneously, we ran the same thing on netsec…

Page 101: Weapons of mass distraction

But netsec moderators responded with intelligent discussion and

roped in official reddit admins to talk about the problem..

Page 102: Weapons of mass distraction
Page 103: Weapons of mass distraction

This should have been much easier to spot

Page 104: Weapons of mass distraction

This should have been much easier to spot

• voting in synch • signup times • some common email domains • pattern of names • ip-addresses from known open proxies • user-agents: headers • low karma interactors

Page 105: Weapons of mass distraction

BTW… Two months later

to

Page 106: Weapons of mass distraction

This should have been much easier to spot

• voting in synch • signup times • some common email domains • pattern of names • ip-addresses from known open proxies • user-agents: headers • low karma interactors

Page 107: Weapons of mass distraction

Growing Personas for Karma

Page 108: Weapons of mass distraction

23 Links - Karma: 99

Page 109: Weapons of mass distraction

2009 2013

23 Links - Karma: 99

Page 110: Weapons of mass distraction

0

2250

4500

6750

9000

2009 2013 2013 (November)

Page 111: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 112: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 113: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 114: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 115: Weapons of mass distraction

Why News Sites?

Page 116: Weapons of mass distraction
Page 117: Weapons of mass distraction

Can we influence this panel? Get articles on it or keep articles

off it?

Page 118: Weapons of mass distraction
Page 119: Weapons of mass distraction
Page 120: Weapons of mass distraction

Panel features recent articles with the most page views

Page 121: Weapons of mass distraction

Page views we can control!

Page 122: Weapons of mass distraction
Page 123: Weapons of mass distraction
Page 124: Weapons of mass distraction
Page 125: Weapons of mass distraction
Page 126: Weapons of mass distraction
Page 127: Weapons of mass distraction
Page 128: Weapons of mass distraction
Page 129: Weapons of mass distraction
Page 130: Weapons of mass distraction
Page 131: Weapons of mass distraction
Page 132: Weapons of mass distraction

but we need an account on the site to share the article

Page 133: Weapons of mass distraction

At the time of writing, we have at least 30 000 accounts

** NYT Admins - Sorry!

Page 134: Weapons of mass distraction
Page 135: Weapons of mass distraction
Page 136: Weapons of mass distraction

NYT spends millions on their news gathering apparatus

Page 137: Weapons of mass distraction

NYT spends millions on their news gathering apparatus

Page 138: Weapons of mass distraction

NYT spends millions on their news gathering apparatus

Cost to register 30k accounts: $ 0.12

Page 139: Weapons of mass distraction

NYT spends millions on their news gathering apparatus

Cost to register 30k accounts: $ 0.12Cost to share 30k stories: $ 0.18

Page 140: Weapons of mass distraction

NYT spends millions on their news gathering apparatus

Cost to register 30k accounts: $ 0.12Cost to share 30k stories: $ 0.18Trivially manipulate the NYT front page: Priceless

Page 141: Weapons of mass distraction

NYT spends millions on their news gathering apparatus

Cost to register 30k accounts: $ 0.12Cost to share 30k stories: $ 0.18Trivially manipulate the NYT front page: Priceless

Page 142: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 143: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 144: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 145: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 146: Weapons of mass distraction
Page 147: Weapons of mass distraction

In Brief

• Disqus let’s you drop a few lines of .js in your page which magically gives you an entire commenting system.

• Comments can be voted up/down which affects order.

• User profiles are visible across sites and your comments are gathered in your Disqus profile page.

• Admins get a nifty interface to moderate and maintain their comment threads.

Page 148: Weapons of mass distraction

Used by Wordpress blogs, Tumblrs, soccer mom forums

Page 149: Weapons of mass distraction

and CNN, Al Jazeera, Bloomberg, The Next Web, NPR, The Atlantic,

IGN, The Daily Telegraph etc

Page 150: Weapons of mass distraction

They don’t control the full message

Page 151: Weapons of mass distraction
Page 152: Weapons of mass distraction
Page 153: Weapons of mass distraction
Page 154: Weapons of mass distraction
Page 155: Weapons of mass distraction

• Login: left as an exercise for the reader

• Mass post:

export thread="threadid";export msg="mymessage"; (for i in `seq -f "userprefix%g" 1 100`;do echo "curl -b \"${i}.cookies\" -d \”thread=${thread}&message=${msg}&api_key=${API_KEY}\” http://disqus.com/api/3.0/posts/create.json”;done;)|parallel

• Mass vote:

export post="postid";export vote="1"; (for i in `seq -f "userprefix%g" 1 100`;do echo "curl -b \"${i}.cookies\" -d \”post=${post}&vote=${vote}&api_key=${API_KEY}\” http://disqus.com/api/3.0/posts/vote.json”;done;)|parallel

Page 156: Weapons of mass distraction

• Mass downvote:

export post="postid";export vote="-1"; (for i in `seq -f "userprefix%g" 1 100`;do echo "curl -b \"${i}.cookies\" -d \”post=${post}&vote=${vote}&api_key=${API_KEY}\” http://disqus.com/api/3.0/posts/vote.json";done;)|parallel

• Bonus: Flag posts to temporarily make them disappear

export post="postid"; (for i in `seq -f "userprefix%g" 1 100`;do echo "curl -b \"${i}.cookies\" -d \”post=${post}&api_key=${API_KEY}\” http://disqus.com/api/3.0/posts/report.json";done;)|parallel

Page 157: Weapons of mass distraction
Page 158: Weapons of mass distraction
Page 159: Weapons of mass distraction
Page 160: Weapons of mass distraction
Page 161: Weapons of mass distraction

Pretty much complete control of Disqus forums

(with 1 line of bash script)

Page 162: Weapons of mass distraction

Wut?

Page 163: Weapons of mass distraction

• User registration isn’t IP-limited that we’ve encountered

• Email verification isn’t a requirement

• Guest voting _is_ IP-limited

• Open proxy lists bypass this trivially

Page 164: Weapons of mass distraction
Page 165: Weapons of mass distraction

ALL OF THE SAME ATTACKS

Page 166: Weapons of mass distraction
Page 167: Weapons of mass distraction

Flag as spam 4/5 times to remove (try it yourself on fox news :)

Page 168: Weapons of mass distraction

livefyre: one more thing..

Page 169: Weapons of mass distraction
Page 170: Weapons of mass distraction
Page 171: Weapons of mass distraction
Page 172: Weapons of mass distraction
Page 173: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 174: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 175: Weapons of mass distraction

mail listsonline pollstwitterredditnews sitescomment systems

mail listsonline pollstwitterredditnews sitescomment systems

Page 176: Weapons of mass distraction

Are these attacks happening?

Page 177: Weapons of mass distraction

4chan polls

Page 178: Weapons of mass distraction

http://venturebeat.com/2012/06/22/reddit-fake-users/

Page 179: Weapons of mass distraction

http://www.commondreams.org/hambaconeggs

Page 180: Weapons of mass distraction

common dreams

http://www.commondreams.org/hambaconeggs

Page 181: Weapons of mass distraction

http://www.commondreams.org/hambaconeggs-screen-names

Page 182: Weapons of mass distraction

common dreams

http://www.commondreams.org/hambaconeggs

Page 183: Weapons of mass distraction

Remember:

We discovered that flagging posts got them killed?

Page 184: Weapons of mass distraction
Page 185: Weapons of mass distraction

JTRIG

http://en.wikipedia.org/wiki/Joint_Threat_Research_Intelligence_Group

Page 186: Weapons of mass distraction

JTRIG

Page 187: Weapons of mass distraction

JTRIG

Page 188: Weapons of mass distraction

Disqus seems ripe for the picking. So we went looking active armies.

Page 189: Weapons of mass distraction

Most commented thread on CNN’s highest voted comment

Page 190: Weapons of mass distraction

Most commented thread on CNN’s highest voted comment

Page 191: Weapons of mass distraction

Approach

Page 192: Weapons of mass distraction

Pick slightly controversial topic

Page 193: Weapons of mass distraction
Page 194: Weapons of mass distraction

Pick news orgs that cover this topic

Page 195: Weapons of mass distraction
Page 196: Weapons of mass distraction

Then

• Use Disqus API to get a list of popular stories

• For each story, use the API to pull user info

• Link users to stories they commented on

!

• and…

Page 197: Weapons of mass distraction

SETEC REAL WOOF CRETS

Page 198: Weapons of mass distraction

Cue a bunch of similar attempts to look at the data

Page 199: Weapons of mass distraction

Decided to focus on voting

Page 200: Weapons of mass distraction

Voting metric

• Pull all comments for random story.

• For each comment pull the non-guest voters.

• For each voter retrieve their registration time.

• Calculate the variation in voter age on each comment.

Page 201: Weapons of mass distraction

Voter Age VariationVa

riatio

n

0

450

900

1350

1800

Comment100 200 300 400

Page 202: Weapons of mass distraction

Voter Age VariationVa

riatio

n

0

450

900

1350

1800

Comment100 200 300 400

Page 203: Weapons of mass distraction

Voter Age VariationVa

riatio

n

0

75

150

225

300

Comment100 200 300 400

Page 204: Weapons of mass distraction

What stood out

• Accounts had been registered within minutes of each other.

• Their usernames and profile names had a regular pattern:

• Username: <Firstname><Surname>

• Profile name: <Firstname> <Surname>

Page 205: Weapons of mass distraction
Page 206: Weapons of mass distraction

Not exactly convincing

Page 207: Weapons of mass distraction

What about their emails addresses?

(Hint: you really shouldn’t be able to retrieve a Disqus user’s email address)

Page 208: Weapons of mass distraction

We found an unmask attack that returns an email address for a

profile name*

*Already reported and fixed

Page 209: Weapons of mass distraction

Supposed puppets had emails in the form:

<Firstname><Surname>@gmail.com

Page 210: Weapons of mass distraction

We had our suspicions, but thought the puppet army would be larger.

!

Time to enumerate.

Page 211: Weapons of mass distraction

User Enumeration• Disqus users get a unique ID

• This ID is a counter (yay!)

• There are unrestricted APIs to query user information (yay! yay!)

• https://disqus.com/api/3.0/users/details.json

• We can lookup email addresses for each enumerated user with our unmask attack (yay! yay! yay!)

• So we pick a lower and upper bound beyond the lowest and highest known puppet IDs, making a range of 5k users.

• Pull details for all users.

Page 212: Weapons of mass distraction

5k users. Now what?

• Filter on known values:

• Must have username, name and email patterns, and not be verified.

• Age is already taken into account with the ID, so less relevant.

Page 213: Weapons of mass distraction
Page 214: Weapons of mass distraction
Page 215: Weapons of mass distraction
Page 216: Weapons of mass distraction

Inter-registration timeTi

me

(s)

0

2,5

5

7,5

10

Registration number50 100 150 200

Page 217: Weapons of mass distraction

Inter-registration timeTi

me

(s)

0

2,5

5

7,5

10

Registration number50 100 150 200

Page 218: Weapons of mass distraction

Inter-registration timeTi

me

(s)

0

2,5

5

7,5

10

Registration number50 100 150 200

Page 219: Weapons of mass distraction

So Far• Accounts with

• Patterned profile names

• Patterned usernames

• Patterned emails

• Similar registration times

• Regular inter-registration delays

• Alphabetical progression in usernames

Page 220: Weapons of mass distraction

Disqus lets us map usernames to forums where they’re active

Page 221: Weapons of mass distraction
Page 222: Weapons of mass distraction

Disqus also lets us map usernames to comments*

*Including “Private” profiles

Page 223: Weapons of mass distraction
Page 224: Weapons of mass distraction
Page 225: Weapons of mass distraction

So Far• Accounts with

• Patterned profile names

• Patterned usernames

• Patterned emails

• Similar registration times

• Regular inter-registration delays

• Alphabetical progression in usernames

• And

• Active on the same set of sites

• Shared duplicate comments across accounts

• Vote for each other’s comments to push them up

a

Page 226: Weapons of mass distraction

Puppet army size 186 confirmed

Period of activity Four months (2014-06-5)

Comments posted 7269

Unique comments 5782 (1487 dups)

Primary targeted forums CNN, Al Jazeera, Jerusalem Post

Page 227: Weapons of mass distraction
Page 228: Weapons of mass distraction
Page 229: Weapons of mass distraction
Page 230: Weapons of mass distraction

What are they saying?

Page 231: Weapons of mass distraction

Consistent multi-faceted views• Pro-Palestine

• Anti-Israel

• Anti-ISIS/L

• Writes “We (USA)”, presents as Western

• Anti-Syria

• Anti-Obama

• Pro-Islam (Writes “I am Christian and I know that Christianity is worst religion in the world” :)

Page 232: Weapons of mass distraction

So who is this?

Page 233: Weapons of mass distraction

No idea. Anything is pure speculation.

Page 234: Weapons of mass distraction

Ways out?

Page 235: Weapons of mass distraction

Shut down this puppet army

Page 236: Weapons of mass distraction
Page 237: Weapons of mass distraction

Disqus limiting their API. (This would be a bad idea.)

Page 238: Weapons of mass distraction

• Puppetry is very likely happening in other places.

• But without the same amount of data, we can’t tell.

• Disqus’ open data approach is great for identifying these relationships and patterns, and we want to give them shouts for it.

• (But fix the unmask attacks.)

Page 239: Weapons of mass distraction

Summary ?

Page 240: Weapons of mass distraction

Slide 223/225

Page 241: Weapons of mass distraction

• Without exception, all of the UGC sites we have looked at have proven to be fairly trivial to manipulate

• It is clear that this abuse is already taking place on many of them

• Be aware of it;

• Build tools to help deal with it;

Page 242: Weapons of mass distraction

{azhar|marco|haroon}@thinkst.com

[email protected]