← Back to SOC feed Coverage →

ThreatFox: HabitsRAT IOCs

ioc-hunt HIGH ThreatFox
DeviceFileEvents
backdooriocthreatfoxwin-habitsrat
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at ThreatFox →
Retrieved: 2026-08-25T23:00:00Z · Confidence: high

Hunt Hypothesis

This hunt detects adversary behavior involving the deployment of HabitsRAT remote access trojan by monitoring for specific indicators of compromise such as malicious file hashes and network connections. A SOC team should proactively hunt for these IOCs in Azure Sentinel to identify early-stage infections that could lead to credential theft, lateral movement, or data exfiltration before they escalate into a full-blown incident.

IOC Summary

Malware Family: HabitsRAT Total IOCs: 3 IOC Types: sha1_hash, md5_hash, sha256_hash

TypeValueThreat TypeFirst SeenConfidence
sha256_hash676a249f36ca2fe67297e167f622679023b4f474c634c690a7db96d75a00d8adpayload2026-08-2595%
sha1_hash1d5c6e845ea6044dff2e504621e578cadadf7984payload2026-08-2595%
md5_hashb2b14596a08d505ce385c914c6a971f8payload2026-08-2595%

KQL: Hash Hunt

// Hunt for files matching known malicious hashes
// Source: ThreatFox - HabitsRAT
let malicious_hashes = dynamic(["676a249f36ca2fe67297e167f622679023b4f474c634c690a7db96d75a00d8ad", "1d5c6e845ea6044dff2e504621e578cadadf7984", "b2b14596a08d505ce385c914c6a971f8"]);
DeviceFileEvents
| where SHA256 in (malicious_hashes) or SHA1 in (malicious_hashes) or MD5 in (malicious_hashes)
| project Timestamp, DeviceName, FileName, FolderPath, SHA256, InitiatingProcessFileName
| order by Timestamp desc

Required Data Sources

Sentinel TableNotes
DeviceFileEventsEnsure this data connector is enabled

References

False Positive Guidance

Here are specific false positive scenarios for the ThreatFox: HabitsRAT IOCs detection rule, including tailored filters and exclusions suitable for an enterprise environment:

Original source: https://threatfox.abuse.ch/browse/malware/win.habitsrat/