Weaponizing Data Science For Social Engineering
Weaponizing Data Science For Social Engineering
Weaponizing Data Science For Social Engineering
2 #SNAP_R
TL;DR
#SNAP_R Twitter Profiles
Social #SNAP_R
Network
Automated
Phishing with Phishing Offense
Reconnaissance
3 #SNAP_R
ISO: Demo Volunteers
Tweet%#SNAP_R(before%the%demo%
to%get%an%example%tweet!
4 #SNAP_R
#whoami
5 #SNAP_R
A Novel Phishing Campaign Design
High
Our$#SNAP_R Spear$Phishing
Fully+Automated Highly+Manual
>30%+Accuracy 45%+Accuracy
Success Rate
Phishing
Mostly+Automated
5?14%+Accuracy
Low
Low High
Level of Effort
6 #SNAP_R
Fooling Humans for 50 Years
7 #SNAP_R
InfoSec ML Historically Prioritizes Defense
8 #SNAP_R
Machine Learning on Offense
Automated Target Discovery
Automated Social Spear Phishing
Evaluation and Metrics
Results and Demo
Wrap Up
Weaponizing Data Science
for Social Engineering:
Automated E2E Spear Phishing on Twitter
9 #SNAP_R
Machine Learning on Offense
10 #SNAP_R
Why Twitter?
! Bot-friendly API
! Colloquial syntax
! Shortened links
! Trusting culture
! Incentivized data disclosure
11 #SNAP_R
Shoutout
Where(Do(the(Phishers(Live?(Collecting(Phishers(
Geographic(Locations(from(Automated(Honeypots(
Robbie(Gallagher
We’ve+taken+a+novel+approach+to+automating+the+determination+of+a+
phishers+geographic+location.+With+the+help+of+Markov+chains,+we+
craft+honeypot+responses+to+phishers’+emails+in+an+attempt+to+beat+
them+at+their+own+game.+We’ll+examine+the+underlying+concepts,+
implementation+of+the+system+and+reveal+some+results+from+our+
ongoing+experiment.
12 #SNAP_R
Techniques, Tactics and Procedures
! Our ML Tool...
! Shortens payload per unique user
Twitter Profiles ! Auto-tweets at irregular intervals
! Triages users wrt value/engagement
! Prepends tweets with @mention
#SNAP_R
! Obeys rate limits
13 #SNAP_R
Design Flow
is_target(user)
#SNAP_R
gen_markov_tweet() gen_nn_tweet()
Phishing Offense
schedule_tweet_and_sleep() post_tweet_and_sleep()
14 #SNAP_R
Automated Target Discovery
15 #SNAP_R
Triage of High Value Targets on Twitter
16 #SNAP_R
Extracting Features from
GET users/lookup
! Engagement: following/followers
! #myFirstTweet
! Default settings
! Description content
! Account age
17 #SNAP_R
Clustering Predicts High Value Users
Eric+Schmidt Eric+Schmidt
18
18 #SNAP_R
Selecting the
Best
Clustering
Model
! Many algorithms
! Many hyperparameters
! Max avg. score [-1,..,1]
! 0.5-0.7 reasonable structure
19 #SNAP_R
Automated Social Spear Phishing
20 #SNAP_R
Recon and Footprinting for Profiling
! Compute histogram of tweet timings
(binsize = 1 hour)
21 #SNAP_R
Leveraging Markov Models
1
! Popular for text generation:
I
0.38
see /r/SubredditSimulator,
InfosecTalk TitleBot
don’t 0.62
! Calculates pairwise frequency of
1 tokens and uses that to generate
like 1 new ones
0.54 0.46
! Based on transition probabilities
ML infosec
1
! Trained using most recent posts on
1
the user’s timeline
.
22 #SNAP_R
Training a Recurrent Neural Network
! Hosted on Amazon EC2
! Trained on g2.2xlarge
instance (65¢ per hour)
! Ubuntu (ami-c79b7eac)
! For neural nets, you’d only need to scrape data from the target
language and retrain
25 #SNAP_R
Evaluation and Metrics
26 #SNAP_R
Here’s a malicious URL...
27 #SNAP_R
And, apparently goo.gl lets us shorten it!
28 #SNAP_R
goo.gl also gives us analytics
29 #SNAP_R
Results and Demo
30 #SNAP_R
Wild Testing #SNAP_R
31 31
#SNAP_R
Pilot Experiment
! Via #SNAP_R we sent 90 “phishing” posts
out to people using #cat
! After 2 hours, we had 17% clickthrough rate
! After 2 days, we had between 30% and 66%
clickthrough rate
32 #SNAP_R
Man vs. Machine 2 Hour Bake Off
33 #SNAP_R
DEMO of #SNAP_R
34 #SNAP_R
Wrap Up
Weaponizing Data Science
for Social Engineering:
Automated E2E Spear Phishing on Twitter
35 #SNAP_R
Potential Use Cases
! Social media security awareness
! Social engagement
Phishing Offense
! Staff Recruiting
36 #SNAP_R
! Of course, we’re white hats here…
Mitigations ! But machine learning is rapidly becoming
automated, so black hats would have this
capability soon.
37 #SNAP_R
Black Hat Sound Bytes
38 #SNAP_R
?
39
John Seymour Philip Tully
@_delta_zero @phtully
#SNAP_R