Identifier / Programs / Linux and Unix
autoconf
Generate configuration scripts to automatically configure software source code packages. tldr-pages
GTFOBins shell 1 documented command
How autoconf is abused
shell
Each abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for autoconf.
1 documented command
shell unprivileged, with sudo
echo /bin/sh >/path/to/temp-file
chmod +x /path/to/temp-file
touch configure.ac
AUTOM4TE=/path/to/temp-file autoconfIdentifyThe command the identifier reads trips no Sigma process-creation rule. This command is 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 autoconf. The identifier reads the line that runs autoconf.
Everyday use
Generate a configuration script from configure.ac (if present) or configure.in and save this script to configure
autoconfIdentifyGenerate a configuration script from the specified template; output to stdout
autoconf template_fileIdentifyGenerate a configuration script from the specified template (even if the input file has not changed) and write the output to a file
autoconf --force --output outfile template_fileIdentifyNone of the 3 examples the identifier reads matches GTFOBins abuse or trips a Sigma process-creation rule.