Elastic Defend high stable eql
Potential Protocol Tunneling via Legit Utilities
Identifies the use of known legit utilities to potentially tunnel network traffic. This can be used by attackers to enable routing of network packets that would otherwise not reach their intended destination.
Detection Logic
process where event.action == "start" and
(
/* RDP port and usual SSH tunneling related switches in command line */
(process.command_line : ("*:3389", "*:3389 *") and process.args in ("-L", "-P", "-R", "-pw", "-ssh")) or
(process.code_signature.subject_name : "ngrok, Inc." and process.args : ("http", "tcp", "tunnel", "tls", "start", "3389")) or
(process.executable : "?:\\Windows\\System32\\OpenSSH\\ssh.exe" and process.command_line : ("*127.0.0.*", "*:localhost:*") and process.args == "-L") or
(process.args : "client" and process.command_line : "* R*:socks*") or
((process.name : "curl.exe" or process.pe.original_file_name == "curl.exe") and process.command_line : ("*socks5h://127.0.0.*", "*socks5h:\\127.0.0.*"))
)
and not (process.code_signature.subject_name : "ninjaRMM LLC" and process.code_signature.status : "trusted") and
not (process.name:"ssh.exe" and process.args : ("22000:127.0.0.1:1466", "localhost:8897:localhost:8897",
"10005:localhost:5050", "59000:localhost:5901", "590?:localhost:5901",
"-L30000:localhost:30000", "7779:localhost:7779", "5000:localhost:5000",
"8000:127.0.0.1:8000", "127.0.0.1:5433:127.0.0.1:5432", "8888:localhost:8888")) and
not process.parent.executable : "?:\\Users\\*\\AppData\\Local\\Programs\\adkit-desktop\\resources\\daemon\\adkit-daemon.exe" and
not process.parent.command_line : ("C:\\windows\\system32\\cmd.exe /c \"\"C:\\Users\\*\\Desktop\\*.bat\" \"",
"\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" ",
"C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe") Field Validations
Loading…
Comments (0)
Loading comments...