Analysis
-
max time kernel
149s -
max time network
151s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
21-09-2024 17:30
Behavioral task
behavioral1
Sample
f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe
Resource
win7-20240704-en
Behavioral task
behavioral2
Sample
f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe
-
Size
109KB
-
MD5
f04c9bc862af356140be373005c6bc19
-
SHA1
8afe227e9194487cb8212713be8e379910339ff8
-
SHA256
38291eeb3ede9544299a5114a194e675c3baf3e9eec36fd75f303593bd848e31
-
SHA512
10e06acf58174acfd280f66887468bf19de878b2776d5aaa458479646c268ff05467cdcd033dd52bf79869917a10622e4d4623344d8e88d507656280fc81ed6f
-
SSDEEP
3072:moy8j7VnNdrPHaSekwi+mW+2u8UYQ7WVw2Tout:G8jZ7rvaU3+mWru8UuVw2ToS
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 16 IoCs
resource yara_rule behavioral2/memory/2736-12-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-28-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-29-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-32-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-35-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-38-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-41-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-44-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-47-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-50-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-53-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-56-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-59-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-62-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-65-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/1240-68-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-2718105630-359604950-2820636825-1000\Control Panel\International\Geo\Nation f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe -
Deletes itself 1 IoCs
pid Process 1240 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 1240 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 1240 mstwain32.exe 1240 mstwain32.exe 1240 mstwain32.exe 1240 mstwain32.exe -
resource yara_rule behavioral2/memory/2736-0-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/files/0x0008000000023450-6.dat upx behavioral2/memory/2736-12-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-28-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-29-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-32-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-35-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-38-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-41-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-44-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-47-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-50-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-53-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-56-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-59-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-62-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-65-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/1240-68-0x0000000000400000-0x0000000000450000-memory.dmp upx -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA f04c9bc862af356140be373005c6bc19_JaffaCakes118.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 -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 2 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 f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2736 f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe Token: SeBackupPrivilege 1916 vssvc.exe Token: SeRestorePrivilege 1916 vssvc.exe Token: SeAuditPrivilege 1916 vssvc.exe Token: SeDebugPrivilege 1240 mstwain32.exe Token: SeDebugPrivilege 1240 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 1240 mstwain32.exe 1240 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 2736 wrote to memory of 1240 2736 f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe 90 PID 2736 wrote to memory of 1240 2736 f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe 90 PID 2736 wrote to memory of 1240 2736 f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe 90 -
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 -
Uses Volume Shadow Copy service COM API
The Volume Shadow Copy service is used to manage backups/snapshots.
Processes
-
C:\Users\Admin\AppData\Local\Temp\f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe"1⤵
- 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 WriteProcessMemory
PID:2736 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\f04c9bc862af356140be373005c6bc19_JaffaCakes118.exe"2⤵
- UAC bypass
- Deletes itself
- 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:1240
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:1916
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
33KB
MD5447dc01d6d3dc51b95f03fff732457e6
SHA10466e6726b22a5167295189f0d44cb94697dcd4b
SHA2561221021d4f1f0d361c0128e794a9aa967ccc7b1064bcb25c87daad1073f94a5a
SHA512b4c24d40b5f78bf1a03b775d7edfb11ef440bc4f0d42cfcc9b796d404b739d97787fb41095f29b017c80a9c22ef9bfd30ee5b545091fcc114678c05de094431f
-
Filesize
109KB
MD5f04c9bc862af356140be373005c6bc19
SHA18afe227e9194487cb8212713be8e379910339ff8
SHA25638291eeb3ede9544299a5114a194e675c3baf3e9eec36fd75f303593bd848e31
SHA51210e06acf58174acfd280f66887468bf19de878b2776d5aaa458479646c268ff05467cdcd033dd52bf79869917a10622e4d4623344d8e88d507656280fc81ed6f
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350