Analysis
-
max time kernel
140s -
max time network
121s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system -
submitted
27/11/2024, 02:56
Behavioral task
behavioral1
Sample
a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe
Resource
win7-20240708-en
Behavioral task
behavioral2
Sample
a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe
Resource
win10v2004-20241007-en
General
-
Target
a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe
-
Size
136KB
-
MD5
a58c643d9ba9679e24a0fbd4ce28d021
-
SHA1
67e273901d78750eec00c277bc6dfa634ba45116
-
SHA256
d76bede45059fce7836e3e3bb7470be2cf4b694569302aa82cd9eca880e0c660
-
SHA512
101624925a4ffff9e524f6edc2609090058be272519dc84a8cb3d0419005420d6f78daca44e53b61c0cece340199df56a3f647cb2ececca928e37ac706d23012
-
SSDEEP
3072:Qoy8j7VnNdrPHaSekwi+mW+2IuoutCqaY7Y5ag:A8jZ7rvaU3+mWrFoSfMsg
Malware Config
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Modiloader family
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 19 IoCs
resource yara_rule behavioral1/memory/2196-11-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-19-0x0000000075430000-0x0000000075520000-memory.dmp modiloader_stage2 behavioral1/memory/2764-20-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-21-0x0000000075430000-0x0000000075520000-memory.dmp modiloader_stage2 behavioral1/memory/2764-22-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-25-0x0000000075430000-0x0000000075520000-memory.dmp modiloader_stage2 behavioral1/memory/2764-26-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-29-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-32-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-35-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-38-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-41-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-44-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-47-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-50-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-53-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-56-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-59-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 behavioral1/memory/2764-62-0x0000000000400000-0x0000000000457000-memory.dmp modiloader_stage2 -
Executes dropped EXE 1 IoCs
pid Process 2764 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3551809350-4263495960-1443967649-1000\Software\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe -
resource yara_rule behavioral1/memory/2196-0-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/files/0x00090000000120f9-6.dat upx behavioral1/memory/2196-11-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-19-0x0000000075430000-0x0000000075520000-memory.dmp upx behavioral1/memory/2764-20-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-22-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-25-0x0000000075430000-0x0000000075520000-memory.dmp upx behavioral1/memory/2764-26-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-29-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-32-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-35-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-38-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-41-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-44-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-47-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-50-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-53-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-56-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-59-0x0000000000400000-0x0000000000457000-memory.dmp upx behavioral1/memory/2764-62-0x0000000000400000-0x0000000000457000-memory.dmp upx -
Drops file in Windows directory 4 IoCs
description ioc Process File opened for modification C:\Windows\mstwain32.exe a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe a58c643d9ba9679e24a0fbd4ce28d021_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 a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2196 a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe Token: SeDebugPrivilege 2764 mstwain32.exe Token: SeDebugPrivilege 2764 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2764 mstwain32.exe 2764 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2196 wrote to memory of 2764 2196 a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe 30 PID 2196 wrote to memory of 2764 2196 a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe 30 PID 2196 wrote to memory of 2764 2196 a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe 30 PID 2196 wrote to memory of 2764 2196 a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe 30 -
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\a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\a58c643d9ba9679e24a0fbd4ce28d021_JaffaCakes118.exe"1⤵
- 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:2196 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- Executes dropped EXE
- 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:2764
-
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
136KB
MD5a58c643d9ba9679e24a0fbd4ce28d021
SHA167e273901d78750eec00c277bc6dfa634ba45116
SHA256d76bede45059fce7836e3e3bb7470be2cf4b694569302aa82cd9eca880e0c660
SHA512101624925a4ffff9e524f6edc2609090058be272519dc84a8cb3d0419005420d6f78daca44e53b61c0cece340199df56a3f647cb2ececca928e37ac706d23012