Concrete signature match: Trojan - Appears legitimate but performs malicious actions for 32-bit Windows platform, family ModiLoader
Trojan:Win32/ModiLoader.LM!MTB is a loader trojan detected by machine learning behavioral analysis. It leverages multiple built-in Windows tools (LOLBins) and advanced techniques like API hooking to establish persistence, evade detection, and download additional malicious payloads onto the compromised system.
Relevant strings associated with this threat: - !#HSTR:StringCodeForMshta.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.C!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.D!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.L!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.O!pli (PEHSTR_EXT) - !#HSTR:StringCodeForRegsvr32.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForRundll32.A!pli (PEHSTR_EXT) - rundll32 (PEHSTR_EXT) - !#HSTR:StringCodeForBITSJobs.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForPowerShell.G!pli (PEHSTR_EXT) - !#HSTR:StringCodeForScheduledTask.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForDataEncoding.D!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.J!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.K!pli (PEHSTR_EXT) - !#HSTR:StringCodeForRemoteFileCopy.B!pli (PEHSTR_EXT) - !#HSTR:ExecutionGuardrails (PEHSTR_EXT) - !#HSTR:StringCodeForFileDeletion.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForHooking.M!pli (PEHSTR_EXT) - !#HSTR:StringCodeForNetshHelperDLL.A!pli (PEHSTR_EXT) - !#HSTR:StringCodeForRemoteServices.A!pli (PEHSTR_EXT)
rule Trojan_Win32_ModiLoader_LM_2147946094_0
{
meta:
author = "threatcheck.sh"
detection_name = "Trojan:Win32/ModiLoader.LM!MTB"
threat_id = "2147946094"
type = "Trojan"
platform = "Win32: Windows 32-bit platform"
family = "ModiLoader"
severity = "Critical"
info = "MTB: Microsoft Threat Behavior"
signature_type = "SIGNATURE_TYPE_PEHSTR_EXT"
threshold = "30"
strings_accuracy = "Low"
strings:
$x_20_1 = {8b 45 ac 3b 45 a8 73 ?? 8b 45 a8 31 45 ac 8b 45 ac 31 45 a8 8b 45 a8 31 45 ac} //weight: 20, accuracy: Low
$x_10_2 = {8d 04 b6 8b 44 c7 08 89 45 ac 8d 04 b6 8b 44 c7 10 89 45 a8} //weight: 10, accuracy: High
condition:
(filesize < 20MB) and
(all of ($x*))
}70d1c832e97bcc3a1c2d4803b9dfcce4b67e3bd422f93848a7bb0884c9e3cabecc7d970b366fac85dffbfef76441a241827cad22ca0797f8c19d5b1bad4b8b89Immediately isolate the affected device from the network. Use Windows Defender or another trusted security tool to run a full scan and remove the detected files. Investigate for persistence mechanisms (e.g., scheduled tasks, registry run keys) and signs of additional malware payloads, then reset any potentially compromised user credentials.