[metadata] creation_date = "2020/02/18" maturity = "production" updated_date = "2020/11/03" [rule] author = ["Elastic"] description = """ Identifies MsBuild.exe making outbound network connections. This may indicate adversarial activity as MsBuild is often leveraged by adversaries to execute code and evade detection. """ from = "now-9m" index = ["winlogbeat-*", "logs-endpoint.events.*"] language = "eql" license = "Elastic License" name = "MsBuild Making Network Connections" risk_score = 47 rule_id = "0e79980b-4250-4a50-a509-69294c14e84b" severity = "medium" tags = ["Elastic", "Host", "Windows", "Threat Detection", "Execution"] type = "eql" query = ''' sequence by process.entity_id [process where process.name : "MSBuild.exe" and event.type == "start"] [network where process.name : "MSBuild.exe" and not cidrmatch(destination.ip, "127.0.0.1", "::1")] ''' [[rule.threat]] framework = "MITRE ATT&CK" [[rule.threat.technique]] id = "T1127" name = "Trusted Developer Utilities Proxy Execution" reference = "https://attack.mitre.org/techniques/T1127/" [rule.threat.tactic] id = "TA0002" name = "Execution" reference = "https://attack.mitre.org/tactics/TA0002/"