1 / 39

Detecting and Characterizing Social Spam Campaigns

Detecting and Characterizing Social Spam Campaigns. Yan Chen Lab for Internet and Security Technology (LIST) Northwestern Univ. Detecting and Characterizing Social Spam Campaigns: Roadmap. Motivation & Goal Detection System Design Experimental Validation Malicious Activity Analysis

Download Presentation

Detecting and Characterizing Social Spam Campaigns

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Detecting and Characterizing Social Spam Campaigns Yan Chen Lab for Internet and Security Technology (LIST) Northwestern Univ.

  2. Detecting and Characterizing Social Spam Campaigns: Roadmap Motivation & Goal Detection System Design Experimental Validation Malicious Activity Analysis Conclusions 2

  3. Detecting and Characterizing Social Spam Campaigns: Roadmap Motivation & Goal Detection System Design Experimental Validation Malicious Activity Analysis Conclusions 3

  4. Motivation • Online social networks (OSNs) are exceptionally useful collaboration and communication tools for millions of Internet users. • 400M active users for Facebook alone • Facebook surpassed Google as the most visited website

  5. Motivation • Unfortunately, the trusted communities in OSN could become highly effective mechanisms for spreading miscreant activities. • Popular OSNs have recently become the target of phishing attacks • account credentials are already being sold online in underground forums

  6. Goal • In this study, our goal is to: • Design a systematic approach that can effectively detect the miscreant activities in the wild in popular OSNs. • Quantitatively analyze and characterize the verified detection result to provide further understanding on these attacks.

  7. Detecting and Characterizing Social Spam Campaigns: Roadmap Motivation & Goal Detection System Design Experimental Validation Malicious Activity Analysis Conclusions 7

  8. Detection System Design The system design, starting from raw data collection and ending with accurate classification of malicious wall posts and corresponding users.

  9. Data Collection • Based on “wall” messages crawled from Facebook (crawling period: Apr. 09 ~ Jun. 09 and Sept. 09). • Leveraging unauthenticated regional networks, we recorded the crawled users’ profile, friend list, and interaction records going back to January 1, 2008. • 187M wall posts with 3.5M recipients are used in this study.

  10. Filter out Filter posts without URLs • Assumption: All spam posts should contain some form of URL, since the attacker wants the recipient to go to some destination on the web. • Example (without URL): Kevin! Lol u look so good tonight!!!

  11. Further process Filter posts without URLs • Assumption: All spam posts should contain some form of URL, since the attacker wants the recipient to go to some destination on the web. • Example (with URL): Um maybe also this: http://community.livejournal.com/lemonadepoem/54654.html Guess who your secret admirer is?? Go here nevasubevd\t. blogs pot\t.\tco\tm (take out spaces)

  12. Build Post Similarity Graph • After filtering wall posts without URLs, we build the post similarity graph on the remaining ones. • A node: a remaining wall post • An edge: if the two wall posts are “similar” and are thus likely to be generated from the same spam campaign

  13. Establish an edge! Wall Post Similarity Metric • Two wall posts are “similar” if: • They share similar descriptions, or • They share the same URL. • Example (similar descriptions): Guess who your secret admirer is?? Go here nevasubevd\t. blogs pot\t.\tco\tm (take out spaces) Guess who your secret admirer is?? Visit: \tyes-crush\t.\tcom\t(remove\tspaces)

  14. Establish an edge! Wall Post Similarity Metric • Two wall posts are “similar” if: • They share similar descriptions, or • They share the same URL. • Example (same URL): secret admirer revealed. gotoyourlovecalc\t.\tcom (remove the spaces) hey see your love compatibility ! go here yourlovecalc\t.\tcom (remove\tspaces)

  15. Extract Wall Post Clusters • Intuition: • If A and B are generated from the same spam campaign while B and C are generated from the same spam campaign, then A, B and C are all generated from the same spam campaign. • We reduce the problem of extract wall post clusters to identifying connected subgraphs inside the post similarity graph.

  16. Extract Wall Post Clusters A sample wall post similarity graph and the corresponding clustering process (for illustrative purpose only)

  17. Identify Malicious Clusters • The following heuristics are used to distinguish malicious clusters (spam campaigns) from benign ones: • Distributed property: the cluster is posted by at least n distinct users. • Bursty property: the median interval of two consecutive wall posts is less than t.

  18. Identify Malicious Clusters from_user >= n && interval <= t? Yes!! from_user >= n && interval <= t? Yes!! Malicious Cluster!! A sample process of distinguishing malicious clusters from benign ones (for illustrative purpose only) Malicious Cluster!! from_user >= n && interval <= t? NO!! from_user >= n && interval <= t? NO!! from_user >= n && interval <= t? Yes!! from_user >= n && interval <= t? NO!! from_user >= n && interval <= t? NO!! Benign Cluster!! from_user >= n && interval <= t? NO!! Benign Cluster!! Malicious Cluster!! Benign Cluster!! Benign Cluster!! Benign Cluster!!

  19. Identify Malicious Clusters (6, 3hr) is found to be a good (n, t) value by testing TF:FP rates on the border line. Slightly modifying the value only have minor impact on the detection result. Sensitivity test: we vary the threshold (6, 3 hr) to (4, 6hr) Only result in 4% increase in the classified malicious cluster. 19

  20. Detecting and Characterizing Social Spam Campaigns: Roadmap Motivation & Goal Detection System Design Experimental Validation Malicious Activity Analysis Conclusions 20

  21. Experimental Validation • The validation is focused on detected URLs. • A rigid set of approaches are adopted to confirm the malice of the detection result. • The URL that cannot be confirmed by any approach will be assumed as “benign” (false positive).

  22. Experimental Validation • Step 1: Obfuscated URL • URLs embedded with obfuscation are malicious, since there is no incentive for benign users to do so. • Detecting obfuscated URLs, e.g., • Replacing ‘.’ with “dot”, e.g., 1lovecrush dot com • Inserting white spaces, e.g., abbykywyty\t. blogs pot\t.\tco\tm, etc. • Have a complete such list from anti-spam research

  23. Experimental Validation • Step 2: Third-party tools • Multiple tools are used, including: • McAfee SiteAdvisor • Google’s Safe Browsing API • URL blacklist (SURBL, URIBL, Spamhaus, SquidGuard) • Wepawet, drive-by-download checking • The URL that is classified as “malicious” by at least one of these tools will be confirmed as malicious

  24. Experimental Validation • Step 3: Redirection analysis • Any URL that redirects to a confirmed malicious URL is considered as “malicious”, too. • Step 4: Wall post keyword search • If the wall post contains typical spam keyword, like “viagra”, “enlarger pill”, “legal bud”, etc, the contained URL is considered as “malicious”. • Human assistance is involved to acquire such keywords

  25. Experimental Validation • Step 5: URL grouping • Groups of URLs exhibit highly uniform features. Some have been confirmed as “malicious” previously. The rest are also considered as “malicious”. • Human assistance is involved in identifying such groups. • Step 6: Manual analysis • We leverage Google search engine to confirm the malice of URLs that appear many times in our trace.

  26. Experimental Validation The validation result. Each row gives the number of confirmed URL and wall posts in a given step. The total # of wall posts after filtering is ~2M out of 187M.

  27. Detecting and Characterizing Social Spam Campaigns: Roadmap Motivation & Goal Detection System Design Experimental Validation Malicious Activity Analysis Conclusions 27

  28. Usage summary of 3 URL Formats • 3 different URL formats (with e.g.): • Link: <a href=“...”>http://2url.org/?67592</a> • Plain text: mynewcrsh.com • Obfuscated: nevasubevu\t. blogs pot\t.\tco\tm

  29. Usage summary of 4 Domain Types • 4 different domain types (with e.g.): • Content sharing service: imageshack.us • URL shortening service: tinyurl.org • Blog service: blogspot.com • Other: yes-crush.com

  30. Spam Campaign Identification

  31. Spam Campaign Temporal Correlation

  32. Attack Categorization • The attacks categorized by purpose. • Narcotics, pharma and luxury stands for the corresponding product selling.

  33. User Interaction Degree • Malicious accounts exhibit higher interaction degree than benign ones.

  34. User Active Time • Active time is measured as the time between the first and last observed wall post made by the user. • Malicious accounts exhibit much shorter active time comparing to benign ones.

  35. Wall Post Hourly Distribution • The hourly distribution of benign posts is consistent with the diurnal pattern of human, while that of malicious posts is not.

  36. Detecting and Characterizing Social Spam Campaigns: Roadmap Motivation & Goal Detection System Design Experimental Validation Malicious Activity Analysis Conclusions 36

  37. Conclusions • We design our automated techniques to detect coordinated spam campaigns on Facebook. • Based on the detection result, we conduct in-depth analysis on the malicious activities and make interesting discoveries, including: • Over 70% of attacks are phishing attacks. • malicious posts do not exhibit human diurnal patterns. • etc.

  38. Thank you!

  39. Extract Wall Post Clusters The algorithm for wall post clustering. The detail of breadth-first search (BFS) is omitted.

More Related