Microsoft Details New Post-Compromise Malware Used by Russian Cyberspies


Microsoft this week published technical details on ‘MagicWeb’, a new post-exploitation tool used by Russia-linked cyberespionage group APT29.

Microsoft this week published technical details on ‘MagicWeb’, a new post-exploitation tool used by Russia-linked cyberespionage group APT29.

Tracked by Microsoft as Nobelium, the threat actor is also referred to as Cozy Bear, the Dukes, and Yttrium, and is believed to have orchestrated the 2020 SolarWinds hack and the 2016 attack against the Democratic National Committee (DNC).

Last year, Microsoft published an analysis of FoggyWeb, a persistent, highly targeted data-collection tool that the state-sponsored group was deploying on compromised Active Directory Federation Services (AD FS) servers.

Now, the tech giant is sharing details on MagicWeb, a backdoor that adds covert access capabilities on top of data stealing, and which allows the attackers to sign in to the compromised Active Directory as virtually any user.

“MagicWeb is a malicious DLL that allows manipulation of the claims passed in tokens generated by an Active Directory Federated Services (AD FS) server. It manipulates the user authentication certificates used for authentication, not the signing certificates used in attacks like Golden SAML,” Microsoft says.

As part of the observed attacks, Nobelium used highly privileged credentials for initial access, and then gained administrative privileges to an AD FS system – which is an on-premises server – before deploying MagicWeb.

With admin access to AD FS, the threat actor replaced a legitimate DLL with a malicious one and then modified a configuration file to point AD FS to load the backdoored library at startup and bypass AD FS’s claims-based authentication.

MagicWeb, which injects itself into the claims process, manipulates the user authentication certificates that Security Assertion Markup Language (SAML) uses, thus bypassing AD FS policies and allowing the adversary to sign in “as any user with any claims, including multi-factor authentication (MFA)”.

The attack, Microsoft stresses, relies on the compromise of highly privileged administrator accounts, and protecting these accounts should mitigate the threat.

“Nobelium’s ability to deploy MagicWeb hinged on having access to highly privileged credentials that had administrative access to the AD FS servers, giving them the ability to perform whatever malicious activities they wanted to on the systems they had access to,” Microsoft notes.


By Ionut Arghire on Thu, 25 Aug 2022 10:16:06 +0000
Original link