DarkEngine: Conducting Research into a Highly Orchestrated Phishing Campaign
Liam Wilkinson (Senior Capability Developer · CyberCx)
BSides Canberra VIII (2025) · Day 1 · Off-Main Track
Overview
Liam Wilkinson's presentation, "DarkEngine: Conducting Research into a Highly Orchestrated Phishing Campaign," delves into a sophisticated and multi-layered cyberattack targeting WP Engine users. The campaign leverages SEO poisoning to trick victims into divulging their credentials, which are then used to compromise their managed WordPress websites. The ultimate goal is to inject malicious fake CAPTCHA pages, leading to the delivery of credential stealer malware and further exploitation.

Key moments
- 1:20 What is Dark Engine? Campaign overview
- 5:15 Initial access: Phishing via Google Ads
- 8:20 Threat actor's unauthenticated management portal
- 12:00 Scraping attacker's API for continuous monitoring
- 13:40 Jackpot: Open directory reveals full automation
- 16:50 Malicious WordPress plugin capabilities detailed
- 19:30 Fake CAPTCHA leads to PowerShell execution
- 23:45 Q&A: Unauthenticated attacker portal vulnerability
DarkEngine: Conducting Research into a Highly Orchestrated Phishing Campaign
Speakers: Liam Wilkinson, Senior Capability Developer, CyberCx
Conference: BSides Canberra
YouTube: https://www.youtube.com/watch?v=_VFpddDx8ow
Overview
Liam Wilkinson's presentation, "DarkEngine: Conducting Research into a Highly Orchestrated Phishing Campaign," delves into a sophisticated and multi-layered cyberattack targeting WP Engine users. The campaign leverages SEO poisoning to trick victims into divulging their credentials, which are then used to compromise their managed WordPress websites. The ultimate goal is to inject malicious fake CAPTCHA pages, leading to the delivery of credential stealer malware and further exploitation.
This talk, based on a two-month research effort by CyberCx, illuminates the intricate operational structure of the threat actor, from their custom management portals and automated compromise pipelines to their defense evasion techniques. Wilkinson, a Senior Capability Developer at CyberCx specializing in DFIR tooling and investigations, offers a granular breakdown of the discovery process, the technical mechanisms employed by the attackers, and critical defensive strategies for both organizations and individual users. The research identified thousands of affected websites, predominantly in Australia and New Zealand, underscoring the widespread impact and the escalating sophistication of modern phishing campaigns.
The significance of the DarkEngine campaign lies not only in its scale but also in its adaptability and the comprehensive automation employed by the attackers. By seamlessly cloning legitimate login portals, mimicking authentication flows, and continuously updating their infrastructure, the threat actors demonstrate a high level of operational maturity. This talk serves as a crucial warning to website owners and users, highlighting the evolving nature of social engineering and credential theft and emphasizing the urgent need for enhanced security awareness and proactive defensive measures.
Background
▶ Watch: What is Dark Engine? Campaign overview (1:20)
The discovery of the DarkEngine campaign began in April 2025 when CyberCx was engaged by a client experiencing unusual activity on their WordPress website. Initial investigations into the client's WordPress logging, including access logs and server snapshots, revealed the threat actor's presence but failed to identify the initial access vector. Extensive checks for vulnerable or outdated plugins yielded no definitive answers, leaving the source of compromise unclear.
Approximately a week later, the client experienced a second compromise with similar characteristics, prompting a deeper dive. It was then revealed that the client utilized WP Engine, a popular managed platform for WordPress hosting, allowing for easier management of multiple WordPress sites, complete with auditing and management functionalities. Scrutiny of WP Engine's audit and SFTP logs uncovered suspicious activity originating from one of the client's third-party users, specifically logins from unexpected geographic locations and out-of-place SFTP operations.
This lead proved critical. Forensics performed on the third-party user's MacBook, focusing on web activity and potential credential compromise, ultimately uncovered the initial access vector: phishing. Analysis of the user's Google Chrome history revealed a Google search for "WP-Engine" which, through Google Ad Services, delivered a malicious phishing page. The presence of query parameters like G_ad_source and G_click_ID confirmed the ad-driven nature of the delivery. The user subsequently accessed two phishing pages and entered their credentials, including their two-factor authentication (2FA) details.
The phishing pages themselves were highly sophisticated. They were described as "complete working clones" of the legitimate WP Engine login portal, with all links functional and even successfully mimicking the complex authentication flow. The threat actors demonstrated their adaptability by continuously updating their phishing sites to reflect changes on the genuine WP Engine platform. This level of detail and responsiveness made the phishing pages exceptionally convincing, contributing significantly to their success in compromising user credentials. The research leveraged open-source tools like URLScan for comparative analysis and VirusTotal, reverse DNS, and wordlist scanning to identify a broader network of 24 phishing domains, many employing typo-squatting techniques (e.g., replacing 'P's with 'Q's or 'G's with 'Q's). These domains were often hosted on bulletproof hosting services such as BL Networks and Proton 66, further complicating takedown efforts.
Key Findings
▶ Watch: Threat actor's unauthenticated management portal (8:20)
The DarkEngine campaign, active since at least June 2024, demonstrated a highly orchestrated and automated approach to credential theft and website compromise. CyberCx's research, spanning two months, identified several critical aspects of the operation:
- Scale and Impact: The campaign affected at least 2,353 unique websites, with a significant concentration in Australia and New Zealand, where 82% of identified compromised sites were located. While only 28 compromised WP Engine credentials were explicitly identified, this number is likely a substantial underestimate given the extensive number of affected websites.
- Phishing Infrastructure: Researchers uncovered 24 phishing domains meticulously designed to masquerade as WP Engine login pages. These domains utilized typo-squatting and were hosted on resilient bulletproof hosting providers like BL Networks and Proton 66. The phishing pages themselves employed defense evasion techniques, such as Base64 encoding content and Unicode in page titles, to avoid detection by search engines and security tools.
- Attacker-in-the-Middle (AiTM) Authentication: The threat actors successfully mimicked WP Engine's authentication and authorization flow using an AiTM technique. This allowed them to proxy legitimate authentication requests, capturing credentials and 2FA tokens in real-time while providing a seemingly seamless login experience for victims.
- Discovery of the "Website Manager" Portal: A pivotal discovery was an unauthenticated web portal, referred to as the "website manager," which served as the command and control (C2) interface for the threat actors. Identified through a direct IP address in WordPress referer logs, this portal allowed the attackers to view compromised websites, interact with their malicious plugin, and process stolen WP Engine credentials.
- Evolution of the Portal: Two versions of this portal were observed. Version 1 displayed compromised websites and allowed script injection. Its source code exhibited characteristics indicative of AI generation, including excessive comments and emojis, with many comments in Russian, potentially hinting at attribution (though caution was advised regarding false flags). Version 2 showed increased sophistication, featuring "add WP" and "add WP + cookies" options for stealing session tokens and a drag-and-drop interface for reprocessing sites.
- Unauthenticated REST API: The management portals exposed several REST API endpoints without authentication, providing access to lists of compromised websites (
/api/websites), stolen accounts (/api/accounts), and injection scripts (/api/notes). This vulnerability allowed researchers to continuously monitor the campaign's activity. - Open Directory Exposure: A Nikto scan against the management portal's web server uncovered an open directory at the
/serverendpoint. This exposed a treasure trove of attacker operational data, including: database.db: Details of compromised websites, including links to their encrypted backdoors, along with their respective encryption keys and initialization vectors (IVs).WP_Engine_data DB: A database of compromised WP Engine credentials, including victim email addresses, passwords, and paths to stolen cookie files. This revealed a strategic targeting of SEO and marketing companies, who often manage multiple client websites.- Server-side JavaScript files: Three Express.js files (
server.js,server2.js,SFTP_handler.js) exposed on different ports, detailing the automation logic for site compromise, credential handling, and malicious plugin deployment. - Full Automation of Compromise: The exposed files revealed a highly automated compromise pipeline utilizing the Puppeteer framework (a headless browser automation tool). This automation included:
- Automatic login to legitimate WP Engine accounts using stolen credentials.
- Scraping details of managed websites.
- Creating SFTP users on compromised accounts.
- Uploading the malicious plugin to the
wp-cron.phpfile (a legitimate WordPress scheduling file). - Executing the PHP code by requesting
wp-cron.phpto activate the plugin. - Malicious Plugin Capabilities: The custom-developed malicious plugin, initially named
WP Anti-malwarebot(a deceptive name with a misspelling), possessed several covert capabilities: - An emergency login endpoint allowing direct administrator access with a specific query parameter.
- Dynamic injection of malicious scripts into the header of every page via the
template_redirectWordPress hook, primarily for delivering fake CAPTCHA content. - A custom admin command endpoint for on-the-fly updates to the injected script.
- Self-hiding functionality from WordPress plugin lists, making detection difficult.
- A
check_pluginendpoint used by the management portal to verify its active status. - Objective: Fake CAPTCHA Clickfraud: The primary objective of the campaign was to deliver fake CAPTCHA prompts (also known as clickfix) to users visiting compromised legitimate websites. These prompts, often increasingly complex and obscure, trick users into executing malicious PowerShell commands, leading to the installation of credential stealer malware. The abuse of trust in legitimate websites makes this tactic particularly effective.
Technical Deep Dive
▶ Watch: Jackpot: Open directory reveals full automation (13:40)
The DarkEngine campaign represents a sophisticated blend of social engineering, infrastructure exploitation, and automation. The technical execution can be segmented into several distinct phases, each demonstrating a high level of attacker proficiency.
The initial access vector was SEO poisoning, meticulously crafted to ensnare users searching for "WP Engine." When a victim performed a Google search for the legitimate service, Google Ad Services would deliver a malicious advertisement, leading to a phishing page. The presence of specific query parameters like G_ad_source and G_click_ID on the visited URLs was a tell-tale sign of this ad-driven delivery.
Upon clicking the malicious ad, victims were redirected to a phishing site that was a near-perfect clone of the legitimate WP Engine login portal. This clone was not merely a static page but a "complete working clone," capable of handling user input and even mimicking the complex, multi-stage authentication flow, including two-factor authentication (2FA). The attackers employed an Attacker-in-the-Middle (AiTM) technique, where the phishing site would proxy the victim's authentication attempts to the real WP Engine website. This allowed the attackers to intercept credentials and 2FA tokens in real-time, while simultaneously relaying the legitimate response back to the user, creating a seamless and unsuspecting experience. The attackers' commitment to maintaining this facade was evident in their continuous updates to the phishing sites, ensuring they reflected any changes made to the legitimate WP Engine portal.
The operational backbone of the DarkEngine campaign was a series of "website manager" portals, discovered through careful analysis of WordPress access logs. A direct IP address in the Referer header of a client's logs led researchers to this C2 infrastructure. Using open-source intelligence (OSINT) tools like Shodan, Censys, and Fofa, five such portals were identified on the internet. These portals served as the central hub for the threat actors to manage their compromised assets.
Version 1 of the portal, while functional, showed signs of rapid development, with its source code containing numerous comments, excessive emojis, and a significant portion of text in Russian, suggesting potential use of AI for code generation. This version allowed attackers to view a list of compromised websites, manually inject script content, and submit stolen WP Engine credentials. Version 2 introduced more advanced features, such as "add WP" and "add WP + cookies" buttons, indicating the capability to steal and utilize session tokens for persistent access. It also featured a "work/not work" panel with drag-and-drop functionality, allowing attackers to reprocess and re-check the status of compromised sites.
A critical vulnerability in these management portals was the exposure of several REST API endpoints without any authentication. These endpoints, including /api/websites (listing compromised sites), /api/accounts (listing stolen WP Engine credentials), and /api/notes (listing malicious scripts), provided researchers with a continuous feed of the campaign's activities. To leverage this, the research team deployed an EC2 instance in US-East-1 to blend with legitimate AWS traffic. Python scripts were developed to periodically scrape these unauthenticated API endpoints, dumping the collected data into timestamped files for longitudinal analysis. Initially, attempts were made to use rotating user agents and proxies, but these were later abandoned due to their flakiness and the apparent lack of sophistication in the attacker's server-side detection mechanisms.
Further investigation yielded a significant breakthrough when a Nikto scan against the management portal's web server revealed an open directory at the /server endpoint. This unauthenticated directory exposed crucial operational files:
database.db: This file contained comprehensive details about all compromised WordPress websites, including direct links to their encrypted backdoors, along with the corresponding encryption keys and initialization vectors (IVs) required to decrypt them.WP_Engine_data DB: A database explicitly storing compromised WP Engine credentials. This file contained victim email addresses, their cleartext passwords, and paths to their stolen cookie files. The analysis of these credentials indicated a deliberate targeting of SEO and marketing companies, which typically manage multiple WordPress sites for their clients, offering a high-value target for widespread compromise.- Server-side JavaScript files: Three Express.js applications (
server.js,server2.js,SFTP_handler.js), exposed on different ports (3000, 3001), detailed the intricate automation logic. server.jsprimarily managed compromised sites and the injection of the malicious plugin.server2.jshandled the processing and management of stolen user credentials and their associated websites.SFTP_handler.jscontained the actual malicious plugin code and utility functions designed for uploading the plugin via SFTP.
The revelation of these files showcased the profound complexity and automation of the DarkEngine operation. The attackers extensively utilized the Puppeteer framework, a headless browser automation tool, to orchestrate the entire compromise chain. This automation included:
- Automatically logging into the legitimate WP Engine website using the stolen credentials.
- Scraping details about all websites managed by the compromised account.
- Creating a new SFTP user on the victim's WP Engine account.
- Uploading the malicious plugin code to a legitimate WordPress file, specifically
wp-cron.php. - Finally, triggering the execution of the PHP code by requesting the
wp-cron.phpfile, which activated the plugin.
The malicious plugin, initially disguised as WP Anti-malwarebot, was the cornerstone of the on-site compromise. Its capabilities were extensive:
- It registered an emergency login endpoint that, when accessed with a specific query parameter, would automatically log the threat actor in as the first available administrator user, bypassing standard authentication.
- It dynamically injected malicious JavaScript into the header of every rendered WordPress page by hooking into the built-in
template_redirectfunction. This mechanism was used to deliver the fake CAPTCHA prompts. - A custom admin command endpoint allowed the attackers to remotely update the injected script, providing flexibility to change their payload or tactics without re-compromising the site.
- Crucially, the plugin hid itself from all WordPress plugin lists, making it incredibly difficult for legitimate administrators to detect its presence.
- It also registered a
check_pluginendpoint, which the management portal used to verify if the plugin was still active on a compromised site.
Demo / Proof of Concept
▶ Watch: Malicious WordPress plugin capabilities detailed (16:50)
While the talk did not feature a live hacking demonstration by the speaker, Liam Wilkinson effectively conveyed the attackers' operational methods and the impact of the campaign through a series of compelling screenshots and detailed explanations, acting as a "proof of concept" of the attacker's own tools and techniques.
Key visual demonstrations included:
- Phishing Page Comparison: The presentation showcased side-by-side screenshots of the legitimate WP Engine login page and the attacker's highly realistic phishing clone. This visually underscored the difficulty users would face in distinguishing between the two, highlighting the seamless mimicry of the authentication flow and the overall design.
- Attacker Management Portals: Wilkinson provided screenshots of both Version 1 and Version 2 of the threat actor's "website manager" portals. These images illustrated the interface used by the attackers to view lists of compromised websites, inject scripts, and manage stolen credentials. The visual evolution from Version 1 (with its Russian comments and emojis) to the cleaner, more sophisticated Version 2 (with cookie-grabbing and site reprocessing features) clearly demonstrated the threat actor's continuous development and increasing capabilities.
- Open Directory Listing: A critical screenshot displayed the contents of the
/serveropen directory, exposing files likedatabase.db,WP_Engine_data DB, and the server-side JavaScript files. This visual evidence dramatically illustrated the wealth of operational data inadvertently exposed by the attackers, which proved instrumental in unraveling their entire campaign. - Fake CAPTCHA Delivery: The talk included a clear demonstration of the fake CAPTCHA prompt delivered to end-users on compromised websites. This showed the user interface designed to trick victims into clicking a "confirm you're a robot" button, which then led to a prompt instructing them to open
Windows R(the Run dialog) and paste a "validation code." The subsequent screenshot revealed that this "validation code" was, in fact, a malicious PowerShell command, designed to execute a credential stealer malware on the user's device. This step-by-step visual walkthrough effectively illustrated the final stage of the attack chain and its direct impact on victims.
These visual aids, combined with the detailed technical narrative, served as a powerful "proof of concept" of the DarkEngine campaign's sophistication and the attacker's internal operations.
Defensive Implications
▶ Watch: Q&A: Unauthenticated attacker portal vulnerability (23:45)
The DarkEngine campaign provides critical lessons for both individual users and organizational defenders, emphasizing the need for a multi-layered security approach against evolving threats.
For End-Users:
- Enhanced Awareness: Users must be educated on how to identify fake CAPTCHA pages and other social engineering attacks. The increasing complexity of these prompts (e.g., "rearrange shapes," "click 3D moving things") makes it harder to distinguish legitimate CAPTCHAs from malicious ones. Users should be highly suspicious of any CAPTCHA that requests actions beyond a simple click or image selection, especially those that prompt for PowerShell execution or other system-level commands.
- Credential Hygiene: Given that information stealers are a prevalent initial access vector, the importance of unique passwords for every service and the ubiquitous use of two-factor authentication (2FA) wherever possible cannot be overstated. Even if credentials are stolen, 2FA can act as a crucial barrier.
- Scrutinize URLs: Always double-check the URL of any login page, especially after clicking links from search results or advertisements. Be wary of typo-squatted domains or subtle misspellings.
For Website Owners and Organizations (especially those using managed WordPress hosting like WP Engine):
- Vigilant Audit Log Monitoring: Organizations must actively monitor audit logs from their hosting providers (e.g., WP Engine) and their WordPress installations. Look for unusual login locations, unexpected SFTP activity, or any unauthorized changes to plugins or core files. The initial discovery in DarkEngine stemmed from such unusual activity.
- Regular Scanning and Vulnerability Management: Proactively use web server scanning tools (like Nikto) and WordPress security plugins (like WordFence) to identify misconfigurations, open directories, and injected malware. Many website owners neglect these basic checks, leaving significant blind spots.
- Application Control: Implement application control to limit the execution of unauthorized programs, particularly scripting engines like PowerShell. Restricting the
Rundialog (viaRunMruregistry key) or blocking execution from common download directories can mitigate the impact of malicious scripts. - Comprehensive Logging: Enable and diligently review PowerShell logging and process execution logging across all endpoints. These logs can provide invaluable forensic evidence and detection opportunities for post-exploitation activities, such as credential stealer malware execution.
- Endpoint Detection and Response (EDR)/Extended Detection and Response (XDR): Invest in robust EDR/XDR solutions. These tools are increasingly capable of detecting anomalous process behavior, suspicious script execution, and other indicators of compromise that traditional antivirus might miss.
- Secure Software Development Lifecycle (SSDLC) for Internal Tools: If developing internal tools or portals, ensure they adhere to strict security best practices, including robust authentication, authorization, and input validation. The DarkEngine attackers' management portal was left unauthenticated, providing a critical window into their operations.
- Supply Chain Security Awareness: Recognize that third-party vendors (like SEO or marketing companies with access to your website management platforms) can be high-value targets. Ensure these vendors adhere to strong security practices and enforce strict access controls.
Ultimately, the talk underscores that while technical mitigations and detections are crucial, the most formidable defense against constantly evolving threats like DarkEngine remains a strong overall security posture combined with a highly security-aware user base. Attackers will continue to pivot, and defenders must prioritize continuous education and proactive security measures.
Key Takeaways
- SEO Poisoning is a Potent Initial Access Vector: The DarkEngine campaign effectively leveraged Google Ad Services to deliver highly convincing phishing pages, demonstrating that even trusted search results can be weaponized to steal credentials.
- Sophisticated Attacker Infrastructure: The threat actors operated with a high degree of operational maturity, utilizing custom-built, evolving management portals (Version 1 & 2), unauthenticated REST APIs, and bulletproof hosting.
- Automation Drives Widespread Compromise: The campaign achieved significant scale through complete automation of the compromise chain, from legitimate WP Engine login and SFTP user creation to malicious plugin upload and activation via the Puppeteer framework.
- Fake CAPTCHA is a Persistent and Evolving Threat: The ultimate objective was to deliver malicious fake CAPTCHA prompts that trick users into executing PowerShell commands, leading to credential stealer malware. These tactics are constantly evolving and becoming harder to detect.
- Proactive Research and OSINT are Crucial: The discovery of the campaign's full scope, including its management portals and internal operational files, was enabled by active research, OSINT tools (Shodan, Censys, Fofa, URLScan), and even targeted scanning (Nikto).
- User Awareness and Vigilant Website Security are Paramount: Both end-users (identifying social engineering, using 2FA) and website owners (monitoring audit logs, running security scans, implementing application control) play critical roles in defending against such multi-faceted attacks.
About the Speaker(s)
Liam Wilkinson is a Senior Capability Developer specializing in DFIR (Digital Forensics and Incident Response) at CyberCx. In his role, he is responsible for architecting, building, and maintaining CyberCx's internal incident response tooling, as well as actively assisting in investigations. With a keen interest in software engineering and DevSecOps, Liam holds several industry certifications including GCFA, GCSA, and GPCS. Outside of his professional life, Liam is a talented bassist and vocalist, openly seeking an emo band in Melbourne, and also enjoys playing arcade rhythm games. He presents under the online handle "Nullify Security." This talk marked Liam's first security conference presentation.