Shell Invocation via Apt - Linux
testmediumLog-Quelle: linux · process_creationAutor Nasreddine Bencherchali (Nextron Systems)Datum 2022-12-28
01
Beschreibung
Was dies ist, in Kürze.
Detects the use of the "apt" and "apt-get" commands to execute a shell or proxy commands. Such behavior may be associated with privilege escalation, unauthorized command execution, or to break out from restricted environments.
02
Tags
attack.discoveryattack.t1083
03
Regelquelle (YAML)
title: Shell Invocation via Apt - Linux
id: bb382fd5-b454-47ea-a264-1828e4c766d6
status: test
description: |
Detects the use of the "apt" and "apt-get" commands to execute a shell or proxy commands.
Such behavior may be associated with privilege escalation, unauthorized command execution, or to break out from restricted environments.
references:
- https://gtfobins.github.io/gtfobins/apt/
- https://gtfobins.github.io/gtfobins/apt-get/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-12-28
modified: 2024-09-02
tags:
- attack.discovery
- attack.t1083
logsource:
category: process_creation
product: linux
detection:
selection:
Image|endswith:
- '/apt'
- '/apt-get'
CommandLine|contains: 'APT::Update::Pre-Invoke::='
condition: selection
falsepositives:
- Unknown
level: medium
04
erkennt Techniken (1)
ATT&CK-Techniken, die dies ermöglicht oder abbildet.
05
Referenzen
Externe Belege — Patches, Meldungen, Analysen.