Analysis
-
max time kernel
143s -
max time network
150s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
12-09-2024 16:37
Static task
static1
Behavioral task
behavioral1
Sample
dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe
-
Size
727KB
-
MD5
dc9fe768496aab96498dfbc92b1619e9
-
SHA1
e0a20a3ca48fac2444ee585099f2d07e0661e9ab
-
SHA256
1c14d4726cec119769d96c62767190a6aef5acef7fe1b1d31920b788276a64d0
-
SHA512
1e61f3040423f97773c8ac3aad12cb0bd12961d889de3c99928659b4d4bff9396668d8be84197ce81b80f4563a26e9d5b18f28330f5f89858c19976ef87e50e5
-
SSDEEP
12288:19So7YNQj4WioPJicryGBWECTz+myfkoNwCg8GhxHcJbmqMrUAP8X33io8qescrd:zwQ66icoEC+RNwCwObmNrU08X33m/d
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 21 IoCs
resource yara_rule behavioral2/memory/4952-8-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4952-9-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/4952-22-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-34-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-33-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-36-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-48-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-51-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-52-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-55-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-58-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-61-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-64-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-67-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-70-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-73-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-76-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-79-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-82-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-85-0x0000000000400000-0x0000000000450000-memory.dmp modiloader_stage2 behavioral2/memory/780-88-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-2170637797-568393320-3232933035-1000\Control Panel\International\Geo\Nation dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe -
Executes dropped EXE 2 IoCs
pid Process 1844 mstwain32.exe 780 mstwain32.exe -
Loads dropped DLL 4 IoCs
pid Process 780 mstwain32.exe 780 mstwain32.exe 780 mstwain32.exe 780 mstwain32.exe -
resource yara_rule behavioral2/memory/4952-4-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4952-6-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4952-8-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4952-9-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/4952-22-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-34-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-33-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-32-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-36-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-48-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-51-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-52-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-55-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-58-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-61-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-64-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-67-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-70-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-73-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-76-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-79-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-82-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-85-0x0000000000400000-0x0000000000450000-memory.dmp upx behavioral2/memory/780-88-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-2170637797-568393320-3232933035-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 dc9fe768496aab96498dfbc92b1619e9_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 -
Suspicious use of NtSetInformationThreadHideFromDebugger 1 IoCs
pid Process 1844 mstwain32.exe -
Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 1348 set thread context of 4952 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 89 PID 1844 set thread context of 780 1844 mstwain32.exe 96 -
Drops file in Windows directory 5 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 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 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 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.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 6 IoCs
description pid Process Token: SeDebugPrivilege 4952 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe Token: SeBackupPrivilege 2020 vssvc.exe Token: SeRestorePrivilege 2020 vssvc.exe Token: SeAuditPrivilege 2020 vssvc.exe Token: SeDebugPrivilege 780 mstwain32.exe Token: SeDebugPrivilege 780 mstwain32.exe -
Suspicious use of SetWindowsHookEx 6 IoCs
pid Process 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 1844 mstwain32.exe 1844 mstwain32.exe 780 mstwain32.exe 780 mstwain32.exe -
Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 1348 wrote to memory of 4952 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 89 PID 1348 wrote to memory of 4952 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 89 PID 1348 wrote to memory of 4952 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 89 PID 1348 wrote to memory of 4952 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 89 PID 1348 wrote to memory of 4952 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 89 PID 1348 wrote to memory of 4952 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 89 PID 1348 wrote to memory of 4952 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 89 PID 1348 wrote to memory of 4952 1348 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 89 PID 4952 wrote to memory of 1844 4952 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 95 PID 4952 wrote to memory of 1844 4952 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 95 PID 4952 wrote to memory of 1844 4952 dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe 95 PID 1844 wrote to memory of 780 1844 mstwain32.exe 96 PID 1844 wrote to memory of 780 1844 mstwain32.exe 96 PID 1844 wrote to memory of 780 1844 mstwain32.exe 96 PID 1844 wrote to memory of 780 1844 mstwain32.exe 96 PID 1844 wrote to memory of 780 1844 mstwain32.exe 96 PID 1844 wrote to memory of 780 1844 mstwain32.exe 96 PID 1844 wrote to memory of 780 1844 mstwain32.exe 96 PID 1844 wrote to memory of 780 1844 mstwain32.exe 96 -
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\dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1348 -
C:\Users\Admin\AppData\Local\Temp\dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exeC:\Users\Admin\AppData\Local\Temp\dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.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 WriteProcessMemory
PID:4952 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\dc9fe768496aab96498dfbc92b1619e9_JaffaCakes118.exe"3⤵
- Executes dropped EXE
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Suspicious use of SetThreadContext
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
PID:1844 -
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:780
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2020
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4064,i,12470628711992022444,7767535593390851522,262144 --variations-seed-version --mojo-platform-channel-handle=4056 /prefetch:81⤵PID:4420
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
MD593a1a0d965d4aa5bbce04689dfbae735
SHA1053794a30dec9407307feddfdab245369327865a
SHA25653ab09c851d8f3eb88bf56490c4762e5053232c9ac201bbd07439ec04dbcd620
SHA51230e909f9e970f69ac6c7278f6481a8a7227b186b73e1b8dde7404063fcd29439092550179138615102ddb2f2d14a42f33a773b3537c8322f324420a1f3a755ca
-
Filesize
727KB
MD5dc9fe768496aab96498dfbc92b1619e9
SHA1e0a20a3ca48fac2444ee585099f2d07e0661e9ab
SHA2561c14d4726cec119769d96c62767190a6aef5acef7fe1b1d31920b788276a64d0
SHA5121e61f3040423f97773c8ac3aad12cb0bd12961d889de3c99928659b4d4bff9396668d8be84197ce81b80f4563a26e9d5b18f28330f5f89858c19976ef87e50e5
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350
-
Filesize
14B
MD5580849b8b90cc90c0ca4152af6af2849
SHA1ff8403694612ded056e398eefb45e24b806223b0
SHA25694246097cf89726f74aaf35ecd98a98020e203d0c3faf746468ad14d18cf0a9c
SHA5123c8995737409349f9295650027e38be3c1cb297d9b24c2926486c39604a438e1b2050621d0e4120575e2091dcd8c68ab94bf01d3956911fad5d6c0bd1a585fcd