The Russian General Staff Main Intelligence Directorate (GRU), 85th Main Special Service Center (GTsSS), also known as APT28, Fancy Bear, and Forest Blizzard (Strontium), used compromised EdgeRouters globally to harvest credentials, collect NTLMv2 digests, proxy network traffic, and host spear-phishing landing pages and custom tools, according to a Federal Bureau of Investigation (FBI), National Security Agency (NSA), US Cyber Command, and international partners joint Cybersecurity Advisory (CSA).
The Department of Justice (DoJ), including the FBI, and international partners just disrupted a GRU botnet consisting of such routers. However, owners of relevant devices should take actions to ensure the long-term success of the disruption effort and to identify and remediate any similar compromises.
This advisory provides observed tactics, techniques, and procedures (TTPs), indicators of compromise (IOCs), and recommendations to mitigate the threat posed by APT28 threat actors related to compromised EdgeRouters.
Immediate Attention
Given the global popularity of EdgeRouters, the FBI and its international partners urge network defenders and users to immediately apply mitigation recommendations.
Ubiquiti EdgeRouters have a user-friendly, Linux-based operating system that makes them popular for consumers and malicious cyber actors. EdgeRouters often ship with default credentials and limited to no firewall protections to accommodate wireless Internet service providers (WISPs). Additionally, EdgeRouters do not automatically update firmware unless a consumer configures them to do so.
As early as 2022, APT28 actors utilized compromised EdgeRouters to facilitate covert cyber operations against governments, militaries, and organizations around the world, according to the advisory.
These operations targeted various industries, including Aerospace & Defense, Education, Energy & Utilities, Governments, Hospitality, Manufacturing, Oil & Gas, Retail, Technology, and Transportation. Targeted countries include Czech Republic, Italy, Lithuania, Jordan, Montenegro, Poland, Slovakia, Turkey, Ukraine, United Arab Emirates, and the U.S. Additionally, the actors strategically targeted individuals in Ukraine.
EdgeRouters Compromised by Moobot
An FBI investigation revealed APT28 actors accessed EdgeRouters compromised by Moobot, a botnet that installs OpenSSH Trojans on compromised hardware. While the compromise of EdgeRouters has been documented in open-source reporting, a FBI investigation revealed each compromised router accessed by APT28 actors housed a collection of Bash scripts and ELF binaries designed to exploit backdoor OpenSSH daemons and related services for a variety of purposes.
APT28 actors used compromised EdgeRouters to collect credentials, proxy network traffic, and host spoofed landing pages and custom post-exploitation tools, according to the advisory. For example, in early 2023, APT28 actors authored custom Python scripts to collect account credentials for specifically targeted webmail users. APT28 actors uploaded these custom Python scripts to a subset of compromised Ubiquiti routers to validate stolen webmail account credentials collected via cross-site scripting and browser-in-the-browser spear-phishing campaigns.
Additionally, a FBI investigation revealed as early as 2022, APT28 actors had exploited CVE- 2023-23397, a Zero Day vulnerability at the time, to collect NTLMv2 digests from targeted Outlook accounts. Per a Microsoft blog post published in March 2023, CVE-2023-23397 is a critical elevation of privilege vulnerability in Microsoft Outlook on Windows wherein Net-NTLMv2 hashes leak to an actor-controlled infrastructure.
Despite Microsoft releasing a patch for the vulnerability, FBI investigation revealed APT28 actors continued to exploit CVE-2023-23397 to leak NTLM digests to actor controlled infrastructure. APT28 actors installed publicly available tools such as Impacket ntlmrelayx.py and Responder on compromised Ubiquiti routers to execute NTLM relay attacks and host NTLMv2 rogue authentication servers.
Unfettered Access
In summary, with root access to compromised Ubiquiti EdgeRouters, APT28 actors have unfettered access to Linux-based operating systems to install tooling and to obfuscate their identity while conducting malicious campaigns.
Click here for more on the EdgeRouter advisory.

