Detectionmediumtest

Github Outside Collaborator Detected

Detects when an organization member or an outside collaborator is added to or removed from a project board or has their permission level changed or when an owner removes an outside collaborator from an organization or when two-factor authentication is required in an organization and an outside collaborator does not use 2FA or disables 2FA.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Muhammad FaisalCreated Fri Jan 20eaa9ac35-1730-441f-9587-25767bde99d7application
Log Source
githubaudit
Productgithub← raw: github
Serviceaudit← raw: 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 Logic
Detection Logic1 selector
detection:
    selection:
        action:
            - 'org.remove_outside_collaborator'
            - 'project.update_user_permission'
    condition: selection
False Positives

Validate the actor if permitted to access the repo.

Validate the Multifactor Authentication changes.

Rule Metadata
Rule ID
eaa9ac35-1730-441f-9587-25767bde99d7
Status
test
Level
medium
Type
Detection
Created
Fri Jan 20
Path
rules/application/github/audit/github_outside_collaborator_detected.yml
Raw Tags
attack.privilege-escalationattack.persistenceattack.collectionattack.t1098.001attack.t1098.003attack.t1213.003
View on GitHub