Skip to main content
QUICK REVIEW

[Paper Review] Botnet Campaign Detection on Twitter

Jeremy Fields|arXiv (Cornell University)|Aug 29, 2018
Spam and Phishing DetectionComputer Science2 references4 citations
TL;DR

This paper proposes a real-time, lightweight method for detecting botnet campaigns on Twitter by analyzing temporal similarity and attribute consistency across neighboring tweets, achieving detection of 14,585 bots from 920,008 tweets with high speed and low computational cost, outperforming traditional machine learning and network analysis approaches in timeliness and scalability for coordinated spam campaigns.

ABSTRACT

This is an approach to detecting a subset of bots on Twitter, that at best is under-researched. This approach will be generic enough to be adaptable to most, if not all social networks. The subset of bots this focuses on are those that can evade most, if not all current detection methods. This is simply because they have little to no information associated with them that can be analyzed to make a determination. Although any account on any social media site inherently has information associated with it, it is very easy to blend in with the majority of users who are simply "lurkers" - those who only consume content, but do not contribute. How can you determine if an account is a bot if they don't do anything? By the time they act, it will be too late to detect. The only solution would be a real time, or near real-time, detection algorithm.

Motivation & Objective

  • To address the challenge of detecting coordinated botnet campaigns on Twitter that evade traditional detection by remaining inactive or mimicking human 'lurkers'.
  • To develop a real-time detection system that does not rely on historical data, network analysis, or complex machine learning models.
  • To identify botnets by comparing attributes of a tweet with its nearest N chronological neighbors, focusing on behavioral and textual consistency.
  • To enable scalable, low-computation detection suitable for deployment on high-velocity social media streams.
  • To provide a method that detects botnets before they act, overcoming the latency of reactive detection strategies.

Proposed method

  • The method performs real-time analysis by comparing each tweet’s attributes against the N nearest tweets in chronological order, using a sliding window of N tweets.
  • It computes a score for 12 attributes—including text similarity, language, user agent, location, profile URL, and sentiment—on a 0 to N scale per attribute.
  • A composite score is calculated across all attributes, with thresholds applied to non-Boolean attributes (e.g., text similarity threshold set at 0.6).
  • Bots are classified based on whether their composite score exceeds a predefined percentage of the maximum possible score.
  • The approach avoids reliance on account history, network structure, or complex models, focusing solely on local temporal consistency.
  • It uses a configurable scoring system with multipliers and thresholds, allowing adaptation to different data sources and detection goals.

Experimental results

Research questions

  • RQ1Can a lightweight, real-time method detect coordinated botnet campaigns on Twitter without relying on historical data or network analysis?
  • RQ2How effective is temporal attribute consistency across neighboring tweets in identifying botnet activity?
  • RQ3Can a simple comparison-based system outperform complex machine learning models in detecting stealthy, low-activity botnets?
  • RQ4What thresholds and multipliers for attribute similarity yield optimal detection accuracy for botnet campaigns?
  • RQ5To what extent can this method scale to high-velocity data streams like Twitter’s Firehose?

Key findings

  • The method detected 14,585 bot accounts from 920,008 tweets, with 10,998 of these being unique accounts, demonstrating high detection coverage.
  • Of the 2,586 detected bot accounts, 2,586 were suspended or deleted by Twitter, validating the system’s accuracy and real-world relevance.
  • The system analyzed data over five times faster than it was collected, processing 920,008 tweets in just 5 hours and 45 minutes.
  • A strong indicator of bot activity was observed when 17 out of 20 tweets in a sliding window showed high text similarity (score > 0.6), suggesting coordinated messaging.
  • The method identified botnets through consistent profile URLs, descriptions, and user agents, even when location and timezone data were inconsistent or missing.
  • The approach achieved high performance with minimal computational cost, using Python on a single consumer-grade machine, and could scale further with optimization or distributed processing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.