Detectionlowtest
Linux Package Uninstall
Detects linux package removal using builtin tools such as "yum", "apt", "apt-get" or "dpkg".
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Tuan Le (NCSGroup), Nasreddine Bencherchali (Nextron Systems)Created Thu Mar 0995d61234-7f56-465c-6f2d-b562c6fedbc4linux
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic4 selectors
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_*False Positives
Administrator or administrator scripts might delete packages for several reasons (debugging, troubleshooting).
MITRE ATT&CK
Tactics
Techniques
Rule Metadata
Rule ID
95d61234-7f56-465c-6f2d-b562c6fedbc4
Status
test
Level
low
Type
Detection
Created
Thu Mar 09
Path
rules/linux/process_creation/proc_creation_lnx_remove_package.yml
Raw Tags
attack.defense-evasionattack.t1070