Ceplin Command Identifier

Identifier / Programs / Linux and Unix

split

Split a file into pieces. tldr-pages

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

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

How split is abused

documented by GTFOBins

file-read

prefix

-bBYTES/file (10, 10k, 10m, 10g...) toybox
--additional-suffix

file-write

prefix

-bBYTES/file (10, 10k, 10m, 10g...) toybox
--additional-suffix

shell T1059.004 Command and Scripting Interpreter: Unix Shell

--filter
-i

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

3 documented commands

from GTFOBins, each read by the identifier

file-read unprivileged, with sudo, as SUID

This copies the input file in the current working directory in a file named prefixaasuffix, just make sure to pick a value big enough, instead of 999.

split -b 999 --additional-suffix suffix /path/to/input-file prefix
cat prefixaasuffix
Identify

Trips 1 Sigma rule: lowSplit A File Into Pieces by Igor Fits, Mikhail Larin, oscd.community

file-write unprivileged, with sudo, as SUID

This copies the input file in the current working directory in a file named prefixaasuffix, just make sure to pick a value big enough, instead of 999.

split -b 999 --additional-suffix suffix /path/to/input-file prefix
Identify

Trips 1 Sigma rule: lowSplit A File Into Pieces by Igor Fits, Mikhail Larin, oscd.community

shell unprivileged, with sudo, as SUID

split --filter='/bin/sh -i 0<&2 1>&2' /etc/hosts
Identify

Trips 1 Sigma rule: lowSplit A File Into Pieces by Igor Fits, Mikhail Larin, oscd.community

All 3 commands the identifier reads trip 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 split. The identifier reads the line of each that runs split.

What detects it

Sigma process creation rules
lowSplit A File Into PiecesIgor Fits, Mikhail Larin, oscd.community
T1030Data Transfer Size Limits
T1059.004Command and Scripting Interpreter: Unix Shell

Everyday use

from tldr-pages, CC BY 4.0

Split a file, each split having 10 lines (except the last split)

split --lines 10 path/to/fileIdentify

Trips 1 Sigma rule: lowSplit A File Into Pieces by Igor Fits, Mikhail Larin, oscd.community

Split a file into 5 files. File is split such that each split has same size (except the last split)

split --number 5 path/to/fileIdentify

Trips 1 Sigma rule: lowSplit A File Into Pieces by Igor Fits, Mikhail Larin, oscd.community

Split a file with 512 bytes in each split (except the last split; use 512k for kilobytes and 512m for megabytes)

split --bytes 512 path/to/fileIdentify

Trips 1 Sigma rule: lowSplit A File Into Pieces by Igor Fits, Mikhail Larin, oscd.community

Of the 3 examples the identifier reads, 3 match GTFOBins abuse or trip a Sigma process-creation rule.

Options

4 in toybox
Show every option of split
-a SUFFIX_LENSuffix length (default 2)
-b BYTESBYTES/file (10, 10k, 10m, 10g...)
-l LINESLINES/file (default 1000)
-n PARTSPARTS many equal length files