New GitHub App Installed
This rule detects when a new GitHub App has been installed in your organization account. GitHub Apps extend GitHub's functionality both within and outside of GitHub. When an app is installed it is granted permissions to read or modify your repository and organization data. Only trusted apps should be installed and any newly installed apps should be investigated to verify their legitimacy. Unauthorized app installation could lower your organization's security posture and leave you exposed for future attacks.
Elastic rule (View on GitHub)
1[metadata]
2creation_date = "2023/08/29"
3integration = ["github"]
4maturity = "production"
5updated_date = "2024/05/21"
6
7[rule]
8author = ["Elastic"]
9description = """
10This rule detects when a new GitHub App has been installed in your organization account. GitHub Apps extend GitHub's
11functionality both within and outside of GitHub. When an app is installed it is granted permissions to read or modify
12your repository and organization data. Only trusted apps should be installed and any newly installed apps should be
13investigated to verify their legitimacy. Unauthorized app installation could lower your organization's security posture
14and leave you exposed for future attacks.
15"""
16from = "now-9m"
17index = ["logs-github.audit-*"]
18language = "eql"
19license = "Elastic License v2"
20name = "New GitHub App Installed"
21risk_score = 47
22rule_id = "1ca62f14-4787-4913-b7af-df11745a49da"
23severity = "medium"
24tags = ["Domain: Cloud", "Use Case: Threat Detection", "Tactic: Execution", "Data Source: Github"]
25timestamp_override = "event.ingested"
26type = "eql"
27
28query = '''
29configuration where event.dataset == "github.audit" and event.action == "integration_installation.create"
30'''
31
32
33[[rule.threat]]
34framework = "MITRE ATT&CK"
35[[rule.threat.technique]]
36id = "T1072"
37name = "Software Deployment Tools"
38reference = "https://attack.mitre.org/techniques/T1072/"
39
40
41[rule.threat.tactic]
42id = "TA0002"
43name = "Execution"
44reference = "https://attack.mitre.org/tactics/TA0002/"
Related rules
- GitHub App Deleted
- GitHub UEBA - Multiple Alerts from a GitHub Account
- High Number of Cloned GitHub Repos From PAT
- GitHub Owner Role Granted To User
- GitHub Protected Branch Settings Changed