osint using twitter & python

44
OSINT Footprinting Using Twitter and Python

Upload: 37point2

Post on 26-Jan-2015

156 views

Category:

Documents


6 download

DESCRIPTION

 

TRANSCRIPT

Page 1: OSINT using Twitter & Python

OSINT Footprinting

Using Twitter and Python

Page 2: OSINT using Twitter & Python

Who am I?

Raymond Lilly

@37point2

Analyst at a Social Media/Customer Relations Management company

Senior, Eastern Michigan University

Information Assurance/Network Security

Page 3: OSINT using Twitter & Python

What are we talking about?

OSINT gathering methods

Research with implications in

Intelligence

Social Engineering

Marketing

Page 4: OSINT using Twitter & Python

Intelligence

What are people talking about?

Intel vs Counter Intel

Targeting concerns

Individuals/Groups

Geographic regions

Time

Topics

Page 5: OSINT using Twitter & Python

Social Engineering

Leaking information

What do your co-workers/employees talk about during/after work?

IT talking about new tech deployments?

Any employees venting about internal issues?

C levels discussing personal hobbies/travel plans?

Page 6: OSINT using Twitter & Python

Marketing

Can you identify your customers?

What are they talking about?/What other interests do they have?

Can you profile them and use that to reach new potential customers?

Find new markets?

Reduce your customer assistance cost or increase customer satisfaction?

Page 7: OSINT using Twitter & Python

Fun Stuff

New Job info

What’s the corporate culture like?

Does the company embrace new tech/ideas or shun them?

Amplify the reach of your messages

Find organizations/groups that are interested in the same things you are

Page 8: OSINT using Twitter & Python

Key Twitter Concepts

Tweets – 140 characters

Following

Friends

Followers

Did you pick the user?

Page 9: OSINT using Twitter & Python

Followers

A -> B

Page 10: OSINT using Twitter & Python

Friends

B -> C

Page 11: OSINT using Twitter & Python

A -> B -> C

Page 12: OSINT using Twitter & Python

Twitter’s API

https://dev.twitter.com/docs/api

Authenticated vs. Unauthenticated

How hard is it to get OAuth Tokens?

REST

Streaming

Page 13: OSINT using Twitter & Python

Tweepy!

Python module for Twitter’s API

https://github.com/tweepy/tweepy/

Joshthecoder

Page 14: OSINT using Twitter & Python

GET status/user_timeline

Takes a user_id or screen_name

since_id

count

exclude_replies

include_rts

Tweepy.api.get_status(‘37point2’)

Page 15: OSINT using Twitter & Python

GET users/show

user_id/screen_name

include_entities

^-- Awesome!

Tweepy.api.get_user(‘37point2’)

Page 16: OSINT using Twitter & Python

"id": 286868576,

"id_str": "286868576",

"name": "37point2",

"screen_name": "37point2",

"location": "",

"description": "Information Assurance student at Eastern Michigan University. \r\nIntel Analysis, Data Viz, Incident Response",

"url": "http://www.linkedin.com/in/raymondlilly",

"protected": false,

"followers_count": 244,

"friends_count": 992,

"listed_count": 6,

"created_at": "Sat Apr 23 21:25:44 +0000 2011",

"utc_offset": -18000,

"time_zone": "Eastern Time (US & Canada)",

"geo_enabled": false,

"verified": false,

"statuses_count": 2024,

"lang": "en",

Page 17: OSINT using Twitter & Python

"description": "Information Assurance student at Eastern Michigan University. \r\nIntel Analysis, Data Viz, Incident Response",

Page 18: OSINT using Twitter & Python
Page 19: OSINT using Twitter & Python

Method to the Madness

Information Needed/Gathered

Tools used

Visualization

Analysis

Page 20: OSINT using Twitter & Python

Echo Chamber

Last 1000 Tweets of everyone followed

Basic Word Count

Wordle.net

Page 21: OSINT using Twitter & Python
Page 22: OSINT using Twitter & Python

Tweets per Day

Individual

Last 3200 Tweets

Community

Last 1000 Tweets (#infosec – May 18-21)

Plot Tweets over weekdays

Page 23: OSINT using Twitter & Python
Page 24: OSINT using Twitter & Python
Page 25: OSINT using Twitter & Python

Hashtags/Topics

Last 3200 Tweets

include_entities! #lazyhacker

include_rts

Google Visualization API

Hashtags & HashtagsWithRetweets

Page 26: OSINT using Twitter & Python
Page 27: OSINT using Twitter & Python
Page 28: OSINT using Twitter & Python

Retweets/Replies

Last 3200 Tweets

include_entities

include_rts!!!

Retweets

Replies

Best time for a response?

Page 29: OSINT using Twitter & Python
Page 30: OSINT using Twitter & Python
Page 31: OSINT using Twitter & Python
Page 32: OSINT using Twitter & Python

Interactions w/ Influence and Topics Klout

BOO!!!

Changes algorithm daily

What is the algorithm? /shrug

Weights social media sites differently

Useful

Topics!!

Score used as guideline

Page 33: OSINT using Twitter & Python

Model

Last 3200 Tweets

Include all the things!

Add Klout score and topics

Page 34: OSINT using Twitter & Python

Formula for Influence

Klout^2 * interactions

50 vs 60

2500 vs 3600

Page 35: OSINT using Twitter & Python

Time to get interactive!

Page 36: OSINT using Twitter & Python

Clients

Last 3200 Tweets

Total Counts

Client usage over time

Page 37: OSINT using Twitter & Python
Page 38: OSINT using Twitter & Python

More moving stuff!

Page 39: OSINT using Twitter & Python

Interactions & Topics

Last 3200 Tweets

include_entities

Maltego CaseFile

Community Edition

Page 40: OSINT using Twitter & Python
Page 41: OSINT using Twitter & Python
Page 42: OSINT using Twitter & Python
Page 43: OSINT using Twitter & Python

Interesting Tools

Tweetstats.com

Twopcharts

Klout

Kred

Socialmention

NetworkX

Page 44: OSINT using Twitter & Python

Contact Info

Raymond Lilly

@37point2

[email protected]