An attack group with ties to Russia is taking advantage of an old vulnerability in Cisco routers to carry out reconnaissance and install malware, a new report said.

To that end, the UK’s NCSC, and the U.S.’ NSA, CISA, and FBI released a joint advisory to provide tactics, techniques, and procedures (TTPs) associated with APT28’s exploitation of Cisco routers in 2021.

By exploiting the vulnerability CVE-2017-6742, APT28 used infrastructure to masquerade Simple Network Management protocol (SNMP) access into Cisco routers worldwide, including routers in Europe, U.S. government institutions, and approximately 250 Ukrainian victims.

APT28 is almost certainly with the Russian General Staff Main Intelligence Directorate (GRU) 85th special Service Centre (GTsSS) Military Intelligence Unit 26165, federal officials said. APT28 (also known as Fancy Bear, STRONTIUM, Pawn Storm, the Sednit Gang and Sofacy) is a highly skilled threat actor.

The NCSC previously attributed the following activity to APT28:

Schneider Bold
  • Cyber attacks against the German parliament in 2015, including data theft and disrupting email accounts of German Members of Parliament (MPs) and the Vice Chancellor
  • Attempted attack against the Organization for the Prohibition of Chemical Weapons (OPCW) in April 2018, to disrupt independent analysis of chemicals weaponized by the GRU in the UK

In 2021, APT28 used infrastructure to masquerade Simple Network Management protocol (SNMP) access into Cisco routers worldwide. SNMP is designed to allow network administrators to monitor and configure network devices remotely, but it can also be misused to obtain sensitive network information and, if vulnerable, exploit devices to penetrate a network.

A number of software tools can scan the entire network using SNMP, meaning that poor configuration such as using default or easy-to-guess community strings, can make a network susceptible to attacks.

Gained Router Access
Weak SNMP community strings, including the default “public,” allowed APT28 to gain access to router information, according to the report. APT28 sent additional SNMP commands to enumerate router interfaces.

The compromised routers ended up configured to accept SNMP v2 requests. SNMP v2 doesn’t support encryption and so all data, including community strings, goes out unencrypted.

APT28 exploited CVE-2017-6742, which Cisco discovered on June 29, 2017, and patched software was made available.

Cisco’s published advisory provided workarounds, such as limiting access to SNMP from trusted hosts only, or by disabling a number of SNMP Management Information bases (MIBs).

For some of the targeted devices, APT28 actors used an SNMP exploit to deploy malware. This malware obtained further device information, which is exfiltrated over trivial file transfer protocol (TFTP), and enabled unauthenticated access via a backdoor.

The actor obtained this device information by executing a number of Command Line Interface (CLI) commands via the malware. It includes discovery of other devices on the network by querying the Address Resolution Protocol (ARP) table to obtain MAC addresses.

APT28 has been known to access vulnerable routers by using default and weak SNMP community strings, and by exploiting CVE-2017-6742.

Mitigation Advice
TTPs in this advisory may still be used against vulnerable Cisco devices. Organizations are advised to follow the following mitigation advice:

  • Patch devices as advised by Cisco.
  • Do not use SNMP if you are not required to configure or manage devices remotely to prevent unauthorized users from accessing your router. If you are required to manage routers remotely, establish allow and deny lists for SNMP messages to prevent unauthorized users from accessing your router.
  • Do not allow unencrypted (i.e., plaintext) management protocols, such as SNMP v2 and Telnet.
  • Enforce a strong password policy.
  • Disable legacy unencrypted protocols such as Telnet and SNMP v1 or v2c. Where possible, use modern encrypted protocols such as SSH and SNMP v3.
  • Use logging tools to record commands executed on your network devices, such as TACACS+ and Syslog. Use these logs to immediately highlight suspicious events and keep a record of events to support an investigation if the device’s integrity is ever in question.
  • If you suspect your router has been compromised:
    — Follow Cisco’s advice for verifying the Cisco IOS image.
    — Revoke all keys associated with that router. When replacing the router configuration be sure to create new keys rather than pasting from the old configuration.
    — Replace both the ROMMON and Cisco IOS image with an image that has been sourced directly from the Cisco website, in case third party and internal repositories have been compromised.

Click here for more on the joint advisory.

Pin It on Pinterest

Share This