Analyzing Cybercrime on Reddit
Analyzing Cybercrime on Reddit
Panuganti Neha
Undergraduate Student, Department of Mathematics and Scientific Computing
Indian Institute of Technology Kanpur, India
Sourya Joyee De
Assistant Professor, Department of Management Sciences
Indian Institute of Technology Kanpur, India
Sharmishtha Mitra
Professor, Department of Mathematics and Statistics
Indian Institute of Technology Kanpur, India
We express our gratitude to the Department of Mathematics and Statistics at the Indian
Institute of Technology Kanpur for providing a conducive research environment.
I/We hereby declare that the work presented in the project report entitled A Topic Modeling
Approach to Analyzing Cybercrime Posts on Reddit” is written by me in my own words and
contains my own or borrowed ideas. At places where ideas and words are borrowed from other
sources, proper references and acknowledgements, as applicable, have been provided.
To the best of my knowledge, this work does not emanate from or resemble work created by
person(s) other than those mentioned and acknowledged herein.
Date:
2
Abstract
Cybercrime is a growing issue in today’s digital world, with increasing cases of scams and
online fraud targeting individuals through various platforms. Reddit, being a space where many
users share personal experiences anonymously, serves as a valuable resource for understanding
how these scams are happening in real life. In this project, I collected over 300 posts from
Reddit using its official API, targeting specific subreddits and keywords related to cybercrime.
The goal was to analyze these posts and identify common scam types, scammer strategies,
victim emotions, and behavioral patterns using topic modeling and NLP techniques.
To begin, I cleaned and preprocessed the text data by combining titles and body content of
posts, removing short texts, and applying custom stopword filtering. I then used BERTopic, a
topic modeling library that uses BERT embeddings along with a custom vectorizer to generate
meaningful clusters of discussion. This helped in automatically identifying topics like romance
scams, phishing, sextortion, card fraud, job scams, and more. I also visualized these topics
using pie charts, bar plots, and word clouds to highlight their distribution.
Beyond topic modeling, I also explored deeper patterns using a combination of manual rule-
based labeling and clustering (via KMeans). I identified victim intent (financial, emotional,
both), impact level, reporting behavior, recovery status, and emotions such as regret, sadness,
or helplessness. I further categorized scam steps like how the victim was contacted, the tactics
used (urgency, fake job offers, phishing), and whether the scam succeeded. I also analyzed
victim demographics (e.g., women, elderly, students) and whether they blamed technology or
themselves.
This end-to-end pipeline helped reveal important insights about how different cybercrimes un-
fold and how victims respond. The patterns discovered could help inform future scam aware-
ness tools or automated warning systems. All steps were performed using Python libraries like
BERTopic, sklearn, matplotlib, pandas, and sentence-transformers. This project was carried
out independently as part of my undergraduate research, under the guidance of Prof. Sourya
Joyee De and Prof. Sharmishtha Mitra at IIT Kanpur.
3
1 Introduction
Imagine the early days of the internet when the digital world was a place of endless promise
and new opportunities. As more people came online, however, so did a new kind of trick-
ery—cybercrimes. Much like the swindlers of old, modern scammers have found innovative
ways to take advantage of unsuspecting users, turning simple emails or messages into sophisti-
cated traps.
The digital revolution has transformed how individuals interact, conduct business, and manage
daily activities. However, this increased reliance on digital platforms has been accompanied by
a significant rise in cybercrime incidents. In India, the escalation is particularly alarming:
• In 2014, cybercrime cases surged by 69% compared to the previous year, with 9,622
cases registered under the Information Technology Act and related sections of the Indian
Penal Code [3].
These statistics underscore the urgent need for a comprehensive understanding of cybercriminal
activities and the development of effective counter measures.
Despite the growing body of research on cybercrime, there remains a gap in understanding the
nuanced experiences of victims as shared in online communities. Traditional studies often rely
on structured datasets or official reports, which may not capture the personal narratives and
evolving tactics discussed in real-time on social media platforms. This research aims to bridge
that gap by analyzing Reddit posts to uncover prevalent cybercrime themes, victim experiences,
and emerging scam strategies.
Today, stories of online scams have become all too common. One Reddit post titled “[US]PayPal
phishing email” tells the story of a user who received what looked like an official message from
PayPal, only to later discover it was a cleverly disguised scam. In another post, a user asked,
“How would this scam work?” sparking a discussion that reveals the many layers behind these
digital tricks. These posts serve as snapshots of how cybercriminals operate—using familiar
names and trusted brands to lure victims into a trap.
Moreover, scams on the internet are not limited to financial fraud. Beyond phishing and identity
theft, there are dating scams and sextortion schemes that prey on personal vulnerabilities. For
example, one post titled ”Asian guy/girl from online dating mentors you...” recounts an incident
where an individual, lured by promises of romance and companionship through an online dating
platform, ultimately found themselves entangled in a scheme designed to extract money and
personal information. Such narratives highlight the diverse nature of cybercrime, showing how
scammers adapt their tactics to exploit both financial and emotional weaknesses.
This paper takes a close look at how cybercrimes are discussed on Reddit by employing a
topic modeling approach. We analyzed a substantial collection of posts gathered from vari-
ous communities—including r/Scams, r/phishing, r/CyberSecurity, r/privacy, r/technology, and
r/hacking—to uncover common themes and patterns. Our primary objectives are to:
• RQ1: Identify prevalent types of cybercrime discussed on Reddit.
• RQ2: Scammer’s Perspective - Understand the strategies and tactics employed by cyber-
criminals as reported by users.
• RQ3: Analyze the emotional and psychological impact on victims.
4
• RQ4: Scammed Perspective - Explore patterns in victim demographics and reporting
behaviors.
By exploring these online conversations, our study aims to paint a clear picture of the modern
cybercrime landscape. The insights obtained have the potential to inform targeted awareness
campaigns, educational initiatives, and advanced automated detection systems aimed at miti-
gating the impact of digital fraud.
2 Previous Work
2.1 Cybercrimes and Online Scams
The transformation of crime in the digital age has produced a multifaceted phenomenon where
traditional fraud converges with modern technology to create complex online scams. Early
studies in cybercrime—such as those by Doe et al. (from the comprehensive overview avail-
able at 4) and Miller and Rogers (5)—focused on the technical underpinnings of phishing
attacks and malware distribution. These seminal works laid the groundwork for understanding
digital offenses, documenting the evolution from crude, easily detectable phishing attempts to
sophisticated, meticulously crafted messages that closely mimic official communications, as
explained in resources such as Kaspersky’s guide on phishing (6).
For instance, Johnson et al. (7) anchored their discourse around the structural analysis of phish-
ing emails, illustrating that even minor alterations in language and visual design can dramat-
ically enhance the credibility of fraudulent messages. Similarly, Lee and Chen (8) collected
participant narratives from online forums and social media platforms to explore the broader
socio-emotional dimensions of cybercrime. Their work reveals that scammers increasingly ex-
ploit personal vulnerabilities through dating scams and sextortion schemes, suggesting that the
lure of romance and trust can be as potent as technical deception in defrauding unsuspecting
victims.
Building on these insights, our work applies a topic modeling approach to Reddit discus-
sions on cybercrime. By analyzing posts from communities such as r/Scams, r/phishing, and
r/CyberSecurity, we aim to uncover latent themes that capture both the technical intricacies and
the human impacts of these scams. For example, one illustrative post titled ”Asian guy/girl
from online dating mentors you...” recounts how a victim, enticed by promises of companion-
ship, was ultimately exploited for financial gain—echoing the trends documented by Lee and
Chen.
By synthesizing insights from both technical analyses and victim narratives, our study con-
tributes to the growing body of literature on cybercrime. This integrated perspective is es-
sential not only for advancing academic understanding but also for developing more effective
countermeasures and raising public awareness against the pervasive threat of online scams, as
highlighted by the work on social engineering in Wiley’s resource (9). Now,” Cybercrimes and
Online Scams” can be effectively divided into the following subsections to address specific
methods employed by cybercriminals:
1. Malicious Websites and Links Exploited by Scammers: This subsection delves into how
cybercriminals create deceptive websites and malicious links to lure individuals into di-
vulging sensitive information or downloading harmful software.
5
2. Fraudulent Interactions via Applications and Emails: This part examines the tactics
scammers use within applications and through email communications to execute fraudu-
lent schemes, including impersonation and exploitation of platform vulnerabilities.
6
Factorization (NMF), to detect cyber threats from hacker forums. These foundational stud-
ies highlighted the effectiveness of topic modeling in identifying emerging vulnerabilities and
exploit techniques discussed within underground hacking communities.
Building upon these methodologies, Moreno-Vera (2) employed LDA to analyze discussions
in underground hacking forums, aiming to detect and classify vulnerability-related conversa-
tions. This approach facilitated the identification of recurring themes and prevalent discussions
concerning vulnerabilities and exploits. Additionally, Pelofske et al.(3) developed a robust
cybersecurity topic classification tool by training multiple machine learning models on data
from platforms like Reddit and StackExchange, demonstrating the utility of NLP in detecting
cybersecurity-related discussions across diverse internet sources.
Drawing inspiration from these prior works, our study adopts BERTopic, an open-source frame-
work proposed by Grootendorst (4), to analyze Reddit discussions pertaining to cybercrime.
BERTopic has been recognized for its ability to generate coherent topics by leveraging transformer-
based embeddings and a class-based TF-IDF procedure. By integrating BERTopic into our
analysis, we aim to uncover nuanced insights into the discourse surrounding cybercrime on
Reddit, providing a comprehensive understanding of the prevalent themes and discussions
within this domain.
7
To ensure ethical integrity, we followed these key principles:
• Public data only: No data was collected from private or restricted subreddits. All content
was accessed using Reddit’s official API from publicly available threads.
• User anonymity: Personally identifiable information such as usernames and IDs was
not stored, or used in analysis or reporting.
• Dynamic subreddit filtering: Any subreddit that turned private during or after our col-
lection period was excluded from the final dataset.
This project was carried out for academic research purposes and follows standard ethical prac-
tices for analyzing social media data, particularly when handling user-generated discussions on
sensitive topics.
4 Methodology
Topic modeling and computational techniques are widely used for analyzing unstructured datasets,
especially when manual coding is infeasible. This study assumes that topics extracted from
Reddit posts reflect genuine scam strategies and victim experiences shared by users. To ana-
lyze these discussions, we implemented a multi-step methodology that combines data retrieval,
preprocessing, and computational analysis.
As shown in Figure 1, our methodology comprises three stages:
• Data Retrieval & Preprocessing
• Computational Analysis (Topic Modeling, Clustering, and Labeling)
• Labeling and Visualization
8
4.1 Data Retrieval and Preprocessing
4.1.1 Data Retrieval
Reddit provides an API for accessing posts, which is essential for collecting large-scale textual
data. To access this API, we created an application on the Reddit Developer Portal, obtained
authentication credentials (client ID, client secret, username, password, user agent), and used
Python for data extraction. The complete data collection code is available online.(code)
1) Reddit API Authentication To authenticate, we used the praw library in Python. The
setup is shown below:
import praw
reddit = [Link](
client_id=REDDIT_CLIENT_ID,
client_secret=REDDIT_CLIENT_SECRET,
username=REDDIT_USERNAME,
password=REDDIT_PASSWORD,
user_agent=REDDIT_USER_AGENT
)
2) Keywords and Subreddit Selection The keywords used for extracting scam-related posts
were selected based on their relevance to cybersecurity threats and online fraud. Common
terms included: cybercrime, fraud, phishing, identity theft, romance scam, crypto scam, fake
refund, SIM swap, sextortion, money laundering, and more.
Relevant subreddits included: r/BitcoinScams, r/CryptoScams, r/CyberCrime,
r/OnlineDating, r/ScamReports, r/Scams, r/TechSupportScams, among
others.
All posts were merged into a single dataset for analysis.
9
4.1.2 Data Cleaning
To ensure robust analysis, the following cleaning steps were applied:
• Handling Missing Data: Empty fields were replaced with empty strings.
• Content Merging: Title and text fields were combined into a single content column.
• Noise Removal: Posts with fewer than 20 characters, or marked as [deleted] or
[removed], were excluded.
• Stopword Removal: Common stopwords were removed using NLTK’s English list and
a custom CountVectorizer.
QK T
!
Attention(Q, K, V ) = sof tmax √ V,
dk
where Q, K, and V represent the query, key, and value matrices, respectively, and dk is the
dimension of the key vectors. This mechanism allows the model to weigh the importance of
10
different words in a sentence and to generate a semantic representation Ed for each document
d:
Ed = fBERT (d).
This high-dimensional embedding captures intricate contextual relationships in text, serving as
the foundation for subsequent processing.
11
where:
• T F (t, C) is the term frequency of t within cluster C.
• N is the total number of documents.
• DF (t) is the document frequency of t across the entire corpus.
This metric accentuates terms that are frequent in a cluster but rare across the whole corpus,
thereby yielding representative topic descriptors.
Cluster Naming (Manually done): Each cluster was assigned a descriptive name based on
its most representative words. The table below shows the interpreted topics, keywords, and
corresponding meanings.
12
Table 1: Topic Interpretations Generated by BERTopic
Interpretation of Visualizations
The visualizations in the Figures in the next page provide complementary perspectives topics
formed by bertopic model on our dataset:
• Topic Distribution : Cybersecurity events dominate the discussion (17.8%), followed
by Romance & Family scams (14.6%) and Email-Based Sextortion (13.4%). This dis-
tribution reflects the prevalence of both technical and emotional fraud vectors in online
communities.
• Topic Word Clouds: Each topic exhibits distinct linguistic patterns. Cybersecurity dis-
cussions center around ”security,” ”https,” and ”incident,” while Romance scams fea-
ture terms like ”romance,” ”mom,” and ”family.” Sextortion scams prominently include
”email,” ”content,” and ”bitcoin,” revealing common communication mediums and pay-
ment methods used in these scams.
• Topic Post Count : For each cluster, representative terms are extracted using the for-
mula of c-TF-IDF scores. These justify our manual naming of the clusters based on the
dominance of the words in each cluster/topic formed.
This multi-dimensional analysis highlights the variety and frequency of scam types discussed
across Reddit. The high volume of cybersecurity topics suggests a strong awareness of tech-
nical threats, whereas the substantial presence of romance scams indicates the persistent rele-
vance of emotional manipulation in digital fraud schemes.
13
(a) Topic distribution by percentage
14
Figure 3: Hierarchical clustering dendrogram showing semantic proximity between scam top-
ics.
15
– Topic 0 (Cybersecurity Events) and Topic 6 (Money Laundering) are linguistically
distinct from most other topics.
Figure 4: Heatmap representing similarity scores between all topic pairs. Darker cells indicate
higher similarity.
These visualizations reveal how different scam types cluster naturally based on their linguistic
patterns. The hierarchical structure highlights that while each scam type has unique character-
istics, there are clear relationship patterns that could inform prevention strategies.
The similarity matrix further quantifies these relationships, showing that while some topics
like Cybersecurity Events maintain distinct boundaries, others like Tech Platform Scams and
Sextortion have considerable overlap, suggesting that victims of one type might be vulnerable
to the other.
16
Figure 5: Combined visualizations: Scammer intent (pie chart), victim sentiment, impact, re-
porting status, and recovery type (bar charts).
1. Scammer Intent
Analysis: The pie chart categorizes scammer intent into four types: emotional (7.4%), finan-
cial (35.9%), both emotional and financial (26.5%), and unclear (30.3%). Financial scams
dominate, reflecting the primary goal of monetary gain. Emotional scams are less common but
often involve manipulation through relationships or trust-building tactics. The ”both” category
highlights scams that leverage emotional manipulation to achieve financial exploitation. The
”unclear” category suggests ambiguity in victim descriptions or insufficient details in posts.
Interpretation: Scammers predominantly target victims financially, often using emotional ma-
nipulation as a complementary strategy. The significant percentage of ”unclear” posts indicates
the need for clearer descriptions or better reporting mechanisms.
2. Victim Sentiment
Analysis: Victim sentiment is categorized into mixed emotions (dominant), sadness, helpless-
ness, anger, and regret. Mixed emotions account for the largest percentage (˜60%), reflecting
the complexity of victim experiences. Anger (˜15%) and sadness (˜10%) are also prominent
sentiments, indicating frustration and emotional distress.
Interpretation: Victims often experience a combination of emotions after being scammed,
highlighting the psychological impact of scams beyond financial losses. Anger and sadness
suggest feelings of betrayal and loss, while regret is less common, indicating victims may
blame external factors rather than themselves.
3. Level of Impact
Analysis: The level of impact is divided into high (˜2%), medium (˜80%), and low (˜18%).
Medium-impact scams dominate, suggesting that most scams cause moderate disruptions or
financial losses rather than catastrophic outcomes.
17
Interpretation: While most scams result in moderate losses, high-impact cases highlight se-
vere consequences for victims. This emphasizes the importance of early detection and preven-
tion to mitigate larger losses.
4. Reporting Status
Analysis: The reporting status is divided into ”reported” (˜33%) and ”not reported” (˜67%). A
majority of victims did not report scams, reflecting a lack of trust in authorities or unawareness
about reporting mechanisms.
Interpretation: The low reporting rate underscores the need for awareness campaigns to en-
courage victims to report scams and seek help. Improving trust in law enforcement and provid-
ing accessible reporting channels could increase these numbers.
5. Recovery Type
Analysis: Recovery efforts are categorized into no recovery (˜85%), therapy (˜5%), and finan-
cial recovery (˜10%). Most victims did not recover from their losses emotionally or financially.
Interpretation: The lack of recovery actions suggests gaps in support systems for scam vic-
tims. Therapy and financial recovery are rare, indicating limited access to resources or knowl-
edge about recovery options. This highlights the need for better victim assistance programs and
awareness about recovery mechanisms.
18
Step 4: Comprehensive Analysis of Scam Outcomes, Target
Groups, Remedies, and Victim Blame
This step consolidates the analysis of scam outcomes, targeted victim groups, scam types, reme-
dies initiated by victims, and victim blame attribution. The visualizations provide a detailed
understanding of scammer strategies and victim responses.
1. Scam Outcomes
Analysis: Scams were categorized as “Success” or “Failed.” A scam was labeled as “Success”
if the victim suffered financial loss or personal data theft, while “Failed” indicated that the scam
attempt was thwarted.
• 98.2% Success: Most scams achieved their intended goals.
• 1.8% Failed: Only a small fraction of scams were avoided by victims.
Interpretation: The high success rate highlights the effectiveness of scammers’ tactics and
underscores the need for stronger preventive measures to reduce victimization.
3. Type of Scam
Analysis: Scams were classified into four categories based on their nature:
• Technical (47.6%): Scams involving phishing, fake links, or technical impersonation.
• Mixed/Unclear (38.2%): Scams with overlapping characteristics or insufficient details
for classification.
• Emotional (7.9%): Scams leveraging emotional manipulation such as romance scams.
• Financial (6.2%): Direct financial frauds like credit card scams or fake investments.
Interpretation: Technical scams dominate due to the increasing sophistication of cyber-based
fraud methods. Emotional and financial scams, though less common, often rely on trust-
building and manipulation to exploit victims.
19
4. Remedies Initiated
Analysis: Posts were labeled as “Yes” if victims mentioned taking any remedial actions post-
scam (e.g., reporting to authorities, seeking financial recovery) and “No” if no remedies were
initiated.
• 98.2% No: Most victims did not take any remedial action after being scammed.
• 1.8% Yes: Only a small fraction of victims actively sought recovery or reported the
incident.
Interpretation: The lack of remedial actions suggests gaps in victim awareness about re-
sources or a lack of trust in recovery mechanisms. This highlights an urgent need for campaigns
to educate victims about reporting scams and seeking support.
20
(a) Scam Outcomes (b) Targeted Victim Groups