← Lab /Security & privacy

45% of malware samples use direct-to-IP C2, evading DNS-based defenses

45.32% of malware samples with C2 activity make at least one direct-to-IP connection, representing 23.17% of all C2 attempts.

Security & privacy Unit 42 4 Aug 2026 Measurement Prototype evidence

Published as “Almost Half of Malware Samples Communicate Direct to IP”

Why it matters

Direct-to-IP C2 is common, so DNS-only defenses miss many threats, and ZT-IP can close that gap.

Summary

The Unit 42 team analyzed over 4 million WildFire dynamic analysis reports and found that 45.32% of malware samples with any C2 activity connect directly to IP addresses, accounting for 23.17% of all C2 traffic. They introduced Zero Trust IP (ZT-IP), a network-level enforcement that only allows outbound IP connections that have been previously resolved by DNS. Using ZT-IP they uncovered threats such as Phorpiex ransomware droppers, a custom \GET exfiltration campaign, and the Mozi IoT botnet. The evidence is based on a large real-world dataset, but the evaluation is limited to sandbox reports and a prototype enforcement system.

What they found 2

  1. 45.32% of malware samples with any C2 activity made at least one direct-to-IP connection

    “45.32% of malware samples with any C2 activity made at least one direct-to-IP (D2IP) address connection”

  2. D2IP traffic accounts for 23.17% of all C2 connection attempts

    “Measured as a fraction of all C2 connection attempts, D2IP traffic accounts for 23.17% of the total.”

Caveats 6

  • After excluding bulk port-scanning behavior, the figure remains 41.97%, indicating the prevalence drops when certain traffic is removed.
  • The analysis is limited to WildFire sandbox reports collected over a 30-day period and may not reflect all real-world infections.
  • Connections to common legitimate services, internal addresses and DNS resolvers were filtered out.
  • Bulk port-scanning behavior was excluded from some figures.
  • Only WildFire sandbox reports were examined; results may not generalize to all environments.
  • ZT-IP may generate false positives for protocols that legitimately use direct IP (e.g., DNS, NDP, VoIP, P2P, certain IoT services).

What’s new here 4

  • Quantified direct-to-IP (D2IP) C2 prevalence: 45.32% of malware with C2 use D2IP, 23.17% of all C2 attempts.
  • Introduced Zero Trust IP (ZT-IP) enforcement that blocks outbound connections lacking prior DNS resolution.
  • Demonstrated ZT-IP surfacing real threats: Phorpiex droppers, a custom \GET exfiltration campaign, and Mozi P2P botnet.
  • Performed large-scale analysis of 4 million WildFire reports over a 30-day period.