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

The Thinking Conservative
The Thinking Conservativehttps://www.thethinkingconservative.com/
The goal of THE THINKING CONSERVATIVE is to help us educate ourselves on conservative topics of importance to our freedom and our pursuit of happiness. We do this by sharing conservative opinions on all kinds of subjects, from all types of people, and all kinds of media, in a way that will challenge our perceptions and help us to make educated choices.

Columns

Trans-wormal

No worm ever said "I am anthropomorphizing, I am a butterfly" to a toad or flock of geese and expected acknowledgement and support.

In Greenlandโ€™s Icy Capital, Past Troubles Haunt Hopes for the Future

As geopolitical realities and ongoing economic growth raise the stakes, U.S. interest in Greenland and the dream of independence may change things in a big way.

How a Chinese Government Statistician Was Forced to Report Fake Data

Chinese local govt employee produced a non-authorized report on bees and was visited by police and threatened with being sent to a mental hospital.

โ€˜This One Time, at Groomer Campโ€™

All Camp Brave Trails programs focus on helping LGBTQ+ youth find what they need most to thrive: their people, their place, and their passion.

Why Recognizing a Palestinian State Now Undermines U.S. Interestsย 

A recent American Conservativeย article suggests President Trump recognize a Palestinian state, but this would undermine the interests of the United States.

News

Trump Administration Asks Supreme Court to Allow Dismantling of Education Department

Trump admin asked Supreme Court to allow it to resume dismantling U.S. Dept of Education, following a lower courtโ€™s previous order halting process.

FTC Warns of Rising Student Loan Scams, Says Fraudsters Took Millions From Borrowers

FTC is warning borrowers to steer clear of student loan debt-relief scams, after shutting down group of companies that allegedly charged millions in illegal fees and left customers worse off.

Court Orders Trump Administration to Restore AmeriCorps Funding to States

Federal court ordered Trump admin to restore AmeriCorps funding to states. The ruling comes as part of a lawsuit filed by 24 states and DC.

Tax Deductions You Can Take Without Itemizing

Itโ€™s not always beneficial to itemize. With IRSโ€™s current standard deduction for 2025 most Americans who canโ€™t itemize go with standard deduction.

US Economy Adds 139,000 New Jobs in May, Topping Market Forecasts

U.S. economy added 139,000 new jobs last month, surpassing economistsโ€™ expectations and indicating U.S. labor market remains in a robust position.

Guatemalan Deportee Arrives in US After Judge Orders Trump Admin to Facilitate Return

โ€œAmericaโ€™s asylum system was never intended to be used as a de facto amnesty program or a catch-all, get-out-of-deportation-free card,โ€ McLaughlin said.

Trump-Musk Feud Escalates Over Spending Bill: 5 Things to Know

A public feud between Musk and Trump took a turn for the worse. Musk claimed president wouldnโ€™t have won without him and president suggested Muskโ€™s subsidies could be pulled.

Supreme Court Rules 9-0 Wisconsin Violated First Amendment by Denying Tax Exemption to Catholic Charity

Supreme Court ruled unanimously that WI violated the First Amendment by not granting Catholic charity an exemption from paying unemployment tax.
spot_img

Related Articles