Detecting Abuse of Authentication Mechanisms – Abridged

Contact Your Elected Officials

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.

The Sacred Honor of the 56

Today we're celebrating the sacred honor of the 56 men who signed the Declaration of Independence.

Alligator Alcatraz: A Bold Step Toward Secure Borders

Alligator Alcatraz funded through FEMA, represents a decisive move by the Trump admin to address illegal immigration with efficiency and resolve.

Is America Broke?

Silicon Valley investor and economic commentator Balaji Srinivasan made...

Hungary: Prideโ„ข Cometh Before the Color Revolution

The EU engaged in a diplomatic siege of the Eastern European nation-state of Hungary pressuring it into embrace global trannyism or face wrath of Brussels.

Understanding the Trump/Musk Feud

The passion Trump and Musk exhibit over the OBBB is not contrived or for show. Each is addressing the problem from completely different approaches.

Noem Waives Environmental Restrictions to Fast-Track Water Barriers in Rio Grande

DHS Sec Kristi Noem waived federal environmental laws to fast-track construction of 17 miles of waterborne barriers in the Rio Grande in South Texas.

Federal Officials Warn of โ€˜Lone Wolfโ€™ Terror Threats on July 4, NY Governor Says

NY Gov. Kathy Hochul confirmed that federal officials informed her about a possible terrorist threat ahead of the July 4 Independence Day holiday.

Record 1 in 5 Buyers of New Cars Committing to $1,000-Plus Monthly Payments: Edmunds

The share of new car buyers committing to make monthly payments of $1,000 or more hit an โ€œall-time highโ€ in the second quarter of 2025.

US Economy Adds 147,000 New Jobs, Unemployment Rate Dips to 4.1 Percent in June

The U.S. job market remained strong in June, as labor conditions continued to hold up amid economic uncertainty.

US Keeps Pressure on Chinese Goods Amid Vietnam Trade Deal

Transshippingโ€”rerouting goods through a third country to disguise the origin of the productsโ€”is a focal point of trade negotiations with Asian markets.

White House Report Reveals Top Earners, Staffers Working for No Salary

The Trump admin released its yearly report that shows the salaries for White House staffers, also revealing officials who arenโ€™t accepting salaries at all.

Transportation Secretary Urges Governors to Remove Political Messages From Crosswalks, Intersections

Duffy sent letters to governors, mayor of D.C., and gov of Puerto Rico urging them to remove political messaging from intersections and crosswalks.

Bessent: US, India Near Agreement to Lower Tariffs

The United States and India are โ€œvery closeโ€ to a trade agreement, Treasury Secretary Scott Bessent said on Tuesday.
spot_img

Related Articles