IP Library Granted Patent US 11,552,968
Granted Patent B2
US 11,552,968 · App. 17/163,073 · Granted Jan 10, 2023

System and methods for detecting and mitigating golden SAML attacks against federated services

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,552,968
App. No.
17/163,073
Filed
Jan 29, 2021
Granted
Jan 10, 2023
Kind
B2
Art Unit
2493
USPC
713/180
Abstract

A system and methods for detecting and mitigating golden SAML attacks against federated services is provided, comprising an authentication object inspector configured to observe a new authentication object generated by an identity provider, and retrieve the new authentication object; and a hashing engine configured to create a security cookie for each valid authentication session; wherein subsequent access requests accompanied by authentication objects are validated by checking for a valid security cookie.

Claims (32)

1. A system for detecting and mitigating golden Security Assertion Markup Language (SAML) attacks against federated services, comprising:

a computing device comprising a memory and a processor;

an authentication object inspector comprising a first plurality of programming instructions stored in the memory which, when operating on the processor, causes the computing device to:

receive network traffic comprising a plurality of network packets, the plurality of network packets comprising a first authentication object for a user of a federated service, the first authentication object comprising a first identification string known to be generated by an identity provider associated with the federated service;

store a record of the first authentication object, with attached metadata comprising a timestamp of when the first authentication object was received, in a time-series database;

generate a security cookie for the first authentication object using a hashing engine;

provide the security cookie to the identity provider from which the first authentication object was generated for inclusion in additional authentication objects issued to the user;

receive a request for access to the federated service by the user accompanied by a second authentication object comprising a second identification string and the security cookie;

compare a value of the second identification string of the second authentication object against a value of the second identification string of the stored record of the first authentication object;

check the second authentication object for the security cookie;

generate an authentication failure if the security cookie is missing or invalid; and

a hashing engine comprising a second plurality of programming instructions stored in the memory of, and operating on the processor of, the computing device, wherein the second plurality of programmable instructions, when operating on the processor, cause the computing device to:

receive authentication objects from the authentication object inspector;

calculate security cookies for authentication objects received by performing a plurality of calculations and transformations on each authentication object received; and

return the security cookies for authentication objects received to the authentication object inspector.

2. The system of claim 1 , wherein the authentication object inspector is operated by the identity provider.

3. The system of claim 1 , wherein the authentication object inspector is operated by a client device communicating with the identity provider over a network.

4. A method for detecting and mitigating golden Security Assertion Markup Language (SAML) attacks against federated services, comprising:

using an authentication object inspector operating on a computing device comprising a memory and a processor to:

receive network traffic comprising a plurality of network packets, the plurality of network packets comprising a first authentication object for a user of a federated service, the first authentication object comprising a first identification string known to be generated by an identity provider associated with the federated service;

store a record of the first authentication object, with attached metadata comprising a timestamp of when the first authentication object was received, in a time-series database;

generate a security cookie for the first authentication object using a hashing engine;

provide the security cookie to the identity provider from which the first authentication object was generated for inclusion in additional authentication objects issued to the user;

receive a request for access to the federated service by the user accompanied by a second authentication object comprising a second identification string and the security cookie;

compare a value of the second identification string of the second authentication object against a value of the second identification string of the stored record of the first authentication object;

check the second authentication object for the security cookie;

generate an authentication failure if the security cookie is missing or invalid; and using the hashing engine to:

receive authentication objects from the authentication object inspector;

calculate security cookies for authentication objects received by performing a plurality of calculations and transformations on each authentication object received; and

return the security cookies for authentication objects received to the authentication object inspector.

5. The method of claim 4 , wherein the authentication object inspector is operated by the identity provider.

6. The method of claim 4 , wherein the authentication object inspector is operated by a client device communicating with the identity provider over a network.