Linux sudo privilege escalation attempt matching CVE-2019-14287 command-line pattern
Alerts on Linux process command lines containing ' -u#' indicative of sudo CVE-2019-14287 exploitation attempts.
FreeUnreviewedSigmahighv1
linux-sudo-privilege-escalation-attempt-matching-cve-2019-14287-command-line-pat-f74107df
title: Linux sudo privilege escalation attempt matching CVE-2019-14287 command-line pattern
id: a1a11aaa-7e59-44d9-9c9e-8d1280189192
status: test
description: This rule flags Linux process creations where the command line contains the specific substring ' -u#', associated with exploitation attempts targeting a sudo vulnerability labeled CVE-2019-14287. Attackers may use crafted sudo invocation parameters to try to gain elevated privileges. The detection relies on process creation telemetry that includes the full command line for spawned sudo-related processes.
references:
- https://www.openwall.com/lists/oss-security/2019/10/14/1
- https://access.redhat.com/security/cve/cve-2019-14287
- https://twitter.com/matthieugarin/status/1183970598210412546
- https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2019/Exploits/CVE-2019-14287/proc_creation_lnx_exploit_cve_2019_14287.yml
author: Florian Roth (Nextron Systems), Huntrule Team
date: 2019-10-15
modified: 2022-10-05
tags:
- attack.privilege-escalation
- attack.t1068
- attack.t1548.003
- cve.2019-14287
- detection.emerging-threats
logsource:
product: linux
category: process_creation
detection:
selection:
CommandLine|contains: " -u#"
condition: selection
falsepositives:
- Unlikely
level: high
license: DRL-1.1
related:
- id: f74107df-b6c6-4e80-bf00-4170b658162b
type: derived
What it detects
This rule flags Linux process creations where the command line contains the specific substring ' -u#', associated with exploitation attempts targeting a sudo vulnerability labeled CVE-2019-14287. Attackers may use crafted sudo invocation parameters to try to gain elevated privileges. The detection relies on process creation telemetry that includes the full command line for spawned sudo-related processes.
Known false positives
- Unlikely
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.