Back to all lessons
Awareness Lessons
last week

AvisLoader Uses P2P C2 and Social Engineering to Evade Takedowns

AvisLoader demonstrates how modern malware combines social engineering (a fake document-signing ClickFix lure) with resilient infrastructure (Tox-based encrypted P2P C2) to bypass traditional defenses. Because the command-and-control channel relies on a decentralized P2P network rather than domains, law enforcement and defenders cannot neutralize the threat through standard domain seizure or sinkholing. The shortcut-based persistence mechanism ensures the malware survives reboots, compounding the damage if initial infection goes undetected. This matters because each layer — deceptive delivery, resilient C2, and persistent execution — is specifically engineered to outlast conventional incident response playbooks.

Tactical Insight

Immediate actions

  • Block outbound connections to the Tox network (UDP/TCP on Tox ports) at the perimeter firewall to disrupt P2P C2 communication.
  • Deploy email and web gateway rules to flag or quarantine ClickFix-style lures that mimic document-signing workflows from untrusted origins like Cloudflare Workers domains.
  • Audit and restrict the creation or execution of shortcut (.lnk) files from user-writable directories to limit persistence mechanisms.

Long-term improvements

  • Implement application allowlisting to prevent unauthorized loaders and scripts from executing on endpoints.
  • Enforce network segmentation so that compromised endpoints cannot freely communicate with arbitrary external P2P nodes or lateral internal targets.
  • Establish a user security awareness training program specifically covering social engineering tactics such as fake document-signing and ClickFix lures.

Detection measures

  • Monitor endpoint telemetry for anomalous shortcut file creation in startup or AppData paths as an early indicator of persistence.
  • Deploy DNS and network traffic analysis tools capable of flagging encrypted P2P protocol patterns associated with Tox traffic.
  • Centralize and alert on PowerShell, WSCRIPT, or MSHTA execution spawned from browser or Office processes as a high-fidelity detection signal.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.