{"id":"ccd55945-badd-4bae-936b-823a735d37dd","title":"Github Push Protection Disabled","description":"Detects if the push protection feature is disabled for an organization, enterprise, repositories or custom pattern rules.","author":"Muhammad Faisal (@faisalusuf)","status":"test","level":"high","date":"2024-03-07","modified":"","tags":["attack.defense-impairment","attack.t1685"],"technique_ids":["T1685"],"logsource":{"product":"github","service":"audit","definition":"Requirements: The audit log streaming feature must be enabled to be able to receive such logs. You can enable following the documentation here: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise#setting-up-audit-log-streaming"},"falsepositives":["Allowed administrative activities."],"references":["https://docs.github.com/en/enterprise-cloud@latest/code-security/secret-scanning/push-protection-for-repositories-and-organizations","https://thehackernews.com/2024/03/github-rolls-out-default-secret.html"],"source_path":"rules/application/github/audit/github_push_protection_disabled.yml","source_sha256":"57e93dc53bee9e41acddf4fc63a1c023abd30be47656c5470e666b932a136c44","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/application/github/audit/github_push_protection_disabled.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Github Push Protection Disabled\nid: ccd55945-badd-4bae-936b-823a735d37dd\nstatus: test\ndescription: Detects if the push protection feature is disabled for an organization, enterprise, repositories or custom pattern rules.\nreferences:\n    - https://docs.github.com/en/enterprise-cloud@latest/code-security/secret-scanning/push-protection-for-repositories-and-organizations\n    - https://thehackernews.com/2024/03/github-rolls-out-default-secret.html\nauthor: Muhammad Faisal (@faisalusuf)\ndate: 2024-03-07\ntags:\n    - attack.defense-impairment\n    - attack.t1685\nlogsource:\n    product: github\n    service: audit\n    definition: 'Requirements: The audit log streaming feature must be enabled to be able to receive such logs. You can enable following the documentation here: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise#setting-up-audit-log-streaming'\ndetection:\n    selection:\n        action:\n            - 'business_secret_scanning_custom_pattern_push_protection.disabled'\n            - 'business_secret_scanning_push_protection.disable'\n            - 'business_secret_scanning_push_protection.disabled_for_new_repos'\n            - 'org.secret_scanning_custom_pattern_push_protection_disabled'\n            - 'org.secret_scanning_push_protection_disable'\n            - 'org.secret_scanning_push_protection_new_repos_disable'\n            - 'repository_secret_scanning_custom_pattern_push_protection.disabled'\n    condition: selection\nfalsepositives:\n    - Allowed administrative activities.\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1685","id":"T1685","name":"Disable or Modify Tools","page":"techniques/enterprise/T1685/"}],"data_path":"data/detection-rules/ccd55945-badd-4bae-936b-823a735d37dd.json","kind":"sigma"}
