Knock Knock... Who's there? admin admin and get in! An overview of the CMS brute-forcing malware landscape

Anna Shirokova (Cisco)

BruCON 0x09 · Day 1

Overview

In this compelling talk at BruCON, Anna Shirokova from Cisco's Cognitive Threat Analytics team delves into the persistent and evolving landscape of brute-forcing malware targeting Content Management Systems (CMS), with a particular focus on WordPress. Given that WordPress powers an astonishing 28% of the internet—approximately 20 million sites—it presents an irresistible target for attackers. Shirokova's research, conducted in collaboration with Veronica, aims to illuminate the types of malware engaged in brute-forcing, their operational methods, and the underlying reasons for their continued success.

Watch on YouTube

Visual summary for Knock Knock... Who's there? admin admin and get in! An overview of the CMS brute-forcing malware landscape by Anna Shirokova
Visual summary for Knock Knock... Who's there? admin admin and get in! An overview of the CMS brute-forcing malware landscape by Anna Shirokova

Key moments

  1. 0:00 Introduction, research scope on WordPress brute-forcing malware
  2. 6:00 Historical overview: For disco campaign and Mayhem botnet
  3. 11:00 IoT botnets (Astra) and CMS Catcher malware
  4. 16:00 Deep dive: Satyr Bot's origins and infection spread
  5. 21:00 Satyr Bot's non-standard credentials and user enumeration
  6. 27:00 Satyr Bot's multi-stage command and control infrastructure
  7. 32:00 Detection methods: Vertical vs. horizontal brute-forcing attacks
  8. 36:00 Key learnings and future research on brute-forcing attacks

Knock Knock... Who's there? admin admin and get in! An overview of the CMS brute-forcing malware landscape

Speakers: Anna Shirokova (Cisco)

Conference: BruCON

YouTube: https://www.youtube.com/watch?v=q0GlAWbMeMo

Overview

In this compelling talk at BruCON, Anna Shirokova from Cisco's Cognitive Threat Analytics team delves into the persistent and evolving landscape of brute-forcing malware targeting Content Management Systems (CMS), with a particular focus on WordPress. Given that WordPress powers an astonishing 28% of the internet—approximately 20 million sites—it presents an irresistible target for attackers. Shirokova's research, conducted in collaboration with Veronica, aims to illuminate the types of malware engaged in brute-forcing, their operational methods, and the underlying reasons for their continued success.

The presentation provides a historical overview of brute-force attacks, tracing their evolution and highlighting significant campaigns over the past decade. A core component of the talk is a deep dive into Satyr bot, a modular botnet that exemplifies modern brute-forcing tactics. By analyzing network traffic and long-term malware behavior, Shirokova not only dissects Satyr bot's infection vectors, crawling techniques, and command-and-control (C2) infrastructure but also offers practical detection methods for both site administrators and network defenders. The research underscores the critical importance of understanding these seemingly simple attacks, as they often serve as the initial foothold for more sophisticated and damaging cyber operations.

Background

▶ Watch: Introduction, research scope on WordPress brute-forcing malware (0:00)

Brute-force attacks are a fundamental and enduring threat in cybersecurity, designed to gain unauthorized access by systematically trying numerous username and password combinations. This problem is particularly acute for Content Management Systems (CMS) like WordPress, which rely heavily on form-based authentication. Attackers exploit common user behaviors, such as using simple passwords (e.g., "admin," "12345," "root") or failing to change default credentials, making these systems highly vulnerable. Once compromised, these sites are often co-opted into larger botnets, used for spreading other malware, or sold on black markets, perpetuating a cycle of exploitation.

The history of distributed brute-forcing against WordPress dates back to at least 2009, with early reports of simple PHP scripts enumerating URLs and attempting password guesses. The problem escalated significantly in subsequent years:

  • 2013 - For disco: This campaign, initially reported by Dr. Web, involved a Trojan (dubbed "WP Cracker") that aggressively brute-forced CMS. Later research by Arbor Networks identified six distinct command-and-control (C2) services. For disco was not merely a brute-forcer; it was also linked to the deployment of backdoors (like the "man" PHP file), redirection to exploit kits such as Styx and Blackhole, and powering spam campaigns via the StealRat botnet. This established a clear pattern: brute-forced sites become components in broader malicious infrastructures.
  • 2014 - Mayhem Botnet: Reported by MalwareMustDie and extensively researched by Yandex, Mayhem was a modular botnet with six modules dedicated to brute-forcing (including FTP accounts) and crawling. Yandex experts suggested Mayhem was a continuation of the For disco campaign, indicating an evolution of these persistent threats. This year also saw the first widespread abuse of WordPress's XML-RPC interface, specifically the wp.getUsersBlogs call, which allowed attackers to attempt username/password combinations over a different protocol, bypassing some traditional login page protections.
  • 2015 - MailPoet Vulnerability and AI Test: While not directly a brute-forcing attack, the critical vulnerability in the popular MailPoet WordPress plugin (downloaded over 1.5 million times) allowed remote file uploads without authentication. This was heavily abused by the AI Test campaign, which delivered ransomware and adware. Crucially, security researchers from F-Secure found that attackers often used brute-forcing first to gain access to WordPress sites, then leveraged vulnerabilities like MailPoet within those compromised environments, highlighting the layered nature of attacks.
  • 2015 - Astra and CMS Catcher: The Astra botnet exploited default passwords on routers (e.g., Astra routers) to install malware, turning these devices into nodes for launching brute-force attacks. Brian Krebs linked Astra to the infamous Lizard Squad hacking group, which used these compromised devices for DDoS operations. Separately, the CMS Catcher malware, discovered while studying the Gamma/Andromeda botnet, specifically targeted WordPress sites. A single bot captured during research obtained a list of 1,000 sites and, over 40 days, collected 300 files containing roughly 220,000 WordPress sites for brute-forcing.
  • 2015 - 12- Ransomware: Unusually, this ransomware strain demonstrated a multi-stage attack. After encrypting user files, it would download a new payload and begin performing brute-force attacks, underscoring how diverse malware types integrate this seemingly simple tactic.
  • 2016 - Chicken Kiev Botnet: Reports emerged of a Ukrainian ISP originating 1.65 million brute-force attacks per day, exceeding the combined traffic from major hosting providers like OVH, Rostelecom, and GoDaddy. Wordfence later linked this activity to the Chicken Kiev botnet, which used brute-forced WordPress sites for various malicious activities.
  • 2017 - Stantinko Botnet: This modular botnet, known for injecting ads and click fraud, incorporated a dedicated "brute plugin." This plugin performed dictionary attacks, obtaining password lists from its C2 server, further proving the continued efficacy and integration of brute-forcing into advanced malware.

These examples collectively illustrate that brute-forcing is not an obsolete attack; it is simple, automated, and alarmingly effective due to persistent vulnerabilities in user practices and software configurations. Its success ensures its continued prevalence and evolution within the broader malware ecosystem.

Key Findings

▶ Watch: IoT botnets (Astra) and CMS Catcher malware (11:00)

The research presented by Anna Shirokova and Veronica yielded several key findings that shed light on the current state of brute-forcing malware and its impact:

  1. Persistence and Efficacy of Brute-Forcing: Despite its simplicity, brute-forcing remains a highly successful attack vector. Malware authors continue to integrate brute-forcing modules or plugins into their toolkits, demonstrating its enduring value in gaining initial access to systems. This success is largely attributed to users employing weak passwords, neglecting to update software, or failing to change default credentials.
  2. Age and Evolution of Satyr Bot: While Satyr bot gained significant media attention in 2017, the research revealed its origins trace back to 2013. Initial VirusTotal uploads from 2013 identified it as a "backdoor Hydra loader," indicating a long evolutionary history before its re-identification as Satyr bot. This highlights how malware can persist and adapt over years, often under new names or with updated capabilities.
  3. Modular Design of Modern Botnets: Satyr bot is a prime example of a modular botnet, comprising four distinct modules: a backdoor, a downloader, a web crawler, and a brute-forcer. This modularity allows botnets to perform a variety of malicious activities efficiently and adapt to different targets or objectives.
  4. Sophisticated Crawling and Target Identification: Satyr bot demonstrates advanced reconnaissance capabilities, utilizing major search engines (Google, Bing, Yandex) to crawl for potential WordPress targets. It employs specific keyword combinations to identify relevant sites and then performs a GET request to /wp-login.php to confirm the presence of a WordPress login panel before initiating brute-force attempts.
  5. Non-Standard Brute-Forcing Behavior: Contrary to earlier reports, Satyr bot exhibits more complex brute-forcing patterns than simply using a single password like "magic." The research observed:
  • Dynamic Password Changes: Passwords obtained from the C2 server change, with examples like "swimming" being used for a site related to "water channel."
  • Username Enumeration: The bot appears to perform username enumeration scans, possibly by requesting numerical IDs (e.g., author=1 to author=1000) to discover real usernames, which are then used in brute-force attempts.
  • Multiple Attempts per Site: A single site can be brute-forced multiple times with different passwords (e.g., a Romanian site brute-forced with "maketo" and later "system").
  • Customized Password Lists: The observed password distribution, where terms like "pedicles" were used nearly 50,000 times, significantly more than "root123," suggests the use of a customized password dictionary rather than standard, publicly available lists.
  1. Global, Non-Targeted Attacks: Satyr bot's brute-forcing efforts are global, not focusing on specific countries or top-level domains (TLDs). The high number of .com and .org TLDs probed reflects the widespread nature of WordPress installations, including free blogs hosted on wordpress.com subdomains. The bot even attempted to probe well-known sites like Quora, Snapchat, and Twitter if they appeared to run on WordPress.
  2. Complex C2 Infrastructure: The botnet employs a multi-stage, hierarchical C2 architecture. This includes hard-coded C2s for initial contact, DNS-based C2s for delivering locations of further C2s, dedicated reporting C2s, and separate binary delivery C2s. The researchers also identified "lazy admin" patterns in C2 domain names, categorizing them into groups like "forest," "master," "slave," and "boom."

Overall, the findings underscore that brute-forcing attacks, exemplified by Satyr bot, are sophisticated, adaptable, and a persistent threat that forms a foundational layer in the broader cybercrime ecosystem.

Technical Deep Dive

▶ Watch: Satyr Bot's non-standard credentials and user enumeration (21:00)

Satyr bot's operation provides a detailed blueprint for how modern brute-forcing malware functions, from initial infection to sophisticated command-and-control (C2) communication.

The infection chain for Satyr bot typically begins when a user searches for pirated software or movies on search engines. The bot leverages specific URL patterns in torrent links to trick users. Upon downloading and attempting to install what appears to be a movie or codec, the user encounters an error message about a corrupted installer. Crucially, during this process, Satyr bot is silently invoked, turning the host into a part of the botnet.

Once active, the bot initiates its web crawling module. It systematically queries three major search engines: Google, Bing, and Yandex. The goal is to discover potential WordPress sites. For Google and Bing, the bot uses combinations of common English words (e.g., "makers managed manual"). Interestingly, for Yandex, it searches for unusual combinations of letters, whose purpose or origin remains unclear. The research team collected these search terms and created a word cloud, noting, for example, that "beauty" was searched 210 times on Bing and 111 times on Google.

After compiling a list of URLs, Satyr bot employs a simple yet effective method to identify WordPress installations. It performs a GET request to the /wp-login.php path on each collected URL. A successful response indicates the presence of a WordPress login panel, confirming the site as a viable target.

For the actual brute-forcing, Satyr bot primarily utilizes the XML-RPC interface, specifically the wp.getUsersBlogs method. This is a common tactic, as many XML-RPC calls in WordPress require a username and password, making them suitable for authentication attempts outside the traditional /wp-login.php form. The bot typically uses the domain name of the target site as the username initially, combined with passwords obtained from its C2 server.

Earlier reports suggested Satyr bot used a single password (e.g., "magic") for all attempts. However, the Cisco research uncovered more dynamic behavior:

  • Standard and Non-Standard Combinations: The bot uses both standard credential combinations (e.g., domain as username, "magic" as password) and non-standard ones. For instance, a Russian site with a name meaning "water channel" was brute-forced with the username "admin" and the password "swimming."
  • Username Enumeration: The bot appears to perform enumeration scans to discover valid usernames. This can be achieved by iterating through numerical IDs (e.g., author=1, author=2) in WordPress, which often reveal real user accounts. The identified usernames are then used in conjunction with C2-supplied passwords.
  • Persistent Brute-Forcing: The bot doesn't give up after one failed attempt per site. The researchers observed a Romanian site being brute-forced with "maketo" at 2 PM and then "system" at 6 PM, indicating multiple password attempts over time.

Analysis of the collected passwords over a five-day capture period revealed a surprising distribution. While one might expect "admin" or "admin123" to dominate, the password "pedicles" was tried almost 50,000 times, significantly more than "root123." This highly unusual distribution suggests that Satyr bot uses a customized password list rather than a standard dictionary, making it harder to predict and defend against. The bot is also indiscriminate in its targets, probing well-known platforms like Quora, Snapchat, and Twitter if they are identified as running WordPress, demonstrating a broad attack surface.

The Command-and-Control (C2) infrastructure of Satyr bot is multi-layered:

  1. Initial Contact (Hard-coded C2): Upon infection and connectivity check (via Google), the host contacts a hard-coded C2 server. GET requests to this C2 occur every two hours, likely for updates or new instructions, while POST requests, presumably for reporting host information, are sent every 10 seconds.
  2. Second C2 (DNS-based): Shortly after crawling, the bot contacts a second C2 via a DNS request. The response comes in a TXT record, containing an encoded string that reveals the location of the third C2. This method, observed only once during the five-day capture, adds a layer of indirection.
  3. Third C2 (Reporting): The infected host sends POST requests to this third C2 every 16 minutes, indicating its primary role in reporting collected data or status updates.
  4. Fourth C2 (Binary Delivery): A fourth C2 is contacted via a GET request only once, specifically for delivering binaries. The third and fourth C2s often share the same IP addresses but use different domain names, suggesting a functional split within the same infrastructure.

The researchers identified patterns in the C2 domain names, categorizing them as a "lazy admin approach." Groups like "forest," "master," "slave," and "boom" were noted, with specific roles: "forest" domains for initial hard-coded C2s, "master" for DNS-based C2s providing locations, "slave" for reporting, and "boom" linked to torrent trackers. Domain name analysis also revealed version changes (e.g., V=1 in 2015 to V=3 in 2017) and a single linked email address ([email protected]), offering rare glimpses into the operators.

Demo / Proof of Concept

▶ Watch: Satyr Bot's multi-stage command and control infrastructure (27:00)

While the talk did not feature a live, interactive demonstration of Satyr bot in action, it presented a crucial visualization of the botnet's command-and-control (C2) communication. This visual representation served as a powerful proof of concept for understanding the intricate network interactions of the malware.

The visualization was created by a collaborator on the research. The process involved:

  1. Packet Capture (PCAP) Extraction: All communication data to and from the Satyr bot C2s was extracted from network traffic captures (PCAPs).
  2. Data Parsing: The PCAP data was then parsed and converted into a structured CSV (Comma Separated Values) format.
  3. Visualization Algorithm (Delfy): The CSV data was fed into a visualization algorithm, likely a graph-based tool or custom script, which generated the visual representation. The speaker specifically mentioned "Delfy" as the algorithm used.

The visualization itself depicted a high-level overview of the communication flow:

  • Infected Host (A): Represented by a letter 'A'.
  • Torrent Tracker (G): Represented by a letter 'G', showing connections related to the initial infection vector.
  • Reporting C2 (C): A pink line from 'A' to 'C' illustrated the infected host sending POST requests, signifying reporting activity. This connection occurred every 16 minutes.
  • Hard-Coded C2 (B): Connections between 'A' and 'B' represented the initial hard-coded C2. This C2 provided updates via GET requests and received POST requests every 10 seconds.
  • Updates (Red Line): A red line indicated updates delivered by the fourth C2, which shared an IP address with the reporting C2, highlighting their coordinated function.
  • Timestamps (Black Circles): Large black circles on the communication lines denoted timestamps of connections, illustrating the temporal aspect of the interactions.

This C2 visualization was a critical component of the research, allowing the team and the audience to intuitively grasp the complex, multi-stage nature of Satyr bot's C2 infrastructure and how different C2 servers played distinct roles in the botnet's operation. It provided tangible evidence of the network-level behavior discussed in the technical deep dive.

Defensive Implications

▶ Watch: Key learnings and future research on brute-forcing attacks (36:00)

Understanding the mechanics of brute-forcing malware like Satyr bot is crucial for developing effective defensive strategies. The talk outlines specific actions for both WordPress site owners and network defenders, distinguishing between vertical and horizontal brute-force attacks.

For WordPress Site Owners:

  1. Strong and Unique Passwords: This is the most fundamental defense. Users must abandon simple, dictionary-based, or default passwords. Employing long, complex, and unique passwords for every account is paramount. Password managers can greatly assist in this.
  2. Two-Factor Authentication (2FA): Implementing 2FA adds a critical layer of security, requiring a second verification method (e.g., a code from a mobile app) beyond just a password. Even if a password is brute-forced, 2FA prevents unauthorized access.
  3. Security Plugins: WordPress offers numerous security plugins (e.g., Wordfence, iThemes Security) that can detect and block brute-force attempts. These plugins often include features like:
  • Login Attempt Limiting: Automatically blocking an IP address after a certain number of failed login attempts from that IP.
  • CAPTCHA: Requiring users to solve a CAPTCHA challenge before logging in, which can deter automated bots.
  • IP Blacklisting: Manually or automatically blacklisting suspicious IP ranges.
  1. Regular Updates: Keep WordPress core, themes, and plugins updated to the latest versions. Vulnerabilities like the MailPoet bug are frequently exploited, and timely updates patch these weaknesses.
  2. Change Default Credentials: Always change default usernames (e.g., "admin") and passwords immediately after installation.
  3. Monitor Login Logs: Regularly review WordPress login logs for suspicious activity, such as repeated failed login attempts from unusual IP addresses or at unusual times.

For Network Defenders (SOC Analysts, IT Security Teams):

  1. Distinguish Brute-Force Types:
  • Vertical Brute-Forcing: One host repeatedly attempts to log into a single target with many different passwords.
  • Detection: Relatively easy to spot. Intrusion Detection Systems (IDS) rules can be configured to alert on a high volume of failed login attempts to a single /wp-login.php or XML-RPC endpoint from a single source IP. Security Information and Event Management (SIEM) systems can correlate proxy or web server logs to identify this pattern.
  • Horizontal Brute-Forcing: One host attempts to log into many different targets, often trying only a few password combinations per target (e.g., "admin"/"password"). This is the more sophisticated and harder-to-detect method used by Satyr bot.
  • Detection: IDS solutions might generate too many false positives if configured too broadly. SIEM and proxy logs are critical here. Defenders should look for a single internal host making many outbound connections to /wp-login.php or XML-RPC endpoints on diverse external domains. High volumes of HTTP POST requests to these paths, especially with varying target domains, are strong indicators.
  1. Behavioral Analytics: This is identified as the "best solution" for detecting horizontal brute-forcing. Machine learning and behavioral analytics platforms can establish baselines of normal network activity. Deviations, such as a single internal client suddenly attempting to connect to thousands of external WordPress login pages, will trigger alerts without relying on specific signatures or static thresholds that generate false positives.
  2. Threat Intelligence: Integrate threat intelligence feeds containing known C2 IP addresses and domain names associated with botnets like Satyr bot. This can help identify outbound C2 communication from infected internal hosts.
  3. DNS Monitoring: Monitor DNS queries for suspicious patterns, such as requests for domains identified as C2s (especially those using TXT records for C2 location) or a high volume of DNS queries to unusual domains from internal hosts.
  4. Traffic Inspection: For clear-text protocols, inspect HTTP POST requests to /wp-login.php or XML-RPC endpoints. Look for patterns in usernames, passwords, and the volume of attempts.
  5. Outbound Traffic Filtering: Implement egress filtering to restrict outbound connections from internal hosts, particularly to known malicious IPs or unusual ports/protocols.

The overarching message is that brute-forcing attacks, while seemingly simple, are often the initial foothold for more sophisticated and damaging attacks, including the deployment of exploit kits, ransomware, and spam campaigns. A single compromised WordPress site can serve as a launchpad to infect thousands of users. Therefore, robust and layered defenses, combining user best practices with advanced network monitoring and behavioral analytics, are essential to mitigate this pervasive threat.

Key Takeaways

  • Brute-forcing is a persistent and successful attack vector: Despite its simplicity and age, brute-forcing continues to be highly effective due to weak user passwords, outdated software, and unpatched vulnerabilities. Malware like Satyr bot and Stantinko actively integrate brute-forcing modules.
  • WordPress sites are critical components of the malware ecosystem: Compromised WordPress sites are frequently leveraged as part of larger botnets, used to spread other malware, host exploit kits, or launch spam campaigns, making their security crucial for the broader internet.
  • Sophisticated malware employs advanced brute-forcing techniques: Satyr bot demonstrates intelligent crawling (using multiple search engines and keywords), dynamic password lists (not just common ones), username enumeration, and multi-stage C2 infrastructure, indicating a higher level of sophistication than often assumed.
  • Detection requires a multi-faceted approach: Simple defenses like login attempt counters are effective against vertical brute-forcing. However, detecting horizontal brute-forcing requires advanced techniques such as behavioral analytics, comprehensive SIEM monitoring of proxy logs, and DNS query analysis to identify widespread, low-intensity attacks.
  • User education and hygiene are paramount: The continued success of brute-forcing is fundamentally tied to human factors, specifically the use of weak passwords and neglect of security best practices. Strong, unique passwords and two-factor authentication remain the most impactful first lines of defense.
  • The scale of successful brute-forcing remains challenging to measure: There is a recognized gap in understanding the true success rate of these attacks and how often compromised sites are subsequently used. This highlights a critical area for future security research.

About the Speaker(s)

Anna Shirokova is a Security Researcher at Cisco, working within the Cognitive Threat Analytics group. Her role involves applying machine learning algorithms to identify malicious behaviors and anomalies in network traffic. This talk represents her first public presentation and her inaugural security research project, undertaken with her co-author Veronica. Their work focuses on analyzing large datasets of network traffic to understand and combat evolving cyber threats, particularly those involving botnets and brute-forcing techniques.

Reviews

→ Top-rated talks at BruCON 0x09

All talks from BruCON 0x09