Zero Trust IP: The New Frontier for Defense Against Malware Attacks Targeting IPs
How 45% of malware bypasses DNS and what to do to protect yourself

KEY TAKEAWAYS
- 45.32% of malware with C2 activity connects directly to IPs, bypassing DNS.
- The Zero Trust IP (ZT-IP) approach verifies connection destinations to detect hidden threats.
- ZT-IP has identified threats such as Phorpiex ransomware, data exfiltration campaigns, and P2P Mozi botnet.
- Direct connections to IPs account for 23.17% of all C2 connection attempts.
- DNS-based defenses are ineffective against malware that bypasses DNS resolution.
Zero Trust IP: The New Frontier of Digital Security
The Evasion of DNS Defenses
DNS security has become a fundamental pillar of corporate defense against cyber threats. By monitoring and filtering DNS queries, security teams can block malware attempting to reach domains known to be malicious and use sinkholing to disrupt C2 communications before they establish. This approach is effective when the malware follows the rules, relying on DNS for domain resolution. However, many types of malware do not. For example, a backdoor malware sample analyzed did not perform any DNS queries before initiating a WebSocket connection directly to an IP address. Analysis with Ghidra revealed that the destination address `wss://154.92.19[.]71:39989` was hardcoded in the binary as a Unicode string. This is not an isolated case. Without the DNS resolution step in network communications, malware becomes invisible to DNS-based security controls, protective sinkholing, and DNS anomaly detection systems. The connection simply appears as raw IP traffic without any prior context.Analysis of 4 Million Samples
We analyzed over 4 million Advanced WildFire dynamic analysis reports for a 30-day period to quantify how widespread this behavior is. After filtering connections to common legitimate services, internal addresses, and DNS resolvers, we found that 20.11% of malware samples exhibited C2 activity. The contrast with benign samples is striking. Only 1% of benign samples establish connections to untrusted IP addresses after applying the same filtering criteria. Those that do average only 1.6 connections of this type per sample, a tiny fraction of the activity observed in malware.Zero Trust IP: A New Approach
This article introduces Zero Trust IP (ZT-IP), a network-level enforcement approach that applies zero trust principles to IP-based traffic. This approach verifies whether the destinations of outgoing connections have ever been authorized by a DNS response. We validated this approach against real network traffic and samples, demonstrating how ZT-IP can detect threats such as:Threats Detected with ZT-IP
Among the traffic reported by ZT-IP, we observed suspicious HTTP GET requests to the IP address 178.16.54[.]109. These requests present numerous variants, including sequential numeric paths (e.g., /1 through /6) and downloads of specific files (e.g., /sex/k/n.txt, /new.php). We discovered that these requests are related to several malware samples (e.g., the [binary](https://www.virustotal.com/gui/file/bf24277400cc453d530e4277d3bd24e96c5e409adef6970518bdc59205aa0241) retrieved from hxxp[:]//178.16.54[.]109/st.exe) associated with Phorpiex (also known as Trik), a long-term malware family primarily used as a dropper and spam botnet. This traffic aligns with Phorpiex's multi-stage payload delivery mechanism, characterized by the initial retrieval of configuration and then the retrieval of further malicious components such as a ransomware payload.The \GET Protocol: An Evasion Method
One of the most distinctive findings was a persistent campaign using a non-standard HTTP request format that we call the \GET protocol. This is an obfuscated request format designed to evade security detection systems while exfiltrating data. Unlike standard HTTP requests, these requests begin with \GET (backslash-GET) instead of GET followed by a backslash. The \GET is followed by a long encoded string ranging from 250 to 666 characters. Statistical analysis of the encoded payloads reveals a structured encoding scheme:High-Value Threats
The C2 infrastructure is hosted on public cloud infrastructure in Brazil. Samples targeting it have been found to hit high-value sectors such as government, airlines, and universities. Since the threat exploits shared cloud resources, IP-based blocking is ineffective. Additionally, the malware employs a notable operational security measure. It rotates both the destination port and IP address at regular intervals, evading static IP blocking defenses.IoT and P2P Botnets
IoT malware families often exploit network vulnerabilities to self-propagate, relying on D2IP communication that makes them invisible to DNS-based security layers. Mozi is a P2P botnet derived from Mirai known for targeting IoT devices with MIPS, ARM, and x86 architectures. We observed its characteristic exploitation payload embedded directly in HTTP requests. We also identified a Mirai variant that we called Boatnet, distributed from the IP address 2.26.98[.]67. Boatnet demonstrates deep platform targeting, covering at least 14 different architectures. In addition to standard IoT architectures, Boatnet includes binaries for m68k (Motorola 68000), a family of processors common in legacy industrial control systems (ICS) and old embedded devices that generic malware typically avoids. Zero Trust IP represents a fundamental step towards a more holistic approach to security, combining IP traffic analysis with zero trust principles to create a safer and more resilient environment.For organizations seeking to strengthen their defenses, adopting ZT-IP could be the key to staying ahead of attackers.
Editorial Note and Disclaimer
The guides and content published on GoYou are the result of independent research and analysis activities, for informational, educational, and in-depth purposes.
GoYou does not constitute a journalistic publication or an editorial product pursuant to Law No. 62/2001 and does not engage in real-time information activities.
The GoYou project does not provide professional, technical, legal, or financial advice and disclaims all responsibility for the misuse of the information published.
In the Crypto sector, every investment involves risks: readers are invited to always inform themselves autonomously before making any decision.
Source: unit42.paloaltonetworks.com · GoYou.it is not a registered news outlet; all content is for informational and educational purposes.