CmdID

CmdID / Rules / macOS

Split A File Into Pieces

A Sigma rule for process creation on macOS, by Igor Fits, Mikhail Larin, oscd.community.

low 1 ATT&CK technique 1 program it names 3 everyday examples trip it

What it looks for

its detection, as SigmaHQ writes it
detection:
  selection:
    Image|endswith: '/split'
  condition: selection

The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by Igor Fits, Mikhail Larin, oscd.community, under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.

Command lines that trip it

everyday examples from tldr-pages, CC BY 4.0, each read by CmdID

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

split --lines 10 path/to/fileIdentify

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

split --number 5 path/to/fileIdentify

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

split --bytes 512 path/to/fileIdentify

The commands LOLBAS or GTFOBins documents for split trip it too: each is on its program’s page, read by CmdID.

Programs and files it names

their pages here

ATT&CK

the techniques it is tagged with
T1030Data Transfer Size Limits