Analysis
-
max time kernel
144s -
max time network
120s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
24-11-2024 08:30
Behavioral task
behavioral1
Sample
938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe
Resource
win7-20240903-en
General
-
Target
938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe
-
Size
797KB
-
MD5
938fc4c7110c5ca0fe24d632fd8e3eb3
-
SHA1
acd03b8ce4bda1b5ede9b474d6420e58077c88ec
-
SHA256
0a0750b1eedf3243cd8b8e5afc89902546b0ee415ad3941701d51bc33dee363b
-
SHA512
7ab109b985acc00031e6a36299724ed7011f9aa5a91a3392cd26f5254a634d8b604ead4584aac1ce7319aa3e50d059a3a932babac2c04ca2ab51cad46577351b
-
SSDEEP
24576:B4gmmuYh+WnK7wPgWJ6pw/gNiVy41RAqg:BNmTYhKMPt6pXNiVy41o
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 40 IoCs
resource yara_rule behavioral1/memory/2896-1-0x0000000000401000-0x000000000041C000-memory.dmp modiloader_stage2 behavioral1/memory/2896-4-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/2896-3-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/2896-2-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/2896-5-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/2896-6-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/2896-7-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/2896-11-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/2896-17-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/2896-20-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/2896-22-0x0000000005B30000-0x0000000005CDE000-memory.dmp modiloader_stage2 behavioral1/memory/2896-21-0x00000000059F0000-0x0000000005B9E000-memory.dmp modiloader_stage2 behavioral1/memory/980-25-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-26-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-35-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-32-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-31-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-29-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-36-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-37-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-38-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-39-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-42-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-43-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-44-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-45-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-46-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-47-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-48-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-51-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-54-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-57-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-61-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-64-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-67-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-70-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-73-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-76-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-79-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 behavioral1/memory/980-82-0x0000000000400000-0x00000000005ADDBC-memory.dmp modiloader_stage2 -
Deletes itself 1 IoCs
pid Process 980 mstwain32.exe -
Executes dropped EXE 1 IoCs
pid Process 980 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-1846800975-3917212583-2893086201-1000\Software\Wine 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe Key opened \REGISTRY\USER\S-1-5-21-1846800975-3917212583-2893086201-1000\Software\Wine mstwain32.exe -
resource yara_rule behavioral1/memory/2896-0-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/2896-4-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/2896-3-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/2896-2-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/2896-5-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/2896-6-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/2896-7-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/2896-11-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/2896-17-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/files/0x00060000000055d8-14.dat themida behavioral1/memory/2896-20-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-23-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/2896-22-0x0000000005B30000-0x0000000005CDE000-memory.dmp themida behavioral1/memory/2896-21-0x00000000059F0000-0x0000000005B9E000-memory.dmp themida behavioral1/memory/980-25-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-26-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-35-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-32-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-31-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-29-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-36-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-37-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-38-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-39-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-42-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-43-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-44-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-45-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-46-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-47-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-48-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-51-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-54-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-57-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-61-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-64-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-67-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-70-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-73-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-76-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-79-0x0000000000400000-0x00000000005ADDBC-memory.dmp themida behavioral1/memory/980-82-0x0000000000400000-0x00000000005ADDBC-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-1846800975-3917212583-2893086201-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 938fc4c7110c5ca0fe24d632fd8e3eb3_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 2896 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe 980 mstwain32.exe -
Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe -
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 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 2896 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe 2896 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe 980 mstwain32.exe 980 mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 2896 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe Token: SeBackupPrivilege 2004 vssvc.exe Token: SeRestorePrivilege 2004 vssvc.exe Token: SeAuditPrivilege 2004 vssvc.exe Token: SeDebugPrivilege 980 mstwain32.exe Token: SeDebugPrivilege 980 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 980 mstwain32.exe 980 mstwain32.exe -
Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2896 wrote to memory of 980 2896 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe 33 PID 2896 wrote to memory of 980 2896 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe 33 PID 2896 wrote to memory of 980 2896 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe 33 PID 2896 wrote to memory of 980 2896 938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe 33 -
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\938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\938fc4c7110c5ca0fe24d632fd8e3eb3_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:2896 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\938fc4c7110c5ca0fe24d632fd8e3eb3_JaffaCakes118.exe"2⤵
- UAC bypass
- Deletes itself
- 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:980
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:2004
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
797KB
MD5938fc4c7110c5ca0fe24d632fd8e3eb3
SHA1acd03b8ce4bda1b5ede9b474d6420e58077c88ec
SHA2560a0750b1eedf3243cd8b8e5afc89902546b0ee415ad3941701d51bc33dee363b
SHA5127ab109b985acc00031e6a36299724ed7011f9aa5a91a3392cd26f5254a634d8b604ead4584aac1ce7319aa3e50d059a3a932babac2c04ca2ab51cad46577351b