<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Multiple Malware Families - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/actors/multiple-malware-families/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 02 Jan 2024 12:00:00 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/actors/multiple-malware-families/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Malware Gathering Victim Network Information via Public IP Check Services</title><link>https://feed.craftedsignal.io/briefs/2024-01-02-ip-check-recon/</link><pubDate>Tue, 02 Jan 2024 12:00:00 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2024-01-02-ip-check-recon/</guid><description>Malware and related tools use public IP check services to enumerate victim external IP addresses for reconnaissance and situational awareness.</description><content:encoded><![CDATA[<p>This brief focuses on the technique of malware and related tools querying public IP check services to identify the external IP address of a compromised host. This activity is typically performed early in the infection lifecycle to give the attacker situational awareness of the victim's network. This information can be used to tailor attacks, identify the victim's geographic location, and potentially identify the organization to which the victim belongs. This technique is used by a wide variety of malware families, including Trickbot, Azorult, and many others, to perform reconnaissance on the compromised host. This behavior is identified using Sysmon EventCode 22 logs, specifically monitoring DNS queries to services.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>A user unknowingly executes a malicious executable (e.g., via drive-by download or opening a malicious attachment).</li>
<li>The malicious executable starts on the host, typically with user-level privileges.</li>
<li>The malware initiates a DNS query to a known IP check service (e.g., <code>wtfismyip.com</code>, <code>ipinfo.io</code>, <code>icanhazip.com</code>) using the <code>QueryName</code> field in Sysmon Event ID 22.</li>
<li>The DNS query is resolved, and the malware receives the external IP address of the compromised host.</li>
<li>The malware may then use this IP address for further reconnaissance, such as geolocation lookups or identifying the organization to which the IP address belongs.</li>
<li>The gathered information is sent back to the attacker-controlled command-and-control (C2) server.</li>
<li>The attacker uses the gathered information to tailor subsequent attacks, such as lateral movement or data exfiltration.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful execution of this reconnaissance technique provides attackers with valuable information about the victim's network. This information can be used to tailor subsequent attacks, increasing the likelihood of success. In the case of ransomware attacks, knowing the victim's organization can allow the attacker to demand a larger ransom. The use of IP check services has been observed across a diverse range of malware families and impacts organizations across all sectors.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Enable Sysmon Event ID 22 logging to capture DNS query events.</li>
<li>Deploy the Sigma rules in this brief to your SIEM and tune for your environment.</li>
<li>Block the C2 domains listed in the IOC table at the DNS resolver.</li>
<li>Investigate any unusual process making DNS queries to IP check services, as highlighted by the detection rules.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>reconnaissance</category><category>malware</category><category>windows</category></item></channel></rss>