Analysis
-
max time kernel
132s -
max time network
146s -
platform
windows7_x64 -
resource
win7-20240704-en -
resource tags
arch:x64arch:x86image:win7-20240704-enlocale:en-usos:windows7-x64system -
submitted
20-07-2024 05:16
Behavioral task
behavioral1
Sample
5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe
Resource
win7-20240704-en
Behavioral task
behavioral2
Sample
5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe
Resource
win10v2004-20240709-en
General
-
Target
5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe
-
Size
140KB
-
MD5
5f2988ab779dd3ef70914f4d208bf6b9
-
SHA1
66d2309f54c6262ca377e048f04abfa7ba783f80
-
SHA256
4fb51ca96177d18be97e26591287358e13e868d69c7b2794c8af06568658ab3b
-
SHA512
195e29f45ec8c003f3f89c81979a3284e2d9914241ec9a07700537d8474a0b6b7bbfbbb8a0402ea7f3742d2d03a069a34dfdcff5dbc7ef16d99f413fee3e1939
-
SSDEEP
3072:UBqhYZFlRL6eQvAn9RraPEDknMfDISyU4n:3MFlRL6eOMLIS5o
Malware Config
Signatures
-
Gh0st RAT payload 3 IoCs
resource yara_rule behavioral1/files/0x000e000000014132-6.dat family_gh0strat behavioral1/memory/2424-8-0x0000000010000000-0x0000000010027000-memory.dmp family_gh0strat behavioral1/memory/2240-9-0x0000000000400000-0x0000000000457000-memory.dmp family_gh0strat -
Server Software Component: Terminal Services DLL 1 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\fastuserswitchingcompatibility\parameters\servicedll = "C:\\Windows\\system32\\wgkir.dll" svchost.exe -
Sets service image path in registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\fastuserswitchingcompatibility\ImagePath = "%SystemRoot%\\System32\\svchost.exe -k netsvcs" svchost.exe -
Deletes itself 1 IoCs
pid Process 2424 svchost.exe -
Loads dropped DLL 1 IoCs
pid Process 2424 svchost.exe -
resource yara_rule behavioral1/memory/2240-0-0x0000000000400000-0x0000000000457000-memory.dmp vmprotect behavioral1/memory/2240-3-0x0000000000400000-0x0000000000457000-memory.dmp vmprotect behavioral1/memory/2240-9-0x0000000000400000-0x0000000000457000-memory.dmp vmprotect -
Writes to the Master Boot Record (MBR) 1 TTPs 1 IoCs
Bootkits write to the MBR to gain persistence at a level below the operating system.
description ioc Process File opened for modification \??\PhysicalDrive0 svchost.exe -
Drops file in System32 directory 2 IoCs
description ioc Process File opened for modification C:\Windows\SysWOW64\d2f5ca0e.del 5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe File opened for modification C:\Windows\SysWOW64\wgkir.dll 5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe -
Checks processor information in registry 2 TTPs 2 IoCs
Processor information is often read in order to detect sandboxing environments.
description ioc Process Key opened \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 svchost.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz svchost.exe -
Modifies data under HKEY_USERS 6 IoCs
description ioc Process Key created \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\ActiveMovie\devenum svchost.exe Set value (int) \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\ActiveMovie\devenum\Version = "7" svchost.exe Key created \REGISTRY\USER\.DEFAULT\Software\Microsoft\ActiveMovie\devenum svchost.exe Key created \REGISTRY\USER\.DEFAULT\Software svchost.exe Key created \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft svchost.exe Key created \REGISTRY\USER\.DEFAULT\SOFTWARE\Microsoft\ActiveMovie svchost.exe -
Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 2240 5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe 2424 svchost.exe 2424 svchost.exe 2424 svchost.exe 2424 svchost.exe 2424 svchost.exe -
Suspicious use of AdjustPrivilegeToken 9 IoCs
description pid Process Token: SeBackupPrivilege 2240 5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe Token: SeRestorePrivilege 2240 5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe Token: SeBackupPrivilege 2424 svchost.exe Token: SeSecurityPrivilege 2424 svchost.exe Token: SeSecurityPrivilege 2424 svchost.exe Token: SeBackupPrivilege 2424 svchost.exe Token: SeSecurityPrivilege 2424 svchost.exe Token: SeBackupPrivilege 2424 svchost.exe Token: SeSecurityPrivilege 2424 svchost.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\5f2988ab779dd3ef70914f4d208bf6b9_JaffaCakes118.exe"1⤵
- Drops file in System32 directory
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2240
-
C:\Windows\SysWOW64\svchost.exeC:\Windows\SysWOW64\svchost.exe -k netsvcs1⤵
- Server Software Component: Terminal Services DLL
- Sets service image path in registry
- Deletes itself
- Loads dropped DLL
- Writes to the Master Boot Record (MBR)
- Checks processor information in registry
- Modifies data under HKEY_USERS
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2424
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Pre-OS Boot
1Bootkit
1Server Software Component
1Terminal Services DLL
1Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
148KB
MD5152d00fbba478612629b5be734f5e4e0
SHA147b64683e37cc8e0b4fa4ec3c05e3240a2e670e4
SHA25661f5acdd20e15733b81f542be553718486a111f8afa01903a359ef19eb9a73d9
SHA512ad029f7896782baae4bfd180d001753c3c569c961cad75a45c70474cd33bb4fb13642b3021648f56fcbd5be3fa97be22bf56b607dcd59e2041b0593510dad37f