how-the-solarwinds-hackers-are-focusing-on-cloud-companies-in-unprecedented-cyberattack
GeekWire Illustration / Canva Image

[Editor’s Note: Independent security consultant Christopher Budd worked previously in Microsoft’s Security Response Center for 10 years.]

Analysis: To perceive the place the SolarWinds attackers are going subsequent, and find out how to defend in opposition to them, look to the clouds.

The SolarWinds provide chain assaults are unprecedented in some ways. The assaults are refined in execution, broad in scope, and extremely potent of their effectiveness. But maybe most notable is the unprecedented method during which the SolarWinds attackers appear to be in search of entry to cloud-based companies as one among their key goals.

This is changing into clearer as new studies make clear info obfuscated by technical jargon in early incident studies final week.

On Monday, the New York Times reported that “[t]he Russian hackers who penetrated United States government agencies broke into the email system used by the Treasury Department’s most senior leadership.” This follows a report from Reuters on Dec. 13, saying “[h]ackers broke into the [National Telecommunications and Information Administration] NTIA’s office software, Microsoft’s Office 365. Staff emails at the agency were monitored by the hackers for months, sources said.”

These studies, mixed with technical particulars launched by Microsoft and the National Security Agency (NSA) previously week, present how the SolarWinds attackers have made focusing on cloud-based companies a key goal of their assaults. Specifically, if we decode the assorted studies and join the dots we will see that the SolarWinds attackers have focused authentication techniques on the compromised networks to allow them to log in to cloud-based companies like Microsoft Office 365 with out elevating alarms. Worse, the way in which they’re carrying this out can doubtlessly be used to achieve entry to many, if not all, of a corporation’s cloud-based companies.

This tells us that attackers have tailored their assault methodology to match the hybrid on-premises/cloud environments many organizations now have. This signifies that responders to the SolarWinds assaults must look not simply at their techniques and networks but in addition at their cloud-based companies for proof of compromise. This additionally signifies that defenders want to extend the safety and monitoring of their cloud companies authentication techniques and infrastructure any further.

We’ll discover the technical particulars beneath, however listed here are the important thing takeaways:

  1. One of the important thing actions SolarWinds attackers take after establishing a foothold on networks is to focus on the techniques that problem the proof of id utilized by cloud-based companies, and steal the means to problem IDs.
  2. Once they’ve this, they’ll use it to create pretend IDs that allow attackers to impersonate professional customers or create malicious accounts that appear professional, together with accounts with administrative (i.e. whole) entry.
  3. Because these IDs are used to present entry to information and companies by cloud-based companies, the attackers are in a position to entry information and e mail identical to professional customers, together with these with whole entry, they usually achieve this.

It could be very doubtless that that is how the SolarWinds attackers gained entry to Treasury and NTIA’s e mail techniques: they leveraged the community compromise to get entry to cloud-based companies. In truth, one of many Microsoft postings in regards to the SolarWinds assault talks about “Protecting Microsoft 365 from on-premises attacks” which actually means, “How to keep your network compromise from turning into a cloud-services compromise, as well.”

What is SAML and why does it matter?

To perceive this side of the SolarWinds assaults, it’s vital to know that SAML stands for “Security Assertion Markup Language.” It’s a technique for authentication (i.e. logging on) utilized in cloud-based companies. A “SAML token” is the precise “proof” to the service that you’re who you say you might be.

Experts in cloud or authentication applied sciences gained’t discover the Treasury or NTIA developments shocking: Microsoft made this side clear in each its postings on Dec. 13: “Customer Guidance on Recent Nation-State Cyber Attacks” and “Important steps for customers to protect themselves from recent nation-state cyberattacks.” Both postings have comparable language:

  • The intruder “uses the administrative permissions acquired through the on-premises compromise to gain access to the organization’s global administrator account and/or trusted SAML token signing certificate. This enables the actor to forge SAML tokens that impersonate any of the organization’s existing users and accounts, including highly privileged accounts.”
  • “Anomalous logins using the SAML tokens created by the compromised token signing certificate can then be made against any on-premises resources (regardless of identity system or vendor) as well as to any cloud environment (regardless of vendor) because they have been configured to trust the certificate. Because the SAML tokens are signed with their own trusted certificate, the anomalies might be missed by the organization.”

Then Microsoft launched a collection of weblog posts discussing the SolarWinds assaults, SAML and id applied sciences (Dec. 15; Dec. 18; Dec. 21; and Dec. 21).

Meanwhile on Dec. 18, the NSA launched a directive on “Detecting Abuse of Authentication Mechanisms.” While not in particular response to the SolarWinds assaults, it discusses SAML assaults and places the SolarWinds assaults within the context of those assaults, which have been round since 2017.

Information is scattered throughout all of those postings however collectively they clarify that:

  • One of the important thing actions SolarWinds attackers are taking after they set up a foothold on networks is to “[steal] the certificate that signs SAML tokens from the federation server (ADFS) called a Token Signing Cert (TSC).” [Source]
  • Once they’ve this, it lets them “forge SAML tokens to impersonate any of the organization’s existing users and accounts, including highly privileged accounts.” [Source]
  • Because “[d]ata access has relied on leveraging minted SAML tokens to access user files/email or impersonating the Applications or Service Principals by authenticating and obtaining Access Tokens using credentials that were added…[t]he actor periodically connects from a server at a VPS provider to access specific users’ emails using the permissions granted to the impersonated Application or Service Principal.” [Source]

What does this imply?

For safety professionals, nothing right here is new or shocking: whole entry to a community means you are able to do something you need with it. Also, the NSA doc notes these assaults have been seen since 2017. But that is the primary main assault with this sort of broad visibility that targets cloud-based authentication mechanisms. That, mixed with the technical jargon in these studies, signifies that many individuals haven’t but related these dots.

It doesn’t assist that a few of the dialogue of this side has been unclear. Some studies have indicated that there’s a vulnerability affecting Microsoft’s services or products concerned within the Treasury or NTIA e mail intrusions. I requested Microsoft if there have been any vulnerabilities concerned they usually responded: “We have not identified any Microsoft product or cloud service vulnerabilities in these investigations. Once in a network, the intruder then uses the foothold to gain privilege and use that privilege to gain access.”

The NSA additionally speaks to this, saying, “[b]y abusing the federated authentication, the actors are not exploiting a vulnerability in [the Microsoft authentication technologies] ADFS, AD, or AAD, but rather abusing the trust established across the integrated components.” That is per what I’ve outlined: attackers who personal your community don’t want a vulnerability to achieve entry to your cloud-based companies; they have already got all they should pull that off.

And whereas the dialogue has centered on Microsoft’s cloud-based companies, thus far there is no such thing as a info that signifies these assaults can solely occur in opposition to their services or products. SAML is an open-standard that’s extensively provided by distributors apart from Microsoft and utilized by non-Microsoft cloud-based companies. The SolarWinds assaults and these sorts of SAML-based assaults in opposition to cloud companies sooner or later can contain non-Microsoft SAML-providers and cloud service suppliers.

Next Steps

Taking all of this under consideration, what subsequent steps ought to individuals take?

First, in case your group has had the compromised SolarWinds recordsdata in your community, your incident response course of wants to incorporate checking your authentication techniques in your cloud-based companies for attainable compromise. And for those who can’t rule out that it’s been compromised, you’ll must confirm the integrity of these companies.

Next, everybody utilizing cloud-based companies must take the NSA directives very severely and prioritize growing the safety and monitoring of their cloud-based service authentication mechanism.

Finally, be prepared to listen to about extra organizations’ cloud-based companies being compromised as a part of the SolarWinds assaults. This is the largest, broadest assault we’ve seen. As a consequence, it’s a state of affairs that’s going to take months, if not years, to completely untangle.