Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ef4ee2
commit 60c3221
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
rules/cloud/github/github_high_risk_configuration_change.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
title: Github High Risk Configuration Change | ||
id: 8622c92d-c00e-463c-b09d-fd06166f6794 | ||
status: experimental | ||
description: Detects when a user disables a critical security feature for an organization. | ||
author: Muhammad Faisal | ||
date: 2023/01/29 | ||
references: | ||
- https://docs.github.com/en/organizations/managing-oauth-access-to-your-organizations-data/disabling-oauth-app-access-restrictions-for-your-organization | ||
- https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#dependabot_alerts-category-actions | ||
- https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository | ||
tags: | ||
- attack.t1556 | ||
logsource: | ||
product: github | ||
service: audit | ||
detection: | ||
selection: | ||
action: | ||
- 'org.disable_oauth_app_restrictions' | ||
- 'org.disable_two_factor_requirement' | ||
- 'repo.advanced_security_disabled' | ||
- 'org.advanced_security_policy_selected_member_disabled' | ||
condition: selection | ||
fields: | ||
- 'action' | ||
- 'actor' | ||
- 'org' | ||
- 'actor_location.country_code' | ||
- 'transport_protocol_name' | ||
- 'repository' | ||
- 'repo' | ||
- 'repository_public' | ||
- '@timestamp' | ||
falsepositives: | ||
- Approved administrator/owner activities. | ||
level: critical |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
title: Github New Org Member Alert | ||
id: 3908d64a-3c06-4091-b503-b3a94424533b | ||
status: experimental | ||
description: Detects when a new member is added or invited to the org. | ||
author: Muhammad Faisal | ||
date: 2023/01/29 | ||
references: | ||
- https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#dependabot_alerts-category-actions | ||
tags: | ||
- attack.t1136.003 | ||
logsource: | ||
product: github | ||
service: audit | ||
detection: | ||
selection: | ||
action: | ||
- 'org.add_member' | ||
- 'org.invite_member' | ||
condition: selection | ||
fields: | ||
- 'action' | ||
- 'actor' | ||
- 'org' | ||
- 'actor_location.country_code' | ||
- 'transport_protocol_name' | ||
- 'repository' | ||
- 'repo' | ||
- 'repository_public' | ||
- '@timestamp' | ||
falsepositives: | ||
- Organization approved new members | ||
level: informational |