Analysis
- max time kernel
148s - max time network
149s - platform
windows10-2004_x64 - resource
win10v2004-20240611-en - resource tags
arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system - submitted
21/06/2024, 14:35
Behavioral task
behavioral1
Sample
0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe
Resource
win7-20240611-en
15 signatures
150 seconds
Behavioral task
behavioral2
Sample
0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe
Resource
win10v2004-20240611-en
17 signatures
150 seconds
General
- Target 0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe
- Size 270KB
- Sample240621-ryadmatfla
- SHA256 2a66f3124e40f456379a6411e590a4fefe419369b2a72512c3cde208c6557024
- MD5 0c51f0ffaa5f24dc870866bb2e623db5
- SHA1 11b932669e417ee534d98562f696654affc97f95
- SHA512 50eb93e4d153f756d9c0aacdb472fd2206a4fd9c2a52ecca9a57663b44badb5360b216856ec7679728df9f360bb24745720a6fe48ec99bdd506fe24118f3a681
- SSDEEP 6144:v8jZ7rvaU3+mWNnUsKeRoSY100000R0000y0v000509aLu6vGpfw0B:veFzFOnUs9oSYJLDGf
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
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/4028-11-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-28-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-31-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-32-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-35-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-38-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-41-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-44-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-47-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-50-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-53-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-56-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-59-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-62-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-65-0x0000000000400000-0x000000000049F000-memory.dmp modiloader_stage2 behavioral2/memory/440-68-0x0000000000400000-0x000000000049F000-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-2080292272-204036150-2159171770-1000\Control Panel\International\Geo\Nation 0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe - Deletes itself 1 IoCs
pid Process 440 mstwain32.exe - Executes dropped EXE 1 IoCs
pid Process 440 mstwain32.exe - Loads dropped DLL 4 IoCs
pid Process 440 mstwain32.exe 440 mstwain32.exe 440 mstwain32.exe 440 mstwain32.exe -
resource yara_rule behavioral2/memory/4028-0-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/files/0x0008000000023412-6.dat upx behavioral2/memory/4028-11-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-28-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-31-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-32-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-35-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-38-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-41-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-44-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-47-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-50-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-53-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-56-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-59-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-62-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-65-0x0000000000400000-0x000000000049F000-memory.dmp upx behavioral2/memory/440-68-0x0000000000400000-0x000000000049F000-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-2080292272-204036150-2159171770-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 0c51f0ffaa5f24dc870866bb2e623db5_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\mstwain32.exe 0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.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).
- Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 4028 0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe Token: SeBackupPrivilege 3076 vssvc.exe Token: SeRestorePrivilege 3076 vssvc.exe Token: SeAuditPrivilege 3076 vssvc.exe Token: SeDebugPrivilege 440 mstwain32.exe Token: SeDebugPrivilege 440 mstwain32.exe - Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 440 mstwain32.exe 440 mstwain32.exe - Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4028 wrote to memory of 440 4028 0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe 92 PID 4028 wrote to memory of 440 4028 0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe 92 PID 4028 wrote to memory of 440 4028 0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe 92 - 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\0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\0c51f0ffaa5f24dc870866bb2e623db5_JaffaCakes118.exe"1⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4028 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\0c51f0ffaa5f24dc870866bb2e623db5_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
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:440
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3076
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
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Windows\cmsetac.dll
- Size 33KB
- SHA256 ec9bfd26bd39b85c7ea6add7450fc8d380996c4b9c2509315fcacc78478f27f9
- MD5 5a71b40193f57d65e0107ea122e12aeb
- SHA1 6a9489417c7634d8af69aa6675d738fa8e9139ee
- SHA512 e2568359f74f8fcee5cf7c2c02c2e69d7592c3dc2ea6c513361d81336935703f4d1ba7962b961be2599f7fb1165cf777b2426f3f7f9c3afc64dda3f925c837c5
- SSDEEP 768:T+aoi6qZOpQB5ZpOc06HCMN9GT6RJ5BHUEy2YEZZEo:T+av6qZ4QxpP0AtNfRJ5BHxY
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\mstwain32.exe
- Size 270KB
- SHA256 2a66f3124e40f456379a6411e590a4fefe419369b2a72512c3cde208c6557024
- MD5 0c51f0ffaa5f24dc870866bb2e623db5
- SHA1 11b932669e417ee534d98562f696654affc97f95
- SHA512 50eb93e4d153f756d9c0aacdb472fd2206a4fd9c2a52ecca9a57663b44badb5360b216856ec7679728df9f360bb24745720a6fe48ec99bdd506fe24118f3a681
- SSDEEP 6144:v8jZ7rvaU3+mWNnUsKeRoSY100000R0000y0v000509aLu6vGpfw0B:veFzFOnUs9oSYJLDGf
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\ntdtcstp.dll
- Size 7KB
- SHA256 e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
- MD5 67587e25a971a141628d7f07bd40ffa0
- SHA1 76fcd014539a3bb247cc0b761225f68bd6055f6b
- SHA512 6e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350
- SSDEEP 96:nPI4WiJu8aFwiFtih01Rl532eJWahK4oDImBx:ndW0u8/Jh0Dl532eJWao4i/
- MD5 SHA1 SHA512 SSDEEP