Analysis
-
max time kernel
141s -
max time network
142s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
15-09-2024 18:21
Behavioral task
behavioral1
Sample
e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe
Resource
win10v2004-20240802-en
General
-
Target
e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe
-
Size
270KB
-
MD5
e31ca92fe0a5d856e4a4bed2c744bcc8
-
SHA1
99ddc58a6a7da199fb450e74bc1fba987e573309
-
SHA256
14695e1bbe7292e845e341f96b0c3eb572be723815255eb24c7b06aaeb9f4403
-
SHA512
0876b52fca4ce3c989b7908014d216310197d618a7787d5135b573683112ea6e857f0079a75d6e5761fa3d8e448f39be21ef8358b919bbe114c6892a5483b7bf
-
SSDEEP
6144:KG377xS2Vp2CeiorXhwTBOz53LqpcCJJvH:Zr7xS2Vp6FwTVbJJvH
Malware Config
Extracted
latentbot
hackerbatudator.zapto.org
Signatures
-
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
Processes:
mstwain32.exedescription ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe -
ModiLoader Second Stage 16 IoCs
Processes:
resource yara_rule behavioral2/files/0x0008000000023465-4.dat modiloader_stage2 behavioral2/memory/1832-9-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-25-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-28-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-31-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-34-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-37-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-40-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-43-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-46-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-49-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-52-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-55-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-58-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-61-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 behavioral2/memory/3264-64-0x0000000000400000-0x000000000044B000-memory.dmp modiloader_stage2 -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exedescription ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\Control Panel\International\Geo\Nation e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe -
Deletes itself 1 IoCs
Processes:
mstwain32.exepid Process 3264 mstwain32.exe -
Executes dropped EXE 1 IoCs
Processes:
mstwain32.exepid Process 3264 mstwain32.exe -
Loads dropped DLL 4 IoCs
Processes:
mstwain32.exepid Process 3264 mstwain32.exe 3264 mstwain32.exe 3264 mstwain32.exe 3264 mstwain32.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2412658365-3084825385-3340777666-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
Processes:
e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exemstwain32.exedescription ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA e31ca92fe0a5d856e4a4bed2c744bcc8_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
Processes:
e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exemstwain32.exedescription ioc Process File created C:\Windows\mstwain32.exe e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe File opened for modification C:\Windows\mstwain32.exe e31ca92fe0a5d856e4a4bed2c744bcc8_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).
-
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.
Processes:
e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exemstwain32.exedescription ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language mstwain32.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exemstwain32.exedescription pid Process Token: SeDebugPrivilege 1832 e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe Token: SeDebugPrivilege 3264 mstwain32.exe Token: SeDebugPrivilege 3264 mstwain32.exe -
Suspicious use of SetWindowsHookEx 2 IoCs
Processes:
mstwain32.exepid Process 3264 mstwain32.exe 3264 mstwain32.exe -
Suspicious use of WriteProcessMemory 3 IoCs
Processes:
e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exedescription pid Process procid_target PID 1832 wrote to memory of 3264 1832 e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe 82 PID 1832 wrote to memory of 3264 1832 e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe 82 PID 1832 wrote to memory of 3264 1832 e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe 82 -
System policy modification 1 TTPs 1 IoCs
Processes:
mstwain32.exedescription ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\e31ca92fe0a5d856e4a4bed2c744bcc8_JaffaCakes118.exe"1⤵
- Checks computer location settings
- 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:1832 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\e31ca92fe0a5d856e4a4bed2c744bcc8_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
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:3264
-
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
33KB
MD5043f9b1237b6f0b469c7d1f9131dee19
SHA1a59b3e52eb1dd963b8a4f58cb4a9131f09538350
SHA2561d20e7b5f82efc682375fec6f3f3c2b78efa6ac8b0b834f1f5620a4198b090d9
SHA512688a423cf0d22aa677e72e90be9d2956e1b721dc2d2f6163260671f11206c54b8d336943e762d72acfe1de67c73cd612bdde5a9a0429a2fc33cc6bf58dd2442a
-
Filesize
270KB
MD5e31ca92fe0a5d856e4a4bed2c744bcc8
SHA199ddc58a6a7da199fb450e74bc1fba987e573309
SHA25614695e1bbe7292e845e341f96b0c3eb572be723815255eb24c7b06aaeb9f4403
SHA5120876b52fca4ce3c989b7908014d216310197d618a7787d5135b573683112ea6e857f0079a75d6e5761fa3d8e448f39be21ef8358b919bbe114c6892a5483b7bf
-
Filesize
7KB
MD567587e25a971a141628d7f07bd40ffa0
SHA176fcd014539a3bb247cc0b761225f68bd6055f6b
SHA256e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
SHA5126e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350