Thursday, January 23, 2025
HomeComputer SecurityGolden SAML Attack - APT Hackers Hijacking & Gaining Access To The...

Golden SAML Attack – APT Hackers Hijacking & Gaining Access To The Active Directory Server

Published on

SIEM as a Service

Follow Us on Google News

Recently, it has been reported that an APT group has attacked the client’s Office 365 environment, also they have discovered a way to bypass authentication controls so that they can fully access the environment of the directory server.

According to the investigation, the experts claimed that most of the clients either have a hybrid authentication model set-up or are completely in the cloud. 

However, compromising the AD FS server token-signing certificate might appear in access to the Azure/Office365 environment by the threat actors. 

Not only this they also pronounced that this certificate is valid for a year by default, and will enable the threat actors to log into Azure/Office365 as any user within AD despite any password resets and MFA.

Attack Flow

After detecting this attack, the security analysts have initiated a significant investigation, and they came to know that this attack operates by a threat actor hijacking, or obtaining access to the AD FS server

Once they obtain the access they start extorting the secret (SAML token) and later they use this to access the Office365 Azure AD environment.

Here are the steps followed by the attackers:-

  • Step 1: Attacker compromises the on-premise domain
  • Step 2: Enumeration
  • Step 3: Gather the credentials for the AD FS process owner account
  • Step 4: Laterally move to AD FS server
  • Step 5: Attain the token-signing certificate from the AD FS server
  • Step 6: Attain the DKM 
  • Step 7: Decrypt the token-signing certificate
  • Step 8: Generate a SAML token

Access Gained by Abusing SAML Token

Here, are the list of things that are accessed by the threat actors by abusing the SAML token:-

  • Azure / Azure AD
  • Office 365
  • Azure Applications (which they can further backdoor)
  • Defender Security Center

Apprehension Mechanisms

Remediations

However, cybersecurity researchers are trying their best to know all the details of this attack. But, the indication of this attack is that the threat actors maintain persistence and they have a strong motive to re-enter the environment, avoiding all kinds of detection.

Apart from all these things, this is quite a complicated attack, and it has the goal to achieve the token-signing certificate as well as the private key that AD FS uses to signify SAML tokens which were being published by AD FS for authentication.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity and hacking news updates.

Balaji
Balaji
BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Latest articles

Critical Vulnerability in Next.js Framework Exposes Websites to Cache Poisoning and XSS Attacks

A new report has put the spotlight on potential security vulnerabilities within the popular...

New Cookie Sandwich Technique Allows Stealing of HttpOnly Cookies

The "Cookie Sandwich Attack" showcases a sophisticated way of exploiting inconsistencies in cookie parsing...

GhostGPT – Jailbreaked ChatGPT that Creates Malware & Exploits

Artificial intelligence (AI) tools have revolutionized how we approach everyday tasks, but they also...

Tycoon 2FA Phishing Kit Using Specially Crafted Code to Evade Detection

The rapid evolution of Phishing-as-a-Service (PhaaS) platforms is reshaping the threat landscape, enabling attackers...

API Security Webinar

Free Webinar - DevSecOps Hacks

By embedding security into your CI/CD workflows, you can shift left, streamline your DevSecOps processes, and release secure applications faster—all while saving time and resources.

In this webinar, join Phani Deepak Akella ( VP of Marketing ) and Karthik Krishnamoorthy (CTO), Indusface as they explores best practices for integrating application security into your CI/CD workflows using tools like Jenkins and Jira.

Discussion points

Automate security scans as part of the CI/CD pipeline.
Get real-time, actionable insights into vulnerabilities.
Prioritize and track fixes directly in Jira, enhancing collaboration.
Reduce risks and costs by addressing vulnerabilities pre-production.

More like this

GhostGPT – Jailbreaked ChatGPT that Creates Malware & Exploits

Artificial intelligence (AI) tools have revolutionized how we approach everyday tasks, but they also...

Tycoon 2FA Phishing Kit Using Specially Crafted Code to Evade Detection

The rapid evolution of Phishing-as-a-Service (PhaaS) platforms is reshaping the threat landscape, enabling attackers...

Microsoft Unveils New Identity Secure Score Recommendations in General Availability

Microsoft has announced the general availability of 11 new Identity Secure Score recommendations in...