Analysis
-
max time kernel
150s -
max time network
147s -
platform
windows7_x64 -
resource
win7-20240708-en -
resource tags
arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-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 2592 attrib.exe 2808 attrib.exe -
Executes dropped EXE 1 IoCs
Processes:
msdcsc.exepid process 2876 msdcsc.exe -
Loads dropped DLL 2 IoCs
Processes:
BlackMail.exepid process 2660 BlackMail.exe 2660 BlackMail.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-1506706701-1246725540-2219210854-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-1506706701-1246725540-2219210854-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:
msdcsc.exenotepad.exeBlackMail.execmd.execmd.exeattrib.exeattrib.exedescription ioc process 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 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 -
Suspicious use of AdjustPrivilegeToken 46 IoCs
Processes:
BlackMail.exemsdcsc.exedescription pid process Token: SeIncreaseQuotaPrivilege 2660 BlackMail.exe Token: SeSecurityPrivilege 2660 BlackMail.exe Token: SeTakeOwnershipPrivilege 2660 BlackMail.exe Token: SeLoadDriverPrivilege 2660 BlackMail.exe Token: SeSystemProfilePrivilege 2660 BlackMail.exe Token: SeSystemtimePrivilege 2660 BlackMail.exe Token: SeProfSingleProcessPrivilege 2660 BlackMail.exe Token: SeIncBasePriorityPrivilege 2660 BlackMail.exe Token: SeCreatePagefilePrivilege 2660 BlackMail.exe Token: SeBackupPrivilege 2660 BlackMail.exe Token: SeRestorePrivilege 2660 BlackMail.exe Token: SeShutdownPrivilege 2660 BlackMail.exe Token: SeDebugPrivilege 2660 BlackMail.exe Token: SeSystemEnvironmentPrivilege 2660 BlackMail.exe Token: SeChangeNotifyPrivilege 2660 BlackMail.exe Token: SeRemoteShutdownPrivilege 2660 BlackMail.exe Token: SeUndockPrivilege 2660 BlackMail.exe Token: SeManageVolumePrivilege 2660 BlackMail.exe Token: SeImpersonatePrivilege 2660 BlackMail.exe Token: SeCreateGlobalPrivilege 2660 BlackMail.exe Token: 33 2660 BlackMail.exe Token: 34 2660 BlackMail.exe Token: 35 2660 BlackMail.exe Token: SeIncreaseQuotaPrivilege 2876 msdcsc.exe Token: SeSecurityPrivilege 2876 msdcsc.exe Token: SeTakeOwnershipPrivilege 2876 msdcsc.exe Token: SeLoadDriverPrivilege 2876 msdcsc.exe Token: SeSystemProfilePrivilege 2876 msdcsc.exe Token: SeSystemtimePrivilege 2876 msdcsc.exe Token: SeProfSingleProcessPrivilege 2876 msdcsc.exe Token: SeIncBasePriorityPrivilege 2876 msdcsc.exe Token: SeCreatePagefilePrivilege 2876 msdcsc.exe Token: SeBackupPrivilege 2876 msdcsc.exe Token: SeRestorePrivilege 2876 msdcsc.exe Token: SeShutdownPrivilege 2876 msdcsc.exe Token: SeDebugPrivilege 2876 msdcsc.exe Token: SeSystemEnvironmentPrivilege 2876 msdcsc.exe Token: SeChangeNotifyPrivilege 2876 msdcsc.exe Token: SeRemoteShutdownPrivilege 2876 msdcsc.exe Token: SeUndockPrivilege 2876 msdcsc.exe Token: SeManageVolumePrivilege 2876 msdcsc.exe Token: SeImpersonatePrivilege 2876 msdcsc.exe Token: SeCreateGlobalPrivilege 2876 msdcsc.exe Token: 33 2876 msdcsc.exe Token: 34 2876 msdcsc.exe Token: 35 2876 msdcsc.exe -
Suspicious use of SetWindowsHookEx 1 IoCs
Processes:
msdcsc.exepid process 2876 msdcsc.exe -
Suspicious use of WriteProcessMemory 43 IoCs
Processes:
BlackMail.execmd.execmd.exemsdcsc.exedescription pid process target process PID 2660 wrote to memory of 2960 2660 BlackMail.exe cmd.exe PID 2660 wrote to memory of 2960 2660 BlackMail.exe cmd.exe PID 2660 wrote to memory of 2960 2660 BlackMail.exe cmd.exe PID 2660 wrote to memory of 2960 2660 BlackMail.exe cmd.exe PID 2660 wrote to memory of 2708 2660 BlackMail.exe cmd.exe PID 2660 wrote to memory of 2708 2660 BlackMail.exe cmd.exe PID 2660 wrote to memory of 2708 2660 BlackMail.exe cmd.exe PID 2660 wrote to memory of 2708 2660 BlackMail.exe cmd.exe PID 2960 wrote to memory of 2592 2960 cmd.exe attrib.exe PID 2960 wrote to memory of 2592 2960 cmd.exe attrib.exe PID 2960 wrote to memory of 2592 2960 cmd.exe attrib.exe PID 2960 wrote to memory of 2592 2960 cmd.exe attrib.exe PID 2708 wrote to memory of 2808 2708 cmd.exe attrib.exe PID 2708 wrote to memory of 2808 2708 cmd.exe attrib.exe PID 2708 wrote to memory of 2808 2708 cmd.exe attrib.exe PID 2708 wrote to memory of 2808 2708 cmd.exe attrib.exe PID 2660 wrote to memory of 2876 2660 BlackMail.exe msdcsc.exe PID 2660 wrote to memory of 2876 2660 BlackMail.exe msdcsc.exe PID 2660 wrote to memory of 2876 2660 BlackMail.exe msdcsc.exe PID 2660 wrote to memory of 2876 2660 BlackMail.exe msdcsc.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 msdcsc.exe notepad.exe PID 2876 wrote to memory of 2800 2876 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 2592 attrib.exe 2808 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\BlackMail.exe"C:\Users\Admin\AppData\Local\Temp\BlackMail.exe"1⤵
- Modifies WinLogon for persistence
- Loads dropped DLL
- Adds Run key to start application
- System Location Discovery: System Language Discovery
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2660 -
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:2960 -
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:2592 -
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:2708 -
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:2808 -
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:2876 -
C:\Windows\SysWOW64\notepad.exenotepad3⤵
- System Location Discovery: System Language Discovery
PID:2800
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