Suspicious Github SSH Certificate Configuration Changed (via audit)

This rule detects when changes are made to the SSH certificate configuration of the organization.

Sigmamediumv1
sigma
title: Suspicious Github SSH Certificate Configuration Changed (via audit)
id: 24090c0a-5658-5649-bf58-707c0d6c24e2
status: stable
description: This rule detects when changes are made to the SSH certificate configuration of the organization.
references:
    - https://attack.mitre.org/techniques/T1078/004/
    - https://docs.github.com/en/enterprise-cloud@latest/organizations/managing-git-access-to-your-organizations-repositories/about-ssh-certificate-authorities
    - 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
author: Huntrule Team
date: 2026-03-23
tags:
    - attack.initial-access
    - attack.persistence
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1078.004
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'
detection:
    selection:
        action:
            - 'ssh_certificate_authority.create'
            - 'ssh_certificate_requirement.disable'
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.