Detecting Abuse of Authentication Mechanisms – Abridged

Summary

Malicious cyber actors are abusing trust in federated authentication environments to access protected data. An “on premises” federated identity provider or single sign-on (SSO) system lets an organization use the authentication systems they already own (e.g. tokens, authentication apps, one-time passwords, etc.) to grant access to resources, including resources in “off premises” cloud services. These systems often use cryptographically signed automated messages called “assertions” shared via Security Assertion Markup Language (SAML) to show that users have been authenticated. When an actor can subvert authentication mechanisms, they can gain illicit access to a wide range of an organizations assets.

In some cases, actors have stolen keys from the SSO system that allow them to sign assertions and impersonate any legitimate user who could be authenticated by the system. On 7 December, NSA reported on an example where a zeroday vulnerability was being used to compromise VMware Access®1 and VMware Identity Manager®2 servers, allowing actors to forge authentication assertions and thus gain access to the victim’s protected data. In other cases, actors have gained enough privileges to create their own keys and identities such as “service principals” (cloud applications that act on behalf of a user) or even their own fake SSO system. According to public reporting, in some cases, the SolarWinds Orion®3 code compromise provided actors initial access to an on-premises network which led to access within the cloud.

Note that these techniques alone do not constitute vulnerabilities in the design principles of federated identity management, the SAML protocol, or on-premises and cloud identity services. The security of identity federation in any cloud environment directly depends on trust in the on-premises components that perform authentication, assign privileges, and sign SAML tokens. If any of these components is compromised, then the trust in the federated identity system can be
abused for unauthorized access.

To defend against these techniques, organizations should pay careful attention to locking down SSO configuration and service principal usage, as well as hardening the systems that run on-premises identity and federation services. Monitoring the use of SSO tokens and the use of service principals in the cloud can help detect the compromise of identity services. While these techniques apply to all cloud environments that support on-premises federated authentication, the following specific mitigations are focused on Microsoft Azure®4 federation. Many of the techniques can be generalized to other environments as well.

Disclaimer of Endorsement

The information and opinions contained in this document are provided “as is” and without any warranties or guarantees. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not constitute or imply its endorsement, recommendation, or favoring by the United States Government, and this guidance shall not be used for advertising or product endorsement purposes.

Purpose

This document was developed in furtherance of NSA’s cybersecurity missions, including its responsibilities to identify and disseminate threats to National Security Systems, Department of Defense, and Defense Industrial Base information systems, and to develop and issue cybersecurity specifications and mitigations. This information may be shared broadly to reach all appropriate stakeholders.

Contact

Client Requirements / General Cybersecurity Inquiries: Cybersecurity Requirements Center, 410-854-4200, Cybersecurity_Requests@nsa.gov

Media inquiries / Press Desk: Media Relations, 443-634-0721, MediaRelations@nsa.gov

Detecting Abuse of Authentication Mechanisms – Abridged

AUTHENTICATION_MECHANISMS_CSA_EXEC_U_OO_198854_20

Detecting Abuse of Authentication Mechanisms

AUTHENTICATION_MECHANISMS_CSA_U_OO_198854_20

Opinion

President Trump Didn’t Waste Any Time Going to Work for Americans

Well folks, we can all exhale now. America survived...

Trump’s Team Really Blew it with National Prayer Service

Trump and family listened to woke bishop deliver a stunningly political sermon calling for him to show mercy on illegal immigrants and transgender children.

Biden’s Last Minute Illegitimate and Illegal Pardons

In last hours of his presidency Biden (or his handlers) “preemptively” pardoned Dr. Anthony Fauci, Gen. Mark Milley, and members of the J6 Select Committee.

Techno-Slop: It’s What’s For Dinner, Decrees New York Times

“Finish your techno-slop, Timmy, or you won’t get any dessert [more techno-slop, but with a dollop of high-fructose corn syrup].”

Eight Years Later, The Trump Honeymoon Arrives

The Trump honeymoon, the one the President should have received after his first election in 2016, has finally arrived, eight years late.

News

Trump Announces $500 Billion Investment to Build AI Infrastructure

President Donald Trump announced $500 billion in private sector investment to build artificial intelligence (AI) infrastructure in the United States.

The Significant Biden Executive Orders Rescinded by Trump on Day One

Trump rescinded more than 70 executive actions of his predecessor on his first day in office on Jan. 20, mere hours after the official swearing-in ceremony.

Trump’s Border Czar Confirms Deportations Have ‘Already Started’

Trump’s border czar Tom Homan said U.S. immigration officials started carrying out deportations, targeting illegal immigrants who are a threat to public safety.

Trump Declares Emergency Over ‘Ongoing Invasion’ at US–Mexico Border

Trump admin has legal basis for actions because level of illegal immigration, drug trafficking, and criminal activity is “an invasion under the US Constitution.

Trump Fires 4 Presidential Appointees, Says ‘Many More’ Terminations to Come

President Donald Trump announced the firing of four high-profile appointees early Tuesday morning, according to a post he made on Truth Social.

Trump Orders Termination of Electric Vehicle Mandate

Trump ordered removal of incentives for electric vehicles and promoted market choice for consumers as part of executive orders issued his first day in office.

ACLU Sues Trump Over Order Ending Birthright Citizenship

Groups sued Trump and his administration on over his order ending birthright citizenship for certain individuals born in the United States in the future.

Trump Withdraws US From WHO on First Day in Office

Trump issued an executive order withdrawing the United States from the World Health Organization (WHO) and halting U.S. funding to the United Nations body.
spot_img

Related Articles

Popular Categories

spot_img