Analysis
- max time kernel
142s - max time network
147s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
10/08/2024, 08:46
Static task
static1
Behavioral task
behavioral1
Sample
85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe
Resource
win7-20240704-en
General
- Target 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe
- Size 1.2MB
- Sample240810-kpmh9ssfpl
- SHA256 d1fc367bb97aea142988f5e754238ca6c72bbbc0e03be671fcee1c1de771c1e8
- MD5 85782e45fe5f92302b356734455cac1b
- SHA1 a57deec1446b14eb5c464fae237b8d2fd036638c
- SHA512 eada0ed38ba499e4dd987d8570bdf5565117d3b301acb2f5aaa17531ed28b99bee53c4b899a4cecc5ab10846aa1c3027b4ff2dc8a4612e64e8c4e8bab627d2e7
- SSDEEP 24576:z2BzLK5onJrc4x44XMoXvZOHeR0EAZeLq2GDwj6yJesoW:zSzLreDoXh6g0EjLisVJesV
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
darkcomet
-
Test
-
127.0.0.1:1012
-
192.168.0.13:1012
-
82.233.104.4:1012
-
loulou38.no-ip.biz:1012
-
DC_MUTEX-GE5MLRJ
-
gencode
KLPFZNEAS3Dj
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
iexplorer
Signatures
- Modifies WinLogon for persistence 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Windows\\system32\\KLPFZNEAS3Dj\\" 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Modifies security service 2 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wscsvc\Start = "4" 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Identifies VirtualBox via ACPI registry values (likely anti-VM) 2 TTPs 1 IoCs
description ioc Process Key opened \REGISTRY\MACHINE\HARDWARE\ACPI\DSDT\VBOX__ 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Disables RegEdit via registry modification 1 IoCs
description ioc Process Set value (int) \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Disables Task Manager via registry modification
- Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
pid Process 4828 attrib.exe 4400 attrib.exe - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000\Control Panel\International\Geo\Nation 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Identifies Wine through registry keys 2 TTPs 1 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-2718105630-359604950-2820636825-1000\Software\Wine 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-2718105630-359604950-2820636825-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\iexplorer = "C:\\Windows\\system32\\KLPFZNEAS3Dj\\" 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Drops file in System32 directory 3 IoCs
description ioc Process File created C:\Windows\SysWOW64\ 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe File created C:\Windows\SysWOW64\KLPFZNEAS3Dj\ 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe File opened for modification C:\Windows\SysWOW64\KLPFZNEAS3Dj\ 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Suspicious use of NtSetInformationThreadHideFromDebugger 1 IoCs
pid Process 3652 85782e45fe5f92302b356734455cac1b_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 5 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 attrib.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language attrib.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe - Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Suspicious use of AdjustPrivilegeToken 24 IoCs
description pid Process Token: SeIncreaseQuotaPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeSecurityPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeTakeOwnershipPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeLoadDriverPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeSystemProfilePrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeSystemtimePrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeProfSingleProcessPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeIncBasePriorityPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeCreatePagefilePrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeBackupPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeRestorePrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeShutdownPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeDebugPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeSystemEnvironmentPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeChangeNotifyPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeRemoteShutdownPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeUndockPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeManageVolumePrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeImpersonatePrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: SeCreateGlobalPrivilege 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: 33 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: 34 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: 35 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Token: 36 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Suspicious use of WriteProcessMemory 12 IoCs
description pid Process procid_target PID 3652 wrote to memory of 3100 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe 87 PID 3652 wrote to memory of 3100 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe 87 PID 3652 wrote to memory of 3100 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe 87 PID 3652 wrote to memory of 3064 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe 89 PID 3652 wrote to memory of 3064 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe 89 PID 3652 wrote to memory of 3064 3652 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe 89 PID 3100 wrote to memory of 4828 3100 cmd.exe 91 PID 3100 wrote to memory of 4828 3100 cmd.exe 91 PID 3100 wrote to memory of 4828 3100 cmd.exe 91 PID 3064 wrote to memory of 4400 3064 cmd.exe 92 PID 3064 wrote to memory of 4400 3064 cmd.exe 92 PID 3064 wrote to memory of 4400 3064 cmd.exe 92 - System policy modification 1 TTPs 3 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion\Explorern 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion\Explorern\NoControlPanel = "1" 85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe - Views/modifies file attributes 1 TTPs 2 IoCs
pid Process 4828 attrib.exe 4400 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe"1⤵
- Modifies WinLogon for persistence
- Modifies security service
- Identifies VirtualBox via ACPI registry values (likely anti-VM)
- Disables RegEdit via registry modification
- Checks computer location settings
- Identifies Wine through registry keys
- Adds Run key to start application
- Drops file in System32 directory
- Suspicious use of NtSetInformationThreadHideFromDebugger
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
- System policy modification
PID:3652 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3100 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\85782e45fe5f92302b356734455cac1b_JaffaCakes118.exe" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:4828
-
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3064 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:4400
-
-
Network
MITRE ATT&CK Enterprise v15
Persistence
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
1Winlogon Helper DLL
1Create or Modify System Process
1Windows Service
1Privilege Escalation
Boot or Logon Autostart Execution
2Registry Run Keys / Startup Folder
1Winlogon Helper DLL
1Create or Modify System Process
1Windows Service
1Defense Evasion
Hide Artifacts
2Hidden Files and Directories
2Modify Registry
4Virtualization/Sandbox Evasion
2