Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Okta new rules #894

Merged
merged 16 commits into from
Oct 19, 2023
Merged

Okta new rules #894

merged 16 commits into from
Oct 19, 2023

Conversation

arielkr256
Copy link
Contributor

Background

Okta is a centralized identity platform that serves as a modern alternative to traditional on-premises Domain Controllers for organizations. It provides a secure and unified way to manage user authentication, access control, and identity management across various applications and services. While the increased centralization of access controls can protect end users, it also presents a high-value target for attackers.

In a keynote address at the mWISE Conference 2023, Kevin Mandia stated that defenders must assume phishing attacks will be successful on their employees and that valid accounts will be used for lateral movement by attackers. Recent attacks, such as the scattered spider attacks on MGM and Caesar's, have confirmed these concerns. These attacks involved social engineering and phishing techniques to gain access to legitimate Okta admin accounts.

The Okta security team has emphasized that there were no vulnerabilities in the Okta platform that were exploited in these attacks. Instead, the attackers took advantage of misconfigurations and a lack of security controls to leverage compromised accounts into additional access, privileges, and persistence. It is crucial for organizations to closely monitor and detect new Tactics, Techniques, and Procedures (TTPs) in the Okta audit logs to identify any suspicious activities and potential security breaches.

Changes

  • 7 new detections based on recent high profile attacks by threat actors including LAPSU$, Scatter Swine, and Scattered Spider

Testing

  • sample logs are included for unit tests

@arielkr256 arielkr256 requested a review from a team October 4, 2023 15:58
@CLAassistant
Copy link

CLAassistant commented Oct 4, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ arielkr256
❌ grantjoy
You have signed the CLA already but the status is still pending? Let us recheck it.

darwayne
darwayne previously approved these changes Oct 4, 2023
Copy link
Contributor

@darwayne darwayne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, had some minor nit picks

rules/okta_rules/okta_anonymizing_vpn_login.yml Outdated Show resolved Hide resolved
rules/okta_rules/okta_anonymizing_vpn_login.yml Outdated Show resolved Hide resolved
rules/okta_rules/okta_idp_create_modify.yaml Outdated Show resolved Hide resolved
rules/okta_rules/okta_idp_create_modify.yaml Outdated Show resolved Hide resolved
rules/okta_rules/okta_idp_signin.yaml Outdated Show resolved Hide resolved
rules/okta_rules/okta_password_extraction_via_scim.yaml Outdated Show resolved Hide resolved
rules/okta_rules/okta_password_extraction_via_scim.yaml Outdated Show resolved Hide resolved
rules/okta_rules/okta_password_extraction_via_scim.yaml Outdated Show resolved Hide resolved
@arielkr256
Copy link
Contributor Author

cleaned up some unused yaml fields

@arielkr256 arielkr256 marked this pull request as draft October 6, 2023 00:41
Copy link
Contributor

@egibs egibs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of comments, but most revolve around specifying an appropriate defaults for deep_get calls and certain gets.

rules/okta_rules/okta_anonymizing_vpn_login.py Outdated Show resolved Hide resolved
rules/okta_rules/okta_idp_create_modify.py Show resolved Hide resolved
rules/okta_rules/okta_idp_signin.py Show resolved Hide resolved
rules/okta_rules/okta_org2org_creation_modification.py Outdated Show resolved Hide resolved
@arielkr256 arielkr256 marked this pull request as ready for review October 11, 2023 19:33
@arielkr256 arielkr256 enabled auto-merge (squash) October 16, 2023 21:29
@arielkr256 arielkr256 merged commit ea1d053 into panther-labs:master Oct 19, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants