ZeroHour
Infosecurity Magazinepublished ()ingested James Coker

Chinese Groups Deploy New TTPs to Exploit Ivanti Vulnerabilities

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2024-21887
+1 in the same advisory: …46805
Command Injection RCE in Ivanti Connect Secure and Policy Secure

Ivanti Connect Secure (formerly Pulse Connect Secure) and Ivanti Policy Secure appliances contain a command injection flaw (CWE-77) in their web components, triggered when an authenticated administrator sends crafted requests to the appliance. The bug can be chained with the separate authentication bypass CVE-2023-46805, allowing an unauthenticated attacker to achieve the same result. Successful exploitation lets an attacker execute arbitrary commands and code on the appliance, providing a foothold into the networks behind the VPN or network access control gateway. Any organization running these appliances, typically enterprises and government agencies often deployed directly on the internet perimeter, is affected. Exploitation is confirmed in the wild: the flaw was added to CISA's Known Exploited Vulnerabilities catalog on 2024-01-10 with known ransomware use and EPSS assigns a 100% probability of exploitation within 30 days, although no public proof-of-concept is available.

Do: Apply Ivanti's mitigations or patched builds immediately per vendor instructions, addressing the chained authentication bypass CVE-2023-46805 at the same time, and discontinue or restrict use of any appliance for which mitigations are unavailable, especially if it is internet-facing. Because exploitation with ransomware use is known, assume compromise is possible: review appliance web logs for suspicious requests and run Ivanti's integrity-checking guidance to verify appliance images before and after remediation. Where feasible, restrict direct internet exposure of the appliance web interface and monitor for further vendor advisories.

9.1
group max
100% KEV ransomware PoC
  • Ivanti Connect Secure (ICS, formerly Pulse Connect Secure)
  • Ivanti Policy Secure
largetens of thousands of appliances (roughly 20,000-30,000 internet-exposed ICS gateways at disclosure; total deployed base likely higher)
CVE-2024-21893
SSRF in Ivanti Connect Secure, Policy Secure, and Neurons SAML Component

CVE-2024-21893 is a server-side request forgery (SSRF) vulnerability in the SAML component of Ivanti Connect Secure (formerly Pulse Connect Secure), Ivanti Policy Secure, and Ivanti Neurons. A remote attacker can trigger the flaw with crafted unauthenticated requests to the SAML component, causing the appliance to make requests to otherwise restricted resources. Successful exploitation allows the attacker to access certain restricted resources without any credentials, and CISA notes the flaw has been used in ransomware operations. Any organization running an affected Ivanti Connect Secure, Policy Secure, or Neurons deployment is exposed, particularly where the appliance is reachable from the internet. The vulnerability is confirmed exploited in the wild: it was added to CISA's Known Exploited Vulnerabilities catalog on 2024-01-31, carries an EPSS probability of 100%, and no public proof-of-concept is known.

Do: Apply Ivanti's released patches or the vendor-issued mitigations immediately per vendor instructions, or discontinue use of the product if mitigations are unavailable, as required by CISA. Because ransomware use is documented, review SAML-related logs and appliance audit trails for signs of exploitation and follow-on compromise, and check for indicators of post-exploitation activity. Monitor Ivanti advisories for patched version numbers and updated mitigation guidance, since specific fixed versions are not yet specified in the available data.

8.2100% KEV ransomware
  • Ivanti Connect Secure (formerly Pulse Connect Secure)
  • Ivanti Policy Secure
  • Ivanti Neurons
largetens of thousands of internet-exposed appliances (with total user counts likely in the hundreds of thousands)
Full article821 words · extracted from infosecurity-magazine.com · click to collapse

Chinese threat actors have developed new techniques to move laterally post-exploitation of Ivanti vulnerabilities, new research from Mandiant has revealed.

Five suspected China-nexus espionage groups’ activity has been detailed by Mandiant in a blog post, dated April 4.

The activity follows the exploitation of the CVE-2023-46805, CVE-2024-21887 and CVE-2024-21893 vulnerabilities, which were previously identified in the Ivanti Connect Secure and Ivanti Policy Secure gateways.

One of these groups, tracked as UNC5291, has been assessed by Mandiant with medium confidence to be Volt Typhoon which is targeting US energy and defense sectors.

Additionally, Mandiant said it has identified financially motivated actors exploiting CVE-2023-46805 and CVE-2024-21887, likely to enable operations such as crypto-mining.

In total, the analysis has observed eight distinct clusters involved in the exploitation of one or more of these Ivanti CVEs.

The report follows an urgent warning by Five Eyes countries on February 29 that cyber threat actors are exploiting these vulnerabilities, which were made public in early 2024.

As of April 3, a patch is readily available for every supported version of Ivanti Connect Secure affected by the vulnerabilities.

Organizations are also recommended to use Ivanti’s new enhanced external integrity checker tool (ICT), also released on April 3, to detect potential attempts of malware persistence across factory resets and system upgrades and other tactics, techniques and procedures (TTPs) observed in the wild.

New TTPs for Lateral Movement Post-Exploitation

Mandiant has observed the Chinese-nexus groups’ leveraging new malware following the exploitation of Ivanti Connect Secure appliances. These tools are designed enable lateral movement while avoiding detection.

SPAWN Malware Family

During a Mandiant analysis of a compromise by threat actor UNC5221, four distinct components of the custom malware toolset SPAWN were employed together create a stealthy and persistent backdoor on an infected appliance.

This malware family is also designed to enable long-term access and avoid detection. It is made up of:

  • SPAWNANT. An installer that leverages a coreboot installer function to establish persistence for the SPAWNMOLE tunneler and SPAWNSNAIL backdoor
  • SPAWNMOLE. A tunneler that injects into the web process. It hijacks the accept function in the web process to monitor traffic and filter out malicious traffic originating from the attacker
  • SPAWNSNAIL. A backdoor that listens on localhost
  • SPAWNSLOTH. A log tampering utility injected into the dslogserver process. It can disable logging and disable log forwarding to an external syslog server when the SPAWNSNAIL backdoor is operating
SPAWN malware family diagram. Source: Mandiant
SPAWN malware family diagram. Source: Mandiant

ROOTROT Web Shell

In the same investigation of an Ivanti Connect Secure appliance compromised by UNC5221, Mandiant also identified the use of a new web shell tracked as ROOTROT.

This web shell is written in Perl and is embedded into a legitimate Connect Secure .ttc file. It allows the attackers to parse the issued decoded Base64-encoded command and executes it with eval.

ROOTROT was believed to be created on the system prior to the public disclosure of the associated CVEs on January 10, 2024, suggesting a targeted attack.

Deployment of ROOTROT on a Connect Secure appliance led to UNC5221 initiating network reconnaissance and lateral movement to a VMware vCenter server.

BRICKSTORM Backdoor

UNC5221 accessed the vCenter appliance using SSH and downloaded the BRICKSTORM backdoor to the appliance.

BRICKSTORM is a Go backdoor targeting VMware vCenter servers, which has the ability to set itself up as a web server, perform file system and directory manipulation, perform file operations such as upload/download, run shell commands and perform SOCKS relaying BRICKSTORM communications over WebSockets to a hard-coded C2.

SLIVER C2

In a separate intrusion, the threat actor UNC5266 deployed copies of the SLIVER command-and-control (C2) framework. The copies of SLIVER were placed in three separate locations on the compromised appliance, attempting to masquerade as legitimate system files.

UNC5266 modified a systemd service file to register one of the copies of SLIVER as a persistent daemon.

TERRIBLE TEA

In another exploitation, UNC5266 deployed a Go backdoor named TERRIBLETEA. This Go backdoor communicates over HTTP using XXTEA for encrypted communications, and has multiple capabilities including command execution, keystroke logging and file system interaction.

TERRIBLETEA can also take different execution paths depending on what environment it is configured for.

Active Directory Compromise Following Lateral Movement

Another technique observed by the researchers was by the group UNC5330, which chained together CVE-2024-21893 and CVE-2024-21887 for initial access.

UNC5330 leveraged an LDAP bind account configured on the compromised Ivanti Connect Secure appliance to abuse a vulnerable Windows Certificate Template, created a computer object and requested a certificate for a domain administrator.

The threat actor then impersonated the domain administrator to perform subsequent DCSyncs to extract additional credential material to move laterally.

Mandiant said that its findings underscore the ongoing threat faced by edge appliances, with a wide range of TTPs being employed following successful exploitation.

“While the use of open--source tooling is somewhat common, Mandiant continues to observe actors leveraging custom malware that is tailored to the appliance or environment the actor is targeting,” the researchers wrote.

Text extracted automatically; images, tables and formatting may be missing. Original: https://www.infosecurity-magazine.com/news/chinese-threat-ttps-ivanti/