Huntress Details Seven Ways Attackers Evade Security Defenses

· Original article ↗

Summary

Huntress examines seven defense-evasion examples, including security-tool exclusions, agent removal, obfuscated scripts, malicious LNK files, AMSI/ETW bypass, user deception and reflective loading.

Key points

  • Attackers can use privileged PowerShell to add Defender exclusions for selected paths, processes or files, leaving the security tool active but limiting what it monitors.
  • Huntress describes an attempt to uninstall its agent and a separate use of Backstab, which uses a Sysinternals component to terminate protected AV and EDR processes.
  • One obfuscated PowerShell script added a malicious domain user; another sample was identified in a sandbox as a byte-heavy AsyncRAT variant attempting to contact new50[.]noip[.]me.
  • A malicious executable concealed in an LNK shortcut used a familiar icon and light XOR encryption to evade scrutiny and encourage a user to run it.
  • The article describes an AMSI/ETW bypass that requires an executable on disk to launch PowerShell without those security mechanisms, creating another opportunity for detection.
  • In a partner-investigated case, a fake QuickBooks program displayed a pop-up directing the user to an attacker-controlled mobile number after the machine was compromised.
  • Huntress observed a payload injected into the legitimate CasPol.exe process; the activity included TCP connections that suggested possible C2 and dropped .BAT files.

Article Details

Attack Vectors
  • Threat actors modified Microsoft Defender exclusions using a privileged PowerShell prompt to prevent selected paths, processes, and files from generating alerts.
  • An adversary partially executed the Huntress agent uninstall process.
  • Backstab used a legitimate component from the SysInternals suite to terminate protected antivirus and EDR processes.
  • Malicious PowerShell scripts used layers of encoding and encryption to obscure their contents; an AsyncRAT variant attempted to contact new50[.]noip[.]me.
  • An executable was embedded in a LNK shortcut disguised with a familiar Chrome or Spotify icon; the technique also used light XOR encryption.
  • A malicious executable bypassed AMSI and ETW to run PowerShell commands that would otherwise be blocked or logged.
  • A threat actor impersonated QuickBooks to prompt a user to call an attacker-controlled mobile number.
  • A malicious payload was reflectively loaded into the legitimate CasPol.exe process; the resulting activity included TCP connections and dropped .BAT files.
Defensive Notes
  • Monitor changes to security-product exclusions, since exclusions can leave a solution appearing active while preventing it from alerting on selected items.
  • Monitor attempts to uninstall or terminate security agents and protected antivirus or EDR processes.
  • Use sandbox execution to investigate heavily obfuscated scripts when manual decoding is not practical.
  • Monitor for suspicious executable activity associated with AMSI or ETW bypasses; the article notes that the bypass technique requires an initiating executable on disk.
  • Monitor in-memory activity and trusted-process behavior, including unexpected network connections or file drops from processes such as CasPol.exe.

Indicators of compromise

TypeIndicatorContext
DOMAINnew50[.]noip[.]meDomain the article says an AsyncRAT variant tried to reach.

MITRE ATT&CK

People

Malware

Vendors

Products

Tools

Related Articles