Possible Linux Package Uninstall (via process_creation)
This rule detects linux package removal using builtin tools such as "yum", "apt", "apt-get" or "dpkg".
SigmalowLinuxv1
sigma
possible-linux-package-uninstall-via-process-creation
title: Possible Linux Package Uninstall (via process_creation)
id: 740ce96b-3d7d-5d39-a2c4-c57d27631e9e
status: stable
description: This rule detects linux package removal using builtin tools such as "yum", "apt", "apt-get" or "dpkg".
references:
- https://attack.mitre.org/techniques/T1070/
- https://sysdig.com/blog/mitre-defense-evasion-falco
- https://www.tutorialspoint.com/how-to-install-a-software-on-linux-using-yum-command
- https://linuxhint.com/uninstall_yum_package/
- https://linuxhint.com/uninstall-debian-packages/
author: Huntrule Team
date: 2026-07-18
tags:
- attack.stealth
- attack.t1070
logsource:
product: linux
category: process_creation
detection:
selection_yum:
Image|endswith: '/yum'
CommandLine|contains:
- 'erase'
- 'remove'
selection_apt:
Image|endswith:
- '/apt'
- '/apt-get'
CommandLine|contains:
- 'remove'
- 'purge'
selection_dpkg:
Image|endswith: '/dpkg'
CommandLine|contains:
- '--remove '
- ' -r '
selection_rpm:
Image|endswith: '/rpm'
CommandLine|contains: ' -e '
condition: 1 of selection_*
falsepositives:
- Unknown
level: low
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.