the_open_door
coffee
ESEN
← Tools

7z

Compresses/extracts; as SUID it can read root-owned files.

An archive compressor and extractor (7z). It matters in escalation: as a SUID or sudo-allowed binary, its ability to list/read files inside an archive lets you exfiltrate the content of root-owned files.

Family File analysis & reversing

Flags a -t7z -- @

Concepts Arbitrary read with 7-Zip @listfile

Installation

sudo apt install -y p7zip-full

Useful commands2 commands

Appears in

Some machines where its use is documented; not an exhaustive list.