Github SSH Certificate Configuration Changed

Detects when changes are made to the SSH certificate configuration of the organization.

Sigma rule (View on GitHub)

 1title: Github SSH Certificate Configuration Changed
 2id: 2f575940-d85e-4ddc-af13-17dad6f1a0ef
 3status: experimental
 4description: Detects when changes are made to the SSH certificate configuration of the organization.
 5references:
 6    - https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-git-access-to-your-organizations-repositories/about-ssh-certificate-authorities
 7    - https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise#ssh_certificate_authority
 8author: Romain Gaillard (@romain-gaillard)
 9date: 2024-07-29
10tags:
11    - attack.persistence
12    - attack.privilege-escalation
13    - attack.t1078.004
14logsource:
15    product: github
16    service: audit
17    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'
18detection:
19    selection:
20        action:
21            - 'ssh_certificate_authority.create' # An SSH certificate authority for an organization or enterprise was created.
22            - 'ssh_certificate_requirement.disable' # The requirement for members to use SSH certificates to access an organization resources was disabled.
23    condition: selection
24falsepositives:
25    - Allowed administrative activities.
26level: medium

References

Related rules

to-top