Ceplin Command Identifier

Identifier / Programs / Linux and Unix

pandoc

Convert documents between various formats. tldr-pages

GTFOBins file-read, file-write, inherit 3 documented commands

Opens the identifier with your command. It is read in your browser and sent nowhere.

How pandoc is abused

documented by GTFOBins

file-read

-t

file-write

-t
-o

inherit

-L

Each abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for pandoc.

3 documented commands

from GTFOBins, each read by the identifier

file-read unprivileged, with sudo, as SUID

pandoc -t plain /path/to/input-file
Identify

file-write unprivileged, with sudo, as SUID

echo DATA | pandoc -t plain -o /path/to/output-file
Identify

inherit unprivileged, with sudo, as SUID

This allows to run Lua code (...).

echo '...' >/path/to/temp-file
pandoc -L /path/to/temp-file /dev/null
Identify

None of the 3 commands the identifier reads trips a Sigma process-creation rule. These commands are, 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 pandoc. The identifier reads the line of each that runs pandoc.

Everyday use

from tldr-pages, CC BY 4.0

Convert a Markdown file to PDF using pdflatex (the formats are determined by file extensions)

pandoc path/to/input.md --output path/to/output.pdfIdentify

Convert the output from another command to PDF, using a specific PDF engine

command | pandoc --from input_format --pdf-engine tectonic --output path/to/output.pdfIdentify

Convert to a standalone file with the appropriate headers/footers (for LaTeX, HTML, etc.)

pandoc path/to/input.md --standalone --output path/to/output.htmlIdentify

None of the 3 examples the identifier reads matches GTFOBins abuse or trips a Sigma process-creation rule.