ZeroHour
The Hacker Newspublished ()ingested @TheHackersNews

ExCobalt Cyber Gang Targets Russian Sectors with New GoRed Backdoor

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2019-13272
Local Privilege Escalation to Root in Linux Kernel ptrace (pkexec PTRACE_TRACEME)

CVE-2019-13272 is an improper privilege management flaw in the Linux kernel's ptrace_link function (kernel/ptrace.c), present in kernels before 5.1.17, in which the credentials of a process requesting a ptrace relationship are mishandled. A local attacker triggers it by stepping into a parent-child process chain where a privileged parent drops privileges and calls execve, typically by abusing Polkit's pkexec helper with PTRACE_TRACEME; contributing factors include an object lifetime issue and incorrect marking of the ptrace relationship as privileged. Successful exploitation grants the attacker full root-level privileges on the host, and the object lifetime bug can in some cases cause a system panic. Any Linux system running an unpatched kernel is affected, spanning the upstream kernel and distributions such as Debian, Fedora, Ubuntu, Red Hat Enterprise Linux and its variants, as well as NetApp AFF A700s firmware. The flaw is in CISA's Known Exploited Vulnerabilities catalog (added 2021-12-10), has multiple public proof-of-concept exploits, and carries a high exploitation probability (EPSS ~52%), so defenders should treat it as an active exploitation risk.

Do: Upgrade the Linux kernel to 5.1.17 or later, or install the backported kernel update from your distribution (Debian, Ubuntu, Fedora, Red Hat) and NetApp's fixed firmware for AFF A700s, per CISA's required action to apply vendor updates. Where patching is delayed, SELinux with deny_ptrace may serve as a usable mitigation in some environments. Prioritize hosts that expose local shells to untrusted users and that have Polkit's pkexec installed, and verify the running kernel version (not just the installed package) on each system.

7.852% KEV PoC ×5
  • Linux (upstream) Linux kernel before 5.1.17
  • Debian Linux kernels predating the vendor's backported fix (upstream fix in 5.1.17)
  • Fedora Project Fedora kernels predating the vendor's backported fix (upstream fix in 5.1.17)
  • +9 more
masstens of millions of installations (Linux hosts on unpatched kernels across servers, cloud instances, desktops and embedded devices)
CVE-2021-3156
Heap-Based Buffer Overflow in Sudo Enables Local Privilege Escalation (CVE-2021-3156)

CVE-2021-3156 is an off-by-one error (CWE-193) in the Unix Sudo utility that causes a heap-based buffer overflow (CWE-122) in Sudo's handling of command-line arguments. It is triggered locally when an unprivileged user invokes Sudo with specially crafted arguments, requiring no special privileges or non-default configuration. A successful exploit allows the attacker to execute arbitrary code as root, achieving full local privilege escalation on the host. Any Linux, Unix, or other system running a vulnerable version of Sudo is affected, and because Sudo ships by default on virtually all such systems the potential footprint is enormous. The flaw is listed in CISA's Known Exploited Vulnerabilities catalog (added 2022-04-06) and carries a 100% EPSS probability of exploitation within 30 days, indicating active in-the-wild exploitation, though specific ransomware use is unknown.

Do: Upgrade Sudo to a patched release (1.9.5p2 or later, or the vendor-supplied update for your distribution) per vendor instructions, as required by the CISA KEV listing. Audit all Unix-like hosts by checking the installed Sudo version through your package manager and prioritize patching multi-user and internet-facing servers. Restricting local shell access and monitoring for anomalous Sudo invocations can reduce risk while patching completes.

7.8100% KEV PoC ×12
  • Sudo Version range not specified in source data; publicly documented affected range is Sudo 1.8.2 through 1.9.5p1, fixed in 1.9.5p2
masstens of millions of Linux/Unix servers, workstations and devices (Sudo is preinstalled on virtually all Linux distributions)
CVE-2021-4034
Out-of-Bounds Read/Write Local Privilege Escalation in polkit pkexec (PwnKit)

CVE-2021-4034 ('PwnKit') is an out-of-bounds read and write (CWE-125/CWE-787) in polkit's setuid-root pkexec utility, which mishandles the calling parameter count and ends up trying to execute environment variables as commands. A local attacker who runs pkexec with crafted environment variables can induce it to execute arbitrary code, gaining administrative (root) rights on the target machine. Because polkit is installed by default on mainstream Linux distributions — including Red Hat Enterprise Linux and its many variants, with the flaw also tracked against Canonical, SUSE, Oracle, Siemens, and StarWind Software products — essentially every standard Linux installation was exposed. The flaw is being actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2022-06-27 with known ransomware use, and EPSS assigns a 94.9% probability of exploitation (100th percentile). Public proof-of-concept exploits are widely available, making exploitation trivial for any user with local access to an unpatched host.

Do: Apply the polkit/pkexec updates from each distribution vendor immediately per vendor instructions, as required by the CISA KEV catalog. If patching must be delayed, removing the setuid bit from pkexec (e.g., chmod 0755 /usr/bin/pkexec) is a widely documented interim mitigation, though it may affect functionality that relies on pkexec. Prioritize hosts where untrusted or low-privilege users can log in, and hunt for prior exploitation given known ransomware use.

7.895% KEV ransomware PoC ×4
  • polkit project polkit (pkexec utility)
  • Red Hat Enterprise Linux Server
  • Red Hat Enterprise Linux Desktop
  • +9 more
masstens of millions of Linux servers and workstations (polkit/pkexec ships by default on virtually all mainstream distributions)
CVE-2022-2586
Use-After-Free in Linux Kernel nftables Enables Local Privilege Escalation

CVE-2022-2586 is a use-after-free (CWE-416) in the Linux kernel's netfilter/nftables subsystem, where an nft object or expression can reference an nft set belonging to a different nft table. When that other table is deleted, the reference becomes stale and the kernel accesses freed memory, which a local low-privileged user can leverage for privilege escalation and full compromise of the host (CVSS 3.1: 7.8, AV:L/PR:L with high confidentiality, integrity and availability impact). Any Linux deployment whose kernel carries the vulnerable nftables code is affected, including distributions such as Ubuntu Linux (Canonical is the assigned CNA). Exploitation is local, so internet-facing exposure matters mainly as a means for an attacker to first gain a local foothold. The bug is under active exploitation — CISA added it to the Known Exploited Vulnerabilities catalog on 2024-06-26 — and a public write-up with proof-of-concept material exists, with EPSS estimating a 10.5% chance of exploitation within 30 days.

Do: Apply kernel updates per vendor instructions — on Ubuntu, install the latest linux/linux-* packages for your release and reboot to load the patched kernel (per the CISA KEV required action, treating this as a priority item given confirmed in-the-wild exploitation). As interim mitigation, limit unprivileged users' ability to create nftables objects (e.g., restrict unprivileged user namespaces) and review local accounts on multi-user hosts; identify affected systems by checking kernel versions against your distribution's security advisories.

7.810% KEV PoC
  • linux kernel
  • canonical ubuntu linux
massmillions of systems (Linux kernels with nftables are ubiquitous across servers, cloud instances and Ubuntu deployments)
Full article363 words · extracted from thehackernews.com · click to collapse

Ravie LakshmananJun 22, 2024Cyber Espionage / Threat Intelligence

Russian organizations have been targeted by a cybercrime gang called ExCobalt using a previously unknown Golang-based backdoor known as GoRed.

"ExCobalt focuses on cyber espionage and includes several members active since at least 2016 and presumably once part of the notorious Cobalt Gang," Positive Technologies researchers Vladislav Lunin and Alexander Badayev said in a technical report published this week.

"Cobalt attacked financial institutions to steal funds. One of Cobalt's hallmarks was the use of the CobInt tool, something ExCobalt began to use in 2022."

Attacks mounted by the threat actor have singled out various sectors in Russia over the past year, including government, information technology, metallurgy, mining, software development, and telecommunications.

Initial access to environments is facilitated by taking advantage of a previously compromised contractor and a supply chain attack, wherein the adversary infected a component used to build the target company's legitimate software, suggesting a high degree of sophistication.

The modus operandi entails the use of various tools like Metasploit, Mimikatz, ProcDump, SMBExec, Spark RAT for executing commands on the infected hosts, and Linux privilege escalation exploits (CVE-2019-13272, CVE-2021-3156, CVE-2021-4034, and CVE-2022-2586).

GoRed, which has undergone numerous iterations since its inception, is a comprehensive backdoor that allows the operators to execute commands, obtain credentials, and harvest details of active processes, network interfaces, and file systems. It utilizes the Remote Procedure Call (RPC) protocol to communicate with its command-and-control (C2) server.

What's more, it supports a number of background commands to watch for files of interest and passwords as well as enable reverse shell. The collected data is then exported to the attacker-controlled infrastructure.

"ExCobalt continues to demonstrate a high level of activity and determination in attacking Russian companies, constantly adding new tools to its arsenal and improving its techniques," the researchers said.

"In addition, ExCobalt demonstrates flexibility and versatility by supplementing its toolset with modified standard utilities, which help the group to easily bypass security controls and adapt to changes in protection methods."

Found this article interesting? Follow us on Google News, Twitter and LinkedIn to read more exclusive content we post.

Text extracted automatically; images, tables and formatting may be missing. Original: https://thehackernews.com/2024/06/excobalt-cyber-gang-targets-russian.html