Analysis
-
max time kernel
141s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system -
submitted
15-12-2024 13:29
Behavioral task
behavioral1
Sample
f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe
Resource
win7-20240708-en
General
-
Target
f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe
-
Size
771KB
-
MD5
f43933b50fd0bfc96da5a0e2e4a12973
-
SHA1
6d3b255a352901a2bd5bc24a015e6a07b50e4d3b
-
SHA256
f5f424d1dd1dbb7ad82b9f202b5a3d526635d5428add023c6a72d720e96000ce
-
SHA512
9c6236e7d407713777621afad96b1ad0ab50d9a1eba3573c3e22de7a20ed271f045122f23562436eb8a618fc6869591f7e515b7d1ce3959b62f4c4bee8aeda12
-
SSDEEP
24576:wEvm150IWxOjgE5XiaMturF8EamIo2f0wm+EfU4n:wEy5t5XCwhzI70wL6U4n
Malware Config
Extracted
latentbot
turkojan4hacker.zapto.org
Signatures
-
Latentbot family
-
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 32 IoCs
resource yara_rule behavioral1/memory/3028-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/3028-3-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/3028-4-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/3028-13-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-17-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-23-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-27-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-28-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-29-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-24-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-19-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-18-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-30-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-31-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-32-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-33-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-34-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-37-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-38-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-39-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-42-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-45-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-48-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-51-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-54-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-57-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-60-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-63-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-66-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-69-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-72-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 behavioral1/memory/2740-75-0x0000000000400000-0x00000000005B9000-memory.dmp modiloader_stage2 -
Executes dropped EXE 1 IoCs
pid Process 2740 mstwain32.exe -
Identifies Wine through registry keys 2 TTPs 2 IoCs
Wine is a compatibility layer capable of running Windows applications, which can be used as sandboxing environment.
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3551809350-4263495960-1443967649-1000\Software\Wine mstwain32.exe Key opened \REGISTRY\USER\S-1-5-21-3551809350-4263495960-1443967649-1000\Software\Wine f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe -
resource yara_rule behavioral1/memory/3028-0-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/3028-3-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/3028-4-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/files/0x00080000000120fb-11.dat themida behavioral1/memory/2740-16-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/3028-13-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-17-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-23-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-27-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-28-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-29-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-24-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-19-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-18-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-30-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-31-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-32-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-33-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-34-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-37-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-38-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-39-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-42-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-45-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-48-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-51-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-54-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-57-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-60-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-63-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-66-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-69-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-72-0x0000000000400000-0x00000000005B9000-memory.dmp themida behavioral1/memory/2740-75-0x0000000000400000-0x00000000005B9000-memory.dmp themida -
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 Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA f43933b50fd0bfc96da5a0e2e4a12973_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 2 IoCs
pid Process 3028 f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe 2740 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 f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe f43933b50fd0bfc96da5a0e2e4a12973_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 f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 3028 f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe 2740 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 3028 f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe Token: SeDebugPrivilege 2740 mstwain32.exe Token: SeDebugPrivilege 2740 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 2740 mstwain32.exe 2740 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 3028 wrote to memory of 2740 3028 f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe 30 PID 3028 wrote to memory of 2740 3028 f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe 30 PID 3028 wrote to memory of 2740 3028 f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe 30 PID 3028 wrote to memory of 2740 3028 f43933b50fd0bfc96da5a0e2e4a12973_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\f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\f43933b50fd0bfc96da5a0e2e4a12973_JaffaCakes118.exe"1⤵
- Identifies Wine through registry keys
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3028 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- Executes dropped EXE
- Identifies Wine through registry keys
- Adds Run key to start application
- Checks whether UAC is enabled
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Drops file in Windows directory
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:2740
-
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
3Virtualization/Sandbox Evasion
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
771KB
MD5f43933b50fd0bfc96da5a0e2e4a12973
SHA16d3b255a352901a2bd5bc24a015e6a07b50e4d3b
SHA256f5f424d1dd1dbb7ad82b9f202b5a3d526635d5428add023c6a72d720e96000ce
SHA5129c6236e7d407713777621afad96b1ad0ab50d9a1eba3573c3e22de7a20ed271f045122f23562436eb8a618fc6869591f7e515b7d1ce3959b62f4c4bee8aeda12