Analysis
-
max time kernel
149s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
22-01-2025 18:13
Static task
static1
Behavioral task
behavioral1
Sample
JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe
Resource
win10v2004-20241007-en
General
-
Target
JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe
-
Size
136KB
-
MD5
0ff5bc6760c5e003005e57ece1073a86
-
SHA1
3eb8f719413886512992e5df88e565f9f1cd85c3
-
SHA256
e0a7c3f6bed891c49170abdba7eb64320f8d6b71cf05c241498b279e804a0733
-
SHA512
62fdc5fc63b37264a4474bee78b22663c4acf02169347a84f6419794297021ee81f7aa2d5d15b15e7c5d68df2e4480ab0c441ef7f9a58339c2b093eb5d30af4f
-
SSDEEP
3072:GZswd5SSJj3JDP+dIzRyQEhpdXFARy6Ne18RhpsxhX/LfG19PeH1iC:sfdASJtzzRH4X1Y9NNzpMSDPfC
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
UAC bypass 3 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 23 IoCs
resource yara_rule behavioral2/memory/1744-6-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1744-5-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1744-7-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1744-20-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-30-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-29-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-31-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-43-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-47-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-48-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-51-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-54-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-57-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-60-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-63-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-66-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-69-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-72-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-75-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-78-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-81-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/436-84-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\Control Panel\International\Geo\Nation JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe -
Executes dropped EXE 2 IoCs
pid Process 2932 mstwain32.exe 436 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 436 mstwain32.exe 436 mstwain32.exe 436 mstwain32.exe 436 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Checks whether UAC is enabled 1 TTPs 3 IoCs
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 1588 set thread context of 1744 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 83 PID 2932 set thread context of 436 2932 mstwain32.exe 86 -
resource yara_rule behavioral2/memory/1744-2-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1744-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1744-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1744-5-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1744-7-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1744-20-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-28-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-30-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-31-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-43-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-47-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-48-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-51-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-54-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-57-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-60-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-63-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-66-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-69-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-72-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-75-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-78-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-81-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/436-84-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Drops file in Windows directory 5 IoCs
description ioc Process File created C:\Windows\mstwain32.exe JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe File opened for modification C:\Windows\mstwain32.exe JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe File opened for modification C:\Windows\mstwain32.exe mstwain32.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 4 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 1744 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe Token: SeDebugPrivilege 436 mstwain32.exe Token: SeDebugPrivilege 436 mstwain32.exe -
Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 1744 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe -
Suspicious use of SetWindowsHookEx 6 IoCs
pid Process 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 2932 mstwain32.exe 2932 mstwain32.exe 436 mstwain32.exe 436 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 1588 wrote to memory of 1744 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 83 PID 1588 wrote to memory of 1744 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 83 PID 1588 wrote to memory of 1744 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 83 PID 1588 wrote to memory of 1744 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 83 PID 1588 wrote to memory of 1744 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 83 PID 1588 wrote to memory of 1744 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 83 PID 1588 wrote to memory of 1744 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 83 PID 1588 wrote to memory of 1744 1588 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 83 PID 1744 wrote to memory of 2932 1744 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 85 PID 1744 wrote to memory of 2932 1744 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 85 PID 1744 wrote to memory of 2932 1744 JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe 85 PID 2932 wrote to memory of 436 2932 mstwain32.exe 86 PID 2932 wrote to memory of 436 2932 mstwain32.exe 86 PID 2932 wrote to memory of 436 2932 mstwain32.exe 86 PID 2932 wrote to memory of 436 2932 mstwain32.exe 86 PID 2932 wrote to memory of 436 2932 mstwain32.exe 86 PID 2932 wrote to memory of 436 2932 mstwain32.exe 86 PID 2932 wrote to memory of 436 2932 mstwain32.exe 86 PID 2932 wrote to memory of 436 2932 mstwain32.exe 86 -
System policy modification 1 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1588 -
C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exeC:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe2⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of FindShellTrayWindow
- Suspicious use of WriteProcessMemory
PID:1744 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0ff5bc6760c5e003005e57ece1073a86.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:2932 -
C:\Windows\mstwain32.exeC:\Windows\mstwain32.exe4⤵
- UAC bypass
- Executes dropped EXE
- Loads dropped DLL
- Adds Run key to start application
- Checks whether UAC is enabled
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:436
-
-
-
Network
MITRE ATT&CK Enterprise v15
Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Defense Evasion
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Impair Defenses
1Disable or Modify Tools
1Modify Registry
3Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
32KB
MD541a0f000b89529f56bb4d98254933d9c
SHA113c650bfaa758576835758354aa56897603d6939
SHA25663aba25689d9e6ba12d8b386c72475a7a7fab869c91af11e5695291894893329
SHA512f00658434ad40566f2b84312065fe4b18429784c2d1fcf074b18f781000a93cdeeacf4bd8502020df69383926727a7e31a9efb1b25b4fc3774a9244a0cd61986
-
Filesize
136KB
MD50ff5bc6760c5e003005e57ece1073a86
SHA13eb8f719413886512992e5df88e565f9f1cd85c3
SHA256e0a7c3f6bed891c49170abdba7eb64320f8d6b71cf05c241498b279e804a0733
SHA51262fdc5fc63b37264a4474bee78b22663c4acf02169347a84f6419794297021ee81f7aa2d5d15b15e7c5d68df2e4480ab0c441ef7f9a58339c2b093eb5d30af4f
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350