Rewrite: The Iranian threat actor known as OilRig has been observed exploiting a…
- User
Rewrite: The Iranian threat actor known as OilRig has been observed exploiting a now-patched privilege escalation flaw impacting the Windows Kernel as part of a cyber espionage campaign targeting the U.A.E. and the broader Gulf region.
"The group utilizes sophisticated tactics that include deploying a backdoor that leverages Microsoft Exchange servers for credentials theft, and exploiting vulnerabilities like CVE-2024-30088 for privilege escalation,
- Assistant
The Iranian threat group known as OilRig has been detected exploiting a recently patched privilege escalation vulnerability affecting the Windows Kernel. This activity is part of a cyber espionage campaign aimed at the U.A.E. and the broader Gulf region.
"The group employs advanced strategies, including the deployment of a backdoor that targets Microsoft Exchange servers to steal credentials, and the exploitation of vulnerabilities such as CVE-2024-30088 to escalate privileges.
- User
Rewrite: The cybersecurity company is tracking the threat actor under the moniker Earth Simnavaz, which is also referred to as APT34, Crambus, Cobalt Gypsy, GreenBug, Hazel Sandstorm (formerly EUROPIUM), and Helix Kitten. The attack chains entail the deployment of a previously undocumented implant that comes with capabilities to exfiltrate credentials through on-premises Microsoft Exchange servers, a tried-and-tested tactic adopted by the adversary in the past, while also incorporating recently disclosed vulnerabilities to its exploit arsenal. CVE-2024-30088, patched by Microsoft in June 2024, concerns a case of privilege escalation in the Windows kernel that could be exploited to gain SYSTEM privileges, assuming the attackers can win a race condition.
- Assistant
The cybersecurity firm is monitoring the threat actor known as Earth Simnavaz, which is also identified by names such as APT34, Crambus, Cobalt Gypsy, GreenBug, Hazel Sandstorm (previously EUROPIUM), and Helix Kitten.
The attack strategies involve deploying a newly discovered implant capable of extracting credentials via on-premises Microsoft Exchange servers, a well-established tactic used by the adversary before. Additionally, they are incorporating newly disclosed vulnerabilities into their arsenal. One such vulnerability, CVE-2024-30088, was patched by Microsoft in June 2024 and involves a privilege escalation issue in the Windows kernel. This flaw could be leveraged to obtain SYSTEM privileges if the attackers successfully exploit a race condition.
- User
Rewrite: Initial access is typically achieved through compromised web servers, followed by the deployment of web shells and persistence mechanisms (e.g., ngrok for secure tunnels). A privilege escalation exploit (CVE-2024-30088) is then used to gain SYSTEM-level access.
- Assistant
Initial access is usually gained through compromised web servers, leading to the deployment of web shells and persistence tools, such as ngrok for secure tunnels. The attackers then use a privilege escalation exploit, CVE-2024-30088, to obtain SYSTEM-level access.
- User
Rewrite: The privilege escalation vulnerability subsequently serves as a conduit to deliver the backdoor, codenamed STEALHOOK, responsible for transmitting harvested data via the Exchange server to an email address controlled by the attacker in the form of attachments.
A notable technique employed by OilRig in the latest set of attacks involves the abuse of the elevated privileges to drop the password filter policy DLL (psgfilter.dll) in order to extract sensitive credentials from domain users via domain controllers or local accounts on local machines.
"The malicious actor took great care in working with the plaintext passwords while implementing the password filter export functions," the researchers said. "The threat actor also utilized plaintext passwords to gain access and deploy tools remotely. The plaintext passwords were first encrypted before being exfiltrated when sent over networks."
- Assistant
The privilege escalation vulnerability is then used to deploy a backdoor known as STEALHOOK, which is responsible for sending collected data via the Exchange server to an attacker-controlled email address as attachments.
In the latest string of attacks, OilRig employs a notable tactic involving the misuse of elevated privileges to deploy the password filter policy DLL (psgfilter.dll). This allows them to extract sensitive credentials from domain users via domain controllers or local accounts on individual machines.
"The malicious actor was meticulous in handling plaintext passwords while implementing the password filter export functions," the researchers noted. "The threat actor also used plaintext passwords to access and deploy tools remotely. These plaintext passwords were encrypted before being sent over networks for exfiltration."
- User
- Assistant
To create a MITRE ATT&CK mapping for the activities described in the article, we need to map the observed tactics, techniques, and procedures (TTPs) that OilRig is using. Below is a rough mapping based on the information provided in the summary:
-
Initial Access
- Exploit Public-Facing Application (T1190): Initial access through compromised web servers.
-
- User
Rewrite: Palo Alto Networks disclosed multiple security flaws in Expedition that could allow an attacker to read database contents and arbitrary files, in addition to writing arbitrary files to temporary storage locations on the system. CVE-2024-9463 (CVSS score: 9.9) - An operating system (OS) command injection vulnerability that allows an unauthenticated attacker to run arbitrary OS commands as root CVE-2024-9464 (CVSS score: 9.3) - An OS command injection vulnerability that allows an authenticated attacker to run arbitrary OS commands as root CVE-2024-9465 (CVSS score: 9.2) - An SQL injection vulnerability that allows an unauthenticated attacker to reveal Expedition database contents CVE-2024-9466 (CVSS score: 8.2) - A cleartext storage of sensitive information vulnerability that allows an authenticated attacker to reveal firewall usernames, passwords, and API keys generated using those credentials CVE-2024-9467 (CVSS score: 7.0) - A reflected cross-site scripting (XSS) vulnerability that enables execution of malicious JavaScript in the context of an authenticated Expedition user's browser if that user clicks on a malicious link, allowing phishing attacks that could lead to Expedition browser session theft
- Assistant
Palo Alto Networks has identified several security vulnerabilities in Expedition that could enable an attacker to access database contents and arbitrary files, as well as write files to temporary storage locations on the system.
- CVE-2024-9463 (CVSS score: 9.9): An operating system (OS) command injection flaw allowing an unauthenticated attacker to execute arbitrary OS commands with root privileges.
- CVE-2024-9464 (CVSS score: 9.3): An OS command injection issue enabling an authenticated attacker to run arbitrary OS commands as root.
- CVE-2024-9465 (CVSS score: 9.2): An SQL injection vulnerability permitting an unauthenticated attacker to access Expedition database contents.
- CVE-2024-9466 (CVSS score: 8.2): A vulnerability related to the storage of sensitive information in cleartext, allowing an authenticated attacker to disclose firewall usernames, passwords, and API keys generated from those credentials.
- CVE-2024-9467 (CVSS score: 7.0): A reflected cross-site scripting (XSS) vulnerability that can execute malicious JavaScript within an authenticated Expedition user's browser if they click a malicious link, potentially leading to phishing attacks and the theft of Expedition browser sessions.
- User
Rewrite: Expedition allows an unauthenticated attacker to run arbitrary OS commands as root in Expedition, resulting in disclosure of usernames, cleartext passwords, device configurations, and device API keys of PAN-OS firewalls.
- Assistant
Expedition permits an unauthenticated attacker to execute arbitrary OS commands with root privileges, leading to the exposure of usernames, plaintext passwords, device configurations, and device API keys of PAN-OS firewalls.
- User
Rewrite: These flaws in Palo Alto Network Expedition imposes risks like:
- Assistant
These vulnerabilities in Palo Alto Network's Expedition introduce risks such as:
- User
Rewrite: allows an unauthenticated attacker to reveal Expedition database contents, such as password hashes, usernames, device configurations, and device API keys. With this, attackers can also create and read arbitrary files on the Expedition system.
- Assistant
enables an unauthenticated attacker to access Expedition database contents, including password hashes, usernames, device configurations, and device API keys. Additionally, attackers can create and read arbitrary files on the Expedition system.
- User
Rewrite: enables execution of malicious JavaScript in the context of an authenticated Expedition user's browser if that user clicks on a malicious link, allowing phishing attacks that could lead to Expedition browser session theft.
- Assistant
allows malicious JavaScript to be executed within the browser of an authenticated Expedition user if they click on a malicious link, facilitating phishing attacks that could result in the theft of Expedition browser sessions.
- User
Rewrite: The fixes for all listed issues are available in Expedition 1.2.96, and all later Expedition versions.
The cleartext file affected by CVE-2024-9466 will be removed automatically during the upgrade.
All Expedition usernames, passwords, and API keys should be rotated after upgrading to the fixed version of Expedition.
All firewall usernames, passwords, and API keys processed by Expedition should be rotated after updating.
- Assistant
The solutions for all the mentioned vulnerabilities are included in Expedition 1.2.96 and all subsequent versions.
During the upgrade, the cleartext file impacted by CVE-2024-9466 will be automatically removed.
After upgrading to the fixed version of Expedition, it's essential to rotate all Expedition usernames, passwords, and API keys.
Additionally, any firewall usernames, passwords, and API keys processed by Expedition should also be rotated following the update.
- User
Rewrite: Ensure networks access to Expedition is restricted to authorized users, hosts, or networks.
If Expedition is not in active use, ensure that Expedition software is shut down.
- Assistant
Make sure network access to Expedition is limited to authorized users, hosts, or networks.
If Expedition is not actively being used, ensure that the software is turned off.
- User
Rewrite: Cisco also released patches to remediate a critical command execution flaw in Nexus Dashboard Fabric Controller (NDFC) that it said stems from an improper user authorization and insufficient validation of command arguments.
Tracked as CVE-2024-20432 (CVSS score: 9.9), it could permit an authenticated, low-privileged, remote attacker to perform a command injection attack against an affected device.
- Assistant
Cisco has also released patches to address a critical command execution vulnerability in the Nexus Dashboard Fabric Controller (NDFC). This flaw arises from inadequate user authorization and insufficient validation of command arguments.
Identified as CVE-2024-20432 with a CVSS score of 9.9, this vulnerability could allow an authenticated, low-privileged remote attacker to conduct a command injection attack on an affected device.