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/12/10"
 6min_stack_version = "8.13.0"
 7min_stack_comments = "Breaking change at 8.13.0 for the Github Integration."
 8
 9[rule]
10author = ["Elastic"]
11description = """
12This rule detects when a new GitHub App has been installed in your organization account. GitHub Apps extend GitHub's
13functionality both within and outside of GitHub. When an app is installed it is granted permissions to read or modify
14your repository and organization data. Only trusted apps should be installed and any newly installed apps should be
15investigated to verify their legitimacy. Unauthorized app installation could lower your organization's security posture
16and leave you exposed for future attacks.
17"""
18from = "now-9m"
19index = ["logs-github.audit-*"]
20language = "eql"
21license = "Elastic License v2"
22name = "New GitHub App Installed"
23risk_score = 47
24rule_id = "1ca62f14-4787-4913-b7af-df11745a49da"
25severity = "medium"
26tags = ["Domain: Cloud", "Use Case: Threat Detection", "Tactic: Execution", "Data Source: Github"]
27timestamp_override = "event.ingested"
28type = "eql"
29
30query = '''
31configuration where event.dataset == "github.audit" and event.action == "integration_installation.create"
32'''
33
34
35[[rule.threat]]
36framework = "MITRE ATT&CK"
37[[rule.threat.technique]]
38id = "T1072"
39name = "Software Deployment Tools"
40reference = "https://attack.mitre.org/techniques/T1072/"
41
42
43[rule.threat.tactic]
44id = "TA0002"
45name = "Execution"
46reference = "https://attack.mitre.org/tactics/TA0002/"

Related rules

to-top