Ceplin Command Identifier

Identifier / Programs / Linux and Unix

sqlite3

Interface to SQLite 3, which is a self-contained file-based embedded SQL engine. tldr-pages

GTFOBins file-write, shell 1 Sigma rule name it 1 ATT&CK technique 3 documented commands

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

How sqlite3 is abused

documented by GTFOBins

file-write

-cmd

shell T1059.004 Command and Scripting Interpreter: Unix Shell

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

3 documented commands

from GTFOBins, each read by the identifier

file-read unprivileged, with sudo, as SUID

sqlite3 <<EOF
CREATE TABLE x(x TEXT);
.import /path/to/input-file x
SELECT * FROM x;
EOF
Identify

file-write unprivileged, with sudo, as SUID

sqlite3 /dev/null -cmd '.output /path/to/output-file' 'select "DATA";'
Identify

shell unprivileged, with sudo, as SUID

sqlite3 /dev/null '.shell /bin/sh'
Identify

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

What detects it

Sigma process creation rules
lowLocal System Accounts Discovery - LinuxAlejandro Ortuno, oscd.community, CheraghiMilad
T1059.004Command and Scripting Interpreter: Unix Shell

Everyday use

from tldr-pages, CC BY 4.0

Start an interactive shell with a new database

sqlite3Identify

Open an interactive shell against an existing database

sqlite3 path/to/database.sqlite3Identify

Execute an SQL statement against a database and then exit

sqlite3 path/to/database.sqlite3 'SELECT * FROM some_table;'Identify

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