Multiple government-backed hacking groups are exploiting a recently-patched vulnerability in Microsoft Exchange email servers.
The exploitation attempts were first spotted by UK cyber-security firm Volexity on Friday and confirmed today to ZDNet by a source in the DOD.
Volexity did not share the names of the hacking groups exploiting this Exchange vulnerability. Volexity did not return a request for comment for additional details.
The DOD source described the hacking groups as “all the big players,” also declining to name groups or countries.
The Microsoft Exchange vulnerability
These state-sponsored hacking groups are exploiting a vulnerability in Microsoft Exchange email servers that Microsoft patched last month, in the February 2020 Patch Tuesday.
The vulnerability is tracked under the identifier of CVE-2020-0688. Below is a summary of the vulnerability’s technical details:
- During installation, Microsoft Exchange servers fail to create a unique cryptographic key for the Exchange control panel.
- This means that all Microsoft Exchange email servers released during the past 10+ years use identical cryptographic keys (validationKey and decryptionKey) for their control panel’s backend.
- Attackers can send malformed requests to the Exchange control panel containing malicious serialized data.
- Since hackers know the control panel’s encryption keys, they can ensure the serialized data is unserialized, which results in malicious code running on the Exchange server’s backend.
- The malicious code runs with SYSTEM privileges, giving attackers full control of the server.
Microsoft released patches for this bug on February 11, when it also warned sysadmins to install the fixes as soon as possible, anticipating future attacks.
Nothing happened for almost two weeks. Things escalated towards the end of the month, though, when the Zero-Day Initiative, who reported the bug to Microsoft, published a technical report detailing the bug and how it worked.
The report served as a roadmap for security researchers, who used the information contained within to craft proof-of-concept exploits so they could test their own servers and create detection rules and prepare mitigations.
Just like in many other cases before, once technical details and proof-of-concept code became public, hackers also began paying attention.
On February 26, a day after the Zero-Day Initiative report went live, hacker groups began scanning the internet for Exchange servers, compiling lists of vulnerable servers they could target at a later date. First scans of this type were detected by threat intel firm Bad Packets.
Now, according to Volexity, the scans for Exchange servers have turned into actual attacks.
The first ones to weaponize this bug were APTs — “advanced persistent threats,” a term often used to describe state-sponsored hacker groups.
However, other groups are also expected to follow suit. Security researchers to whom ZDNet spoke earlier today said they anticipate that the bug will become very popular with ransomware gangs who regularly target enterprise networks.
Weaponizing older, useless phished credentials
This Exchange vulnerability is not, however, straightforward to exploit. Security experts don’t see this bug being abused by script kiddies (a term used to describe low-level, unskilled hackers).
To exploit the CVE-2020-0688 Exchange bug, hackers need the credentials for an email account on the Exchange server — something that script kiddies don’t usually have.
The CVE-2020-0688 security flaw is a so-called post-authentication bug. Hackers first need to log in and then run the malicious payload that hijacks the victim’s email server.
But while this limitation will keep script kiddies away, it will not APTs and ransomware gangs, experts said.
APTs and ransomware gangs often spend most of their time launching phishing campaigns, following which they obtain email credentials for a company’s employees.
If an organization enforces two-factor authentication (2FA) for email accounts, those credentials are essentially useless, as hackers can’t bypass 2FA.
The CVE-2020-0688 bug lets APTs finally find a purpose for those older 2FA-protected accounts that they’ve phished months or years before.
They can use any of those older credentials as part of the CVE-2020-0688 exploit without needing to bypass 2FA, but still take over the victim’s Exchange server.
Organizations that have “APTs” or “ransomware” on their threat matrix are advised to update their Exchange email servers with the February 2020 security updates as soon as possible.
All Microsoft Exchange servers are considered vulnerable, even versions that have gone end-of-life (EoL). For EoL versions, organizations should look into updating to a newer Exchange version. If updating the Exchange server is not an option, companies are advised to force a password reset for all Exchange accounts.
Taking over email servers is the Holy Grail of APT attacks, as this allows nation-state groups to intercept and read a company’s email communications.
This blog post from TrustedSec contains instructions on how to detect if an Exchange server has been already hacked via this bug.
View original article here Source