Analysis
- max time kernel
148s - max time network
148s - platform
windows10-2004_x64 - resource
win10v2004-20240426-en - resource tags
arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system - submitted
06/05/2024, 16:25
Behavioral task
behavioral1
Sample
1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe
Resource
win7-20240221-en
14 signatures
150 seconds
Behavioral task
behavioral2
Sample
1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe
Resource
win10v2004-20240426-en
16 signatures
150 seconds
General
- Target 1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe
- Size 270KB
- Sample240506-txd2jadc59
- SHA256 70668c180217f0354ad3da0b852948423b4217cbc8f3cffb986430bd5e5d910c
- MD5 1d5e6f06b05e39f726439c058ff11ebf
- SHA1 5a6f3293d1980a7220ec3c264f4c87e5f5c4ba4f
- SHA512 f2ec95c96315d687cf8db05e1cf360e77e6bb84659e19ea5029b51d6ec6814b8aafe6e3deadb9bd0fc332b0794283d1f650494cec79dd4f7a4f2f8e3f4e4c1f0
- SSDEEP 6144:KG377xS2Vp2CeiorXhwTBOz53QpcCJJvH:Zr7xS2Vp6FwT/bJJvH
- 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/files/0x000a00000002341a-5.dat modiloader_stage2 behavioral2/memory/4200-10-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-26-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-29-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-32-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-35-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-38-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-41-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-44-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-47-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-50-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-53-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-56-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-59-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-62-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/2736-65-0x0000000000400000-0x000000000044B000-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-3906287020-2915474608-1755617787-1000\Control Panel\International\Geo\Nation 1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe - Deletes itself 1 IoCs
pid Process 2736 mstwain32.exe - Executes dropped EXE 1 IoCs
pid Process 2736 mstwain32.exe - Loads dropped DLL 4 IoCs
pid Process 2736 mstwain32.exe 2736 mstwain32.exe 2736 mstwain32.exe 2736 mstwain32.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3906287020-2915474608-1755617787-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 1d5e6f06b05e39f726439c058ff11ebf_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 1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 1d5e6f06b05e39f726439c058ff11ebf_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 4200 1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe Token: SeBackupPrivilege 644 vssvc.exe Token: SeRestorePrivilege 644 vssvc.exe Token: SeAuditPrivilege 644 vssvc.exe Token: SeDebugPrivilege 2736 mstwain32.exe Token: SeDebugPrivilege 2736 mstwain32.exe - Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2736 mstwain32.exe 2736 mstwain32.exe - Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4200 wrote to memory of 2736 4200 1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe 94 PID 4200 wrote to memory of 2736 4200 1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe 94 PID 4200 wrote to memory of 2736 4200 1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe 94 - 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\1d5e6f06b05e39f726439c058ff11ebf_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\1d5e6f06b05e39f726439c058ff11ebf_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:4200 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\1d5e6f06b05e39f726439c058ff11ebf_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:2736
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:644
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 fe829e5b09cf72699ddc93223d03811f9ffa7a8c56efa8aaf125b59e2c048792
- MD5 8487712c028dabaa68ac525b18561443
- SHA1 ba264866badd556380bd3dd954feec03a9a5203c
- SHA512 99b213176ecfac4f427268a19762e8d19e427e4857bc951b28ce3fd82f6b05459cb4add95e11a97c7278a45702b1dce36c03db4a1a28a64c0bb0a0b52b9fda75
- SSDEEP 768:l+aoi6qZOpQB5ZpOc06HCMN9GT6RJ5BHUEy2YEZZEo:l+av6qZ4QxpP0AtNfRJ5BHxY
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\mstwain32.exe
- Size 270KB
- SHA256 70668c180217f0354ad3da0b852948423b4217cbc8f3cffb986430bd5e5d910c
- MD5 1d5e6f06b05e39f726439c058ff11ebf
- SHA1 5a6f3293d1980a7220ec3c264f4c87e5f5c4ba4f
- SHA512 f2ec95c96315d687cf8db05e1cf360e77e6bb84659e19ea5029b51d6ec6814b8aafe6e3deadb9bd0fc332b0794283d1f650494cec79dd4f7a4f2f8e3f4e4c1f0
- SSDEEP 6144:KG377xS2Vp2CeiorXhwTBOz53QpcCJJvH:Zr7xS2Vp6FwT/bJJvH
- 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