Analysis Overview
SHA256
2f98b1649046ca9d58304091d8712e7e7168617f20dad6c409a80e1b5956f0ec
Threat Level: Known bad
The file ba7474af91b9cc7b055229f97778d984_JaffaCakes118 was found to be: Known bad.
Malicious Activity Summary
Modifies security service
Modifies firewall policy service
Modifies WinLogon for persistence
Darkcomet family
Darkcomet
Windows security bypass
Disables RegEdit via registry modification
Sets file to hidden
Windows security modification
Checks computer location settings
Adds Run key to start application
Suspicious use of SetThreadContext
Drops file in System32 directory
Enumerates physical storage devices
Unsigned PE
Suspicious use of AdjustPrivilegeToken
Suspicious use of WriteProcessMemory
Suspicious behavior: GetForegroundWindowSpam
Suspicious use of SetWindowsHookEx
Views/modifies file attributes
MITRE ATT&CK Matrix V13
Analysis: static1
Detonation Overview
Reported
2024-06-18 07:29
Signatures
Darkcomet family
Unsigned PE
| Description | Indicator | Process | Target |
| N/A | N/A | N/A | N/A |
Analysis: behavioral1
Detonation Overview
Submitted
2024-06-18 07:29
Reported
2024-06-18 07:32
Platform
win7-20240611-en
Max time kernel
150s
Max time network
147s
Command Line
Signatures
Darkcomet
Modifies WinLogon for persistence
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Windows\\system32\\e9bBZzLdabre\\MICROSOFT/Internet.exe" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
Modifies firewall policy service
| Description | Indicator | Process | Target |
| Key created | \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\DisableNotifications = "0" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Key created | \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\DisableNotifications = "0" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Modifies security service
| Description | Indicator | Process | Target |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\wscsvc\Start = "4" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\services\wscsvc\Start = "4" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Windows security bypass
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
| Set value (str) | \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
Disables RegEdit via registry modification
| Description | Indicator | Process | Target |
| Set value (int) | \REGISTRY\USER\S-1-5-21-1340930862-1405011213-2821322012-1000\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (int) | \REGISTRY\USER\S-1-5-21-1340930862-1405011213-2821322012-1000\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Sets file to hidden
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\attrib.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\attrib.exe | N/A |
Windows security modification
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
Adds Run key to start application
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\USER\S-1-5-21-1340930862-1405011213-2821322012-1000\Software\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Windows\\system32\\e9bBZzLdabre\\MICROSOFT/Internet.exe" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (str) | \REGISTRY\USER\S-1-5-21-1340930862-1405011213-2821322012-1000\Software\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Windows\\system32\\MICROSOFT/Internet.exe" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Drops file in System32 directory
| Description | Indicator | Process | Target |
| File created | C:\Windows\SysWOW64\MICROSOFT\Internet.exe | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| File created | C:\Windows\SysWOW64\e9bBZzLdabre\MICROSOFT\Internet.exe | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\e9bBZzLdabre\MICROSOFT\Internet.exe | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\e9bBZzLdabre\ | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
Suspicious use of SetThreadContext
| Description | Indicator | Process | Target |
| PID 2020 set thread context of 3056 | N/A | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | C:\Program Files (x86)\Internet Explorer\iexplore.exe |
Enumerates physical storage devices
Suspicious behavior: GetForegroundWindowSpam
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Suspicious use of AdjustPrivilegeToken
Suspicious use of SetWindowsHookEx
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Suspicious use of WriteProcessMemory
Views/modifies file attributes
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\attrib.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\attrib.exe | N/A |
Processes
C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe
"C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe"
C:\Windows\SysWOW64\cmd.exe
"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe" +s +h
C:\Windows\SysWOW64\cmd.exe
"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
C:\Program Files (x86)\Internet Explorer\iexplore.exe
"C:\Program Files (x86)\Internet Explorer\iexplore.exe"
C:\Windows\SysWOW64\attrib.exe
attrib "C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe" +s +h
C:\Windows\SysWOW64\attrib.exe
attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
C:\Windows\SysWOW64\notepad.exe
notepad
Network
| Country | Destination | Domain | Proto |
| N/A | 127.0.0.1:1605 | tcp | |
| N/A | 127.0.0.1:200 | tcp | |
| RU | 178.217.152.189:200 | tcp | |
| RU | 178.217.152.189:1604 | tcp | |
| RU | 178.217.152.189:1605 | tcp | |
| US | 8.8.8.8:53 | 192.168.1.1 | udp |
| N/A | 192.168.1.1:1605 | tcp | |
| N/A | 192.168.1.1:1605 | tcp | |
| N/A | 192.168.1.1:1604 | tcp | |
| N/A | 192.168.0.1:1604 | tcp |
Files
memory/2020-0-0x0000000000670000-0x0000000000671000-memory.dmp
memory/3056-1-0x0000000000400000-0x00000000004B2000-memory.dmp
memory/2020-2-0x0000000000400000-0x00000000004B2000-memory.dmp
memory/2648-3-0x0000000000080000-0x0000000000081000-memory.dmp
memory/2648-40-0x00000000002F0000-0x00000000002F1000-memory.dmp
Analysis: behavioral2
Detonation Overview
Submitted
2024-06-18 07:29
Reported
2024-06-18 07:32
Platform
win10v2004-20240508-en
Max time kernel
149s
Max time network
150s
Command Line
Signatures
Darkcomet
Modifies WinLogon for persistence
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Windows\\system32\\e9bBZzLdabre\\MICROSOFT/Internet.exe" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
Modifies firewall policy service
| Description | Indicator | Process | Target |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\DisableNotifications = "0" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
| Key created | \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\DisableNotifications = "0" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Key created | \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall = "0" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Modifies security service
| Description | Indicator | Process | Target |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wscsvc\Start = "4" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (int) | \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wscsvc\Start = "4" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Windows security bypass
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (str) | \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Disables RegEdit via registry modification
| Description | Indicator | Process | Target |
| Set value (int) | \REGISTRY\USER\S-1-5-21-1181767204-2009306918-3718769404-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
| Set value (int) | \REGISTRY\USER\S-1-5-21-1181767204-2009306918-3718769404-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools = "1" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
Sets file to hidden
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\attrib.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\attrib.exe | N/A |
Checks computer location settings
| Description | Indicator | Process | Target |
| Key value queried | \REGISTRY\USER\S-1-5-21-1181767204-2009306918-3718769404-1000\Control Panel\International\Geo\Nation | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
Windows security modification
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
Adds Run key to start application
| Description | Indicator | Process | Target |
| Set value (str) | \REGISTRY\USER\S-1-5-21-1181767204-2009306918-3718769404-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Windows\\system32\\e9bBZzLdabre\\MICROSOFT/Internet.exe" | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| Set value (str) | \REGISTRY\USER\S-1-5-21-1181767204-2009306918-3718769404-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Windows\\system32\\MICROSOFT/Internet.exe" | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Drops file in System32 directory
| Description | Indicator | Process | Target |
| File created | C:\Windows\SysWOW64\MICROSOFT\Internet.exe | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| File created | C:\Windows\SysWOW64\e9bBZzLdabre\MICROSOFT\Internet.exe | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\e9bBZzLdabre\MICROSOFT\Internet.exe | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
| File opened for modification | C:\Windows\SysWOW64\e9bBZzLdabre\ | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | N/A |
Suspicious use of SetThreadContext
| Description | Indicator | Process | Target |
| PID 2272 set thread context of 1556 | N/A | C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe | C:\Program Files (x86)\Internet Explorer\iexplore.exe |
Enumerates physical storage devices
Suspicious behavior: GetForegroundWindowSpam
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Suspicious use of AdjustPrivilegeToken
Suspicious use of SetWindowsHookEx
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Program Files (x86)\Internet Explorer\iexplore.exe | N/A |
Suspicious use of WriteProcessMemory
Views/modifies file attributes
| Description | Indicator | Process | Target |
| N/A | N/A | C:\Windows\SysWOW64\attrib.exe | N/A |
| N/A | N/A | C:\Windows\SysWOW64\attrib.exe | N/A |
Processes
C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe
"C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe"
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --field-trial-handle=3800,i,15140928051103392835,1612840580898364401,262144 --variations-seed-version --mojo-platform-channel-handle=4080 /prefetch:8
C:\Windows\SysWOW64\cmd.exe
"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe" +s +h
C:\Windows\SysWOW64\cmd.exe
"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
C:\Program Files (x86)\Internet Explorer\iexplore.exe
"C:\Program Files (x86)\Internet Explorer\iexplore.exe"
C:\Windows\SysWOW64\notepad.exe
notepad
C:\Windows\SysWOW64\attrib.exe
attrib "C:\Users\Admin\AppData\Local\Temp" +s +h
C:\Windows\SysWOW64\attrib.exe
attrib "C:\Users\Admin\AppData\Local\Temp\ba7474af91b9cc7b055229f97778d984_JaffaCakes118.exe" +s +h
Network
| Country | Destination | Domain | Proto |
| US | 8.8.8.8:53 | 8.8.8.8.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 196.249.167.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 152.107.17.2.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 73.31.126.40.in-addr.arpa | udp |
| N/A | 127.0.0.1:1605 | tcp | |
| N/A | 127.0.0.1:200 | tcp | |
| RU | 178.217.152.189:200 | tcp | |
| US | 8.8.8.8:53 | 26.165.165.52.in-addr.arpa | udp |
| RU | 178.217.152.189:1604 | tcp | |
| US | 8.8.8.8:53 | 15.164.165.52.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 35.15.31.184.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 31.243.111.52.in-addr.arpa | udp |
| RU | 178.217.152.189:1605 | tcp | |
| US | 8.8.8.8:53 | 216.107.17.2.in-addr.arpa | udp |
| US | 8.8.8.8:53 | 192.168.1.1 | udp |
| N/A | 192.168.1.1:1605 | tcp | |
| N/A | 192.168.1.1:1604 | tcp | |
| US | 8.8.8.8:53 | 27.73.42.20.in-addr.arpa | udp |
| N/A | 192.168.0.1:1604 | tcp | |
| N/A | 192.168.0.1:1605 | tcp |
Files
memory/2272-0-0x0000000000690000-0x0000000000691000-memory.dmp
memory/1556-1-0x0000000000400000-0x00000000004B2000-memory.dmp
memory/2272-2-0x0000000000400000-0x00000000004B2000-memory.dmp
memory/2000-3-0x0000000000F90000-0x0000000000F91000-memory.dmp