Identifier / Programs / Linux and Unix
zic
Compile timezones into binary files. tldr-pages
GTFOBins command 1 documented command
How zic is abused
command
-d-yEach abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for zic.
1 documented command
command unprivileged, with sudo, as SUID
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-fileIdentifyThe command the identifier reads trips no Sigma process-creation rule. This command is, with GTFOBins’ notes, from GTFOBins, at commit acd524623f9c of 2026-05-27, under the GPL-3.0, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on GTFOBins’s page for zic. The identifier reads the line that runs zic.