Analysis
-
max time kernel
149s -
max time network
151s -
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 17:50
Behavioral task
behavioral1
Sample
BlackMail.exe
Resource
win7-20240708-en
General
-
Target
BlackMail.exe
-
Size
923KB
-
MD5
cc9acc9e7253ddefeea935cf0e706272
-
SHA1
f2fa28d60ddae4a90747bec861e6b4ba6e9486a9
-
SHA256
52a29885926d3bfcfa43bdf9cedde199ad8c20566f60b432cea5b65d82f557f5
-
SHA512
4aab367331b9dd69d7ae5b520718542f260e1630f291728b19e682d5e737d3428441df65c58946d48e806906566a05e823b5a87ce337bc4923c29d3b87092c64
-
SSDEEP
12288:O9HFJ9rJxRX1uVVjoaWSoynxdO1FVBaOiRZTERfIhNkNCCLo9Ek5C/hI82gG:aZ1xuVVjfFoynPaVBUR8f+kN10EBpe
Malware Config
Extracted
darkcomet
Guest16
april-came.gl.at.ply.gg:61838
DC_MUTEX-6ZL3QWE
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
iogNsu6a0J2i
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
MicroUpdate
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
Processes:
BlackMail.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" BlackMail.exe -
Modifies security service 2 TTPs 1 IoCs
Processes:
msdcsc.exedescription ioc process Set value (int) \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\wscsvc\Start = "4" msdcsc.exe -
Processes:
msdcsc.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\AntiVirusDisableNotify = "1" msdcsc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" msdcsc.exe -
Sets file to hidden 1 TTPs 2 IoCs
Modifies file attributes to stop it showing in Explorer etc.
Processes:
attrib.exeattrib.exepid process 2380 attrib.exe 4860 attrib.exe -
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
BlackMail.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\Control Panel\International\Geo\Nation BlackMail.exe -
Executes dropped EXE 1 IoCs
Processes:
msdcsc.exepid process 2172 msdcsc.exe -
Processes:
msdcsc.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\AntiVirusDisableNotify = "1" msdcsc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\WOW6432Node\Microsoft\Security Center\UpdatesDisableNotify = "1" msdcsc.exe -
Adds Run key to start application 2 TTPs 2 IoCs
Processes:
BlackMail.exemsdcsc.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" BlackMail.exe Set value (str) \REGISTRY\USER\S-1-5-21-656926755-4116854191-210765258-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicroUpdate = "C:\\Users\\Admin\\Documents\\MSDCSC\\msdcsc.exe" msdcsc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 7 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
Processes:
cmd.execmd.exeattrib.exeattrib.exemsdcsc.exenotepad.exeBlackMail.exedescription ioc process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.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 attrib.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language msdcsc.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language notepad.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language BlackMail.exe -
Modifies registry class 1 IoCs
Processes:
BlackMail.exedescription ioc process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\WOW6432Node\CLSID\{1f3427c8-5c10-4210-aa03-2ee45287d668}\Instance\ BlackMail.exe -
Suspicious use of AdjustPrivilegeToken 48 IoCs
Processes:
BlackMail.exemsdcsc.exedescription pid process Token: SeIncreaseQuotaPrivilege 4008 BlackMail.exe Token: SeSecurityPrivilege 4008 BlackMail.exe Token: SeTakeOwnershipPrivilege 4008 BlackMail.exe Token: SeLoadDriverPrivilege 4008 BlackMail.exe Token: SeSystemProfilePrivilege 4008 BlackMail.exe Token: SeSystemtimePrivilege 4008 BlackMail.exe Token: SeProfSingleProcessPrivilege 4008 BlackMail.exe Token: SeIncBasePriorityPrivilege 4008 BlackMail.exe Token: SeCreatePagefilePrivilege 4008 BlackMail.exe Token: SeBackupPrivilege 4008 BlackMail.exe Token: SeRestorePrivilege 4008 BlackMail.exe Token: SeShutdownPrivilege 4008 BlackMail.exe Token: SeDebugPrivilege 4008 BlackMail.exe Token: SeSystemEnvironmentPrivilege 4008 BlackMail.exe Token: SeChangeNotifyPrivilege 4008 BlackMail.exe Token: SeRemoteShutdownPrivilege 4008 BlackMail.exe Token: SeUndockPrivilege 4008 BlackMail.exe Token: SeManageVolumePrivilege 4008 BlackMail.exe Token: SeImpersonatePrivilege 4008 BlackMail.exe Token: SeCreateGlobalPrivilege 4008 BlackMail.exe Token: 33 4008 BlackMail.exe Token: 34 4008 BlackMail.exe Token: 35 4008 BlackMail.exe Token: 36 4008 BlackMail.exe Token: SeIncreaseQuotaPrivilege 2172 msdcsc.exe Token: SeSecurityPrivilege 2172 msdcsc.exe Token: SeTakeOwnershipPrivilege 2172 msdcsc.exe Token: SeLoadDriverPrivilege 2172 msdcsc.exe Token: SeSystemProfilePrivilege 2172 msdcsc.exe Token: SeSystemtimePrivilege 2172 msdcsc.exe Token: SeProfSingleProcessPrivilege 2172 msdcsc.exe Token: SeIncBasePriorityPrivilege 2172 msdcsc.exe Token: SeCreatePagefilePrivilege 2172 msdcsc.exe Token: SeBackupPrivilege 2172 msdcsc.exe Token: SeRestorePrivilege 2172 msdcsc.exe Token: SeShutdownPrivilege 2172 msdcsc.exe Token: SeDebugPrivilege 2172 msdcsc.exe Token: SeSystemEnvironmentPrivilege 2172 msdcsc.exe Token: SeChangeNotifyPrivilege 2172 msdcsc.exe Token: SeRemoteShutdownPrivilege 2172 msdcsc.exe Token: SeUndockPrivilege 2172 msdcsc.exe Token: SeManageVolumePrivilege 2172 msdcsc.exe Token: SeImpersonatePrivilege 2172 msdcsc.exe Token: SeCreateGlobalPrivilege 2172 msdcsc.exe Token: 33 2172 msdcsc.exe Token: 34 2172 msdcsc.exe Token: 35 2172 msdcsc.exe Token: 36 2172 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
msdcsc.exepid process 2172 msdcsc.exe -
Suspicious use of WriteProcessMemory 37 IoCs
Processes:
BlackMail.execmd.execmd.exemsdcsc.exedescription pid process target process PID 4008 wrote to memory of 772 4008 BlackMail.exe cmd.exe PID 4008 wrote to memory of 772 4008 BlackMail.exe cmd.exe PID 4008 wrote to memory of 772 4008 BlackMail.exe cmd.exe PID 4008 wrote to memory of 840 4008 BlackMail.exe cmd.exe PID 4008 wrote to memory of 840 4008 BlackMail.exe cmd.exe PID 4008 wrote to memory of 840 4008 BlackMail.exe cmd.exe PID 772 wrote to memory of 2380 772 cmd.exe attrib.exe PID 772 wrote to memory of 2380 772 cmd.exe attrib.exe PID 772 wrote to memory of 2380 772 cmd.exe attrib.exe PID 840 wrote to memory of 4860 840 cmd.exe attrib.exe PID 840 wrote to memory of 4860 840 cmd.exe attrib.exe PID 840 wrote to memory of 4860 840 cmd.exe attrib.exe PID 4008 wrote to memory of 2172 4008 BlackMail.exe msdcsc.exe PID 4008 wrote to memory of 2172 4008 BlackMail.exe msdcsc.exe PID 4008 wrote to memory of 2172 4008 BlackMail.exe msdcsc.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe PID 2172 wrote to memory of 3352 2172 msdcsc.exe notepad.exe -
System policy modification 1 TTPs 3 IoCs
Processes:
msdcsc.exedescription ioc process Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion msdcsc.exe Key created \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion\Explorern msdcsc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\CurrentVersion\Explorern\NoControlPanel = "1" msdcsc.exe -
Views/modifies file attributes 1 TTPs 2 IoCs
Processes:
attrib.exeattrib.exepid process 2380 attrib.exe 4860 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\BlackMail.exe"C:\Users\Admin\AppData\Local\Temp\BlackMail.exe"1⤵
- Modifies WinLogon for persistence
- Checks computer location settings
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4008 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\BlackMail.exe" +s +h2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:772 -
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\BlackMail.exe" +s +h3⤵
- Sets file to hidden
- System Location Discovery: System Language Discovery
- Views/modifies file attributes
PID:2380 -
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:840 -
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:4860 -
C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"C:\Users\Admin\Documents\MSDCSC\msdcsc.exe"2⤵
- Modifies security service
- Windows security bypass
- Executes dropped EXE
- Windows security modification
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- Suspicious use of WriteProcessMemory
- System policy modification
PID:2172 -
C:\Windows\SysWOW64\notepad.exenotepad3⤵
- System Location Discovery: System Language Discovery
PID:3352
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
2Impair Defenses
2Disable or Modify Tools
2Modify Registry
6Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
923KB
MD5cc9acc9e7253ddefeea935cf0e706272
SHA1f2fa28d60ddae4a90747bec861e6b4ba6e9486a9
SHA25652a29885926d3bfcfa43bdf9cedde199ad8c20566f60b432cea5b65d82f557f5
SHA5124aab367331b9dd69d7ae5b520718542f260e1630f291728b19e682d5e737d3428441df65c58946d48e806906566a05e823b5a87ce337bc4923c29d3b87092c64