Linux_Rootkit_Reptile_eb201301
Description
Linux.Rootkit.Reptile
Query · yara
strings:
$str1 = "Reptile Packet Sender"
$str2 = "Written by F0rb1dd3n"
$str3 = "Reptile Wins"
$str4 = "Written by: F0rb1dd3n"
$opt1 = "-r Remote port from magic packets (only for tcp/udp)"
$opt2 = "-x Magic Packet protocol (tcp/icmp/udp)"
$opt3 = "-s Source IP address to spoof"
$opt4 = "-q Source port from magic packets (only for tcp/udp)"
$opt5 = "-l Host to receive the reverse shell"
$opt6 = "-p Host port to receive the reverse shell"
$opt7 = "-k Token to trigger the port-knocking"
$help1 = "Run the listener and send the magic packet"
$help2 = "Local host to receive the shell"
$help3 = "Local port to receive the shell"
$help4 = "Source host on magic packets (spoof)"
$help5 = "Source port on magic packets (only for TCP/UDP)"
$help6 = "Remote port (only for TCP/UDP)"
$help7 = "Protocol to send magic packet (ICMP/TCP/UDP)"
$rep1 = "Usage: %s [ -c [ connect_back_host ] ] [ -s secret ] [ -p port ]"
$rep2 = "S3cr3tP@ss"
condition:
all of ($rep*) or (1 of ($str*) and (4 of ($opt*) or 4 of ($help*)))