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"
 5min_stack_comments = "New fields added: required_fields, related_integrations, setup"
 6min_stack_version = "8.3.0"
 7updated_date = "2023/10/03"
 8
 9[rule]
10author = ["Elastic"]
11description = """
12This rule detects when a new GitHub App has been installed in your organization account. 
13GitHub Apps extend GitHub's functionality both within and outside of GitHub. 
14When an app is installed it is granted permissions to read or modify your repository and organization data. 
15Only trusted apps should be installed and any newly installed apps should be investigated to verify their legitimacy. 
16Unauthorized app installation could lower your organization's security posture and 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"
29query = '''
30configuration where event.dataset == "github.audit" and event.action == "integration_installation.create"
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
42[rule.threat.tactic]
43id = "TA0002"
44name = "Execution"
45reference = "https://attack.mitre.org/tactics/TA0002/"

Related rules

to-top