Discovering Message Templates on Large Scale Bitcoin Abuse Reports Using a Two-Fold NLP-Based Clustering Method

Jinho Choi, Taehwa Lee, Kwanwoo Kim, Minjae Seo, Jian Cui, Seungwon ShinIEICE Trans. Information and Systems 2022 · DOI

Abstract

Traditional blacklisting of Bitcoin addresses is often ineffective due to the high volatility of wallet usage by cybercriminals. This paper presents a two-fold NLP-based clustering method to identify malicious campaigns by analyzing the underlying message templates in abuse reports. By processing over 200,000 reports from BitcoinAbuse.com, the study identifies over 1,000 distinct campaigns and reveals that a small number of "master templates" drive the vast majority of reported abuse.

Introduction

In cryptocurrency-related crime, attackers frequently rotate Bitcoin addresses and spoof email headers to evade detection. While financial identifiers are transient, the textual content of the scams—such as sextortion, phishing, and ransom demands—remains relatively stable. However, these reports are often "noisy," containing typos or intentional obfuscation like homoglyphs (characters from different scripts that look identical). This research aims to automate the discovery of these persistent message templates to better track and mitigate criminal campaigns.

Methodology: Two-Fold NLP Clustering

To handle the computational complexity of analyzing hundreds of thousands of reports, the researchers developed a scalable two-stage pipeline designed to reduce the overhead of traditional text-similarity algorithms.

The two-fold NLP-based text clustering pipeline, spanning from data collection to final DBSCAN-based clustering.
  1. Preprocessing & Homoglyph Mapping: The system first normalizes text by mapping 729 non-ASCII characters to their standard ASCII equivalents, neutralizing common obfuscation tactics used to bypass security filters.
  2. Stage 1: Partitioning: To avoid the $O(n^2)$ cost of global text comparison, the data is first grouped into 100 broad partitions using TF-IDF and K-means clustering based on shared topics.
  3. Stage 2: Fine-Grained Clustering: Within each partition, DBSCAN is applied using Edit Distance as a similarity metric. This identifies specific templates where the core text is nearly identical, despite variations in names or addresses.

Data and Key Insights

The study analyzed 200,597 reports from bitcoinabuse.com collected over 44 months. After pruning for quality and language, 163,185 reports were processed.

The Pareto Principle of Scams

A primary finding of the study is the extreme concentration of scam activity. The researchers discovered that a tiny fraction of the identified clusters accounts for the overwhelming majority of the data.

Cumulative Distribution Function (CDF) showing that 213 clusters represent 90% of the reported text data.

As shown in the figure above, just 213 templates (the "upper 7.5%") represent 90% of all reported text. This suggests that Bitcoin abuse is dominated by a relatively small number of organized groups or automated toolkits, making message templates a much more robust "fingerprint" for criminal activity than volatile financial infrastructure.

Results and Impact

The system successfully identified 2,819 distinct clusters, which were further refined into 1,081 high-confidence abuse message campaigns. These campaigns accounted for over 31% of the total victim reports analyzed. The two-fold approach allowed the researchers to process a massive dataset that would be prohibitively slow using standard similarity measures on the entire dataset at once.

Conclusion and Future Work

This two-fold approach provides a scalable solution for identifying large-scale cybercrime campaigns. Future work will focus on expanding the system to support multiple languages and integrating the clustering logic into real-time security filters to proactively flag known scam templates as they emerge.

Summary updated

BibTeX
@article{choi2022discovering,
  author = {Jinho Choi and Taehwa Lee and Kwanwoo Kim and Minjae Seo and Jian Cui and Seungwon Shin},
  title = {{Discovering Message Templates on Large Scale Bitcoin Abuse Reports Using a Two-Fold NLP-Based Clustering Method}},
  journal = {IEICE Trans. Information and Systems},
  year = {2022},
  doi = {10.1587/transinf.2021edl8092},
}
Figure