Analysis
-
max time kernel
150s -
max time network
30s -
platform
windows7_x64 -
resource
win7-20230220-en -
resource tags
arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system -
submitted
26-02-2023 08:48
Behavioral task
behavioral1
Sample
hg.exe
Resource
win7-20230220-en
General
-
Target
hg.exe
-
Size
760KB
-
MD5
cf1fa31e4b8e750e2f9ff5d2563e2cd6
-
SHA1
b43097d737b0ea7365cea6ad09a51598fb1ff04f
-
SHA256
f4b3313b4b8135a1e7bce029b33e79ec60376da9bb7faf320f625e6c4a87373f
-
SHA512
d0f58c9a38bc2295bc28d22857fdab9f82ecfb028de57dbf470ed4df1eefaa08d5b47b1e81b2b7b4a01ad358d0ccc929205f04b23e1d03ce266017e734f12616
-
SSDEEP
12288:D3OpvNW4a76S/Ddon/m09bbYlIaaMcE2YGhq3vo1RnfAvIESJgoE26yc/RCsvvV:7OA4aWNn/m09fKIaaBEtWq3A1Ov8JgbR
Malware Config
Extracted
darkcomet
Guest16
considered-stars.at.ply.gg:11659
DC_MUTEX-4RAEX72
-
InstallPath
MSDCSC\msdcsc.exe
-
gencode
741ngBRSJpQj
-
install
true
-
offline_keylogger
true
-
persistence
true
-
reg_key
MicrosoftUpdate
Signatures
-
Modifies WinLogon for persistence 2 TTPs 3 IoCs
Processes:
hg.exemsdcsc.exemsdcsc.exedescription ioc process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Windows\\system32\\MSDCSC\\msdcsc.exe" hg.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Windows\\system32\\MSDCSC\\msdcsc.exe,C:\\Windows\\system32\\MSDCSC\\msdcsc.exe" msdcsc.exe Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\UserInit = "C:\\Windows\\system32\\userinit.exe,C:\\Windows\\system32\\MSDCSC\\msdcsc.exe,C:\\Windows\\system32\\MSDCSC\\msdcsc.exe,C:\\Windows\\system32\\MSDCSC\\msdcsc.exe" msdcsc.exe -
Sets file to hidden 1 TTPs 4 IoCs
Modifies file attributes to stop it showing in Explorer etc.
Processes:
attrib.exeattrib.exeattrib.exeattrib.exepid process 568 attrib.exe 1808 attrib.exe 744 attrib.exe 1988 attrib.exe -
Deletes itself 1 IoCs
Processes:
notepad.exepid process 668 notepad.exe -
Executes dropped EXE 2 IoCs
Processes:
msdcsc.exemsdcsc.exepid process 1856 msdcsc.exe 432 msdcsc.exe -
Loads dropped DLL 4 IoCs
Processes:
hg.exemsdcsc.exepid process 1108 hg.exe 1108 hg.exe 1856 msdcsc.exe 1856 msdcsc.exe -
Adds Run key to start application 2 TTPs 3 IoCs
Processes:
hg.exemsdcsc.exemsdcsc.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-2647223082-2067913677-935928954-1000\Software\Microsoft\Windows\CurrentVersion\Run\MicrosoftUpdate = "C:\\Windows\\system32\\MSDCSC\\msdcsc.exe" hg.exe Set value (str) \REGISTRY\USER\S-1-5-21-2647223082-2067913677-935928954-1000\Software\Microsoft\Windows\CurrentVersion\Run\MicrosoftUpdate = "C:\\Windows\\system32\\MSDCSC\\msdcsc.exe" msdcsc.exe Set value (str) \REGISTRY\USER\S-1-5-21-2647223082-2067913677-935928954-1000\Software\Microsoft\Windows\CurrentVersion\Run\MicrosoftUpdate = "C:\\Windows\\system32\\MSDCSC\\msdcsc.exe" msdcsc.exe -
Drops file in System32 directory 10 IoCs
Processes:
msdcsc.exehg.exemsdcsc.exeattrib.exeattrib.exedescription ioc process File opened for modification C:\Windows\SysWOW64\MSDCSC\msdcsc.exe msdcsc.exe File created C:\Windows\SysWOW64\MSDCSC\msdcsc.exe hg.exe File created C:\Windows\SysWOW64\MSDCSC\msdcsc.exe msdcsc.exe File opened for modification C:\Windows\SysWOW64\MSDCSC\ msdcsc.exe File opened for modification C:\Windows\SysWOW64\MSDCSC\msdcsc.exe attrib.exe File opened for modification C:\Windows\SysWOW64\MSDCSC attrib.exe File created C:\Windows\SysWOW64\MSDCSC\msdcsc.exe msdcsc.exe File opened for modification C:\Windows\SysWOW64\MSDCSC\msdcsc.exe hg.exe File opened for modification C:\Windows\SysWOW64\MSDCSC\ hg.exe File opened for modification C:\Windows\SysWOW64\MSDCSC\msdcsc.exe msdcsc.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
-
Suspicious use of AdjustPrivilegeToken 64 IoCs
Processes:
hg.exemsdcsc.exemsdcsc.exedescription pid process Token: SeIncreaseQuotaPrivilege 1108 hg.exe Token: SeSecurityPrivilege 1108 hg.exe Token: SeTakeOwnershipPrivilege 1108 hg.exe Token: SeLoadDriverPrivilege 1108 hg.exe Token: SeSystemProfilePrivilege 1108 hg.exe Token: SeSystemtimePrivilege 1108 hg.exe Token: SeProfSingleProcessPrivilege 1108 hg.exe Token: SeIncBasePriorityPrivilege 1108 hg.exe Token: SeCreatePagefilePrivilege 1108 hg.exe Token: SeBackupPrivilege 1108 hg.exe Token: SeRestorePrivilege 1108 hg.exe Token: SeShutdownPrivilege 1108 hg.exe Token: SeDebugPrivilege 1108 hg.exe Token: SeSystemEnvironmentPrivilege 1108 hg.exe Token: SeChangeNotifyPrivilege 1108 hg.exe Token: SeRemoteShutdownPrivilege 1108 hg.exe Token: SeUndockPrivilege 1108 hg.exe Token: SeManageVolumePrivilege 1108 hg.exe Token: SeImpersonatePrivilege 1108 hg.exe Token: SeCreateGlobalPrivilege 1108 hg.exe Token: 33 1108 hg.exe Token: 34 1108 hg.exe Token: 35 1108 hg.exe Token: SeIncreaseQuotaPrivilege 1856 msdcsc.exe Token: SeSecurityPrivilege 1856 msdcsc.exe Token: SeTakeOwnershipPrivilege 1856 msdcsc.exe Token: SeLoadDriverPrivilege 1856 msdcsc.exe Token: SeSystemProfilePrivilege 1856 msdcsc.exe Token: SeSystemtimePrivilege 1856 msdcsc.exe Token: SeProfSingleProcessPrivilege 1856 msdcsc.exe Token: SeIncBasePriorityPrivilege 1856 msdcsc.exe Token: SeCreatePagefilePrivilege 1856 msdcsc.exe Token: SeBackupPrivilege 1856 msdcsc.exe Token: SeRestorePrivilege 1856 msdcsc.exe Token: SeShutdownPrivilege 1856 msdcsc.exe Token: SeDebugPrivilege 1856 msdcsc.exe Token: SeSystemEnvironmentPrivilege 1856 msdcsc.exe Token: SeChangeNotifyPrivilege 1856 msdcsc.exe Token: SeRemoteShutdownPrivilege 1856 msdcsc.exe Token: SeUndockPrivilege 1856 msdcsc.exe Token: SeManageVolumePrivilege 1856 msdcsc.exe Token: SeImpersonatePrivilege 1856 msdcsc.exe Token: SeCreateGlobalPrivilege 1856 msdcsc.exe Token: 33 1856 msdcsc.exe Token: 34 1856 msdcsc.exe Token: 35 1856 msdcsc.exe Token: SeIncreaseQuotaPrivilege 432 msdcsc.exe Token: SeSecurityPrivilege 432 msdcsc.exe Token: SeTakeOwnershipPrivilege 432 msdcsc.exe Token: SeLoadDriverPrivilege 432 msdcsc.exe Token: SeSystemProfilePrivilege 432 msdcsc.exe Token: SeSystemtimePrivilege 432 msdcsc.exe Token: SeProfSingleProcessPrivilege 432 msdcsc.exe Token: SeIncBasePriorityPrivilege 432 msdcsc.exe Token: SeCreatePagefilePrivilege 432 msdcsc.exe Token: SeBackupPrivilege 432 msdcsc.exe Token: SeRestorePrivilege 432 msdcsc.exe Token: SeShutdownPrivilege 432 msdcsc.exe Token: SeDebugPrivilege 432 msdcsc.exe Token: SeSystemEnvironmentPrivilege 432 msdcsc.exe Token: SeChangeNotifyPrivilege 432 msdcsc.exe Token: SeRemoteShutdownPrivilege 432 msdcsc.exe Token: SeUndockPrivilege 432 msdcsc.exe Token: SeManageVolumePrivilege 432 msdcsc.exe -
Suspicious use of WriteProcessMemory 64 IoCs
Processes:
hg.execmd.execmd.exemsdcsc.execmd.execmd.exedescription pid process target process PID 1108 wrote to memory of 1748 1108 hg.exe cmd.exe PID 1108 wrote to memory of 1748 1108 hg.exe cmd.exe PID 1108 wrote to memory of 1748 1108 hg.exe cmd.exe PID 1108 wrote to memory of 1748 1108 hg.exe cmd.exe PID 1108 wrote to memory of 768 1108 hg.exe cmd.exe PID 1108 wrote to memory of 768 1108 hg.exe cmd.exe PID 1108 wrote to memory of 768 1108 hg.exe cmd.exe PID 1108 wrote to memory of 768 1108 hg.exe cmd.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 1108 wrote to memory of 668 1108 hg.exe notepad.exe PID 768 wrote to memory of 1808 768 cmd.exe attrib.exe PID 768 wrote to memory of 1808 768 cmd.exe attrib.exe PID 768 wrote to memory of 1808 768 cmd.exe attrib.exe PID 768 wrote to memory of 1808 768 cmd.exe attrib.exe PID 1748 wrote to memory of 568 1748 cmd.exe attrib.exe PID 1748 wrote to memory of 568 1748 cmd.exe attrib.exe PID 1748 wrote to memory of 568 1748 cmd.exe attrib.exe PID 1748 wrote to memory of 568 1748 cmd.exe attrib.exe PID 1108 wrote to memory of 1856 1108 hg.exe msdcsc.exe PID 1108 wrote to memory of 1856 1108 hg.exe msdcsc.exe PID 1108 wrote to memory of 1856 1108 hg.exe msdcsc.exe PID 1108 wrote to memory of 1856 1108 hg.exe msdcsc.exe PID 1856 wrote to memory of 1508 1856 msdcsc.exe cmd.exe PID 1856 wrote to memory of 1508 1856 msdcsc.exe cmd.exe PID 1856 wrote to memory of 1508 1856 msdcsc.exe cmd.exe PID 1856 wrote to memory of 1508 1856 msdcsc.exe cmd.exe PID 1856 wrote to memory of 948 1856 msdcsc.exe cmd.exe PID 1856 wrote to memory of 948 1856 msdcsc.exe cmd.exe PID 1856 wrote to memory of 948 1856 msdcsc.exe cmd.exe PID 1856 wrote to memory of 948 1856 msdcsc.exe cmd.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe PID 1508 wrote to memory of 744 1508 cmd.exe attrib.exe PID 1508 wrote to memory of 744 1508 cmd.exe attrib.exe PID 1508 wrote to memory of 744 1508 cmd.exe attrib.exe PID 1508 wrote to memory of 744 1508 cmd.exe attrib.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe PID 948 wrote to memory of 1988 948 cmd.exe attrib.exe PID 948 wrote to memory of 1988 948 cmd.exe attrib.exe PID 948 wrote to memory of 1988 948 cmd.exe attrib.exe PID 948 wrote to memory of 1988 948 cmd.exe attrib.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe PID 1856 wrote to memory of 904 1856 msdcsc.exe notepad.exe -
Views/modifies file attributes 1 TTPs 4 IoCs
Processes:
attrib.exeattrib.exeattrib.exeattrib.exepid process 568 attrib.exe 1808 attrib.exe 744 attrib.exe 1988 attrib.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\hg.exe"C:\Users\Admin\AppData\Local\Temp\hg.exe"1⤵
- Modifies WinLogon for persistence
- Loads dropped DLL
- Adds Run key to start application
- Drops file in System32 directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp\hg.exe" +s +h2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp\hg.exe" +s +h3⤵
- Sets file to hidden
- Views/modifies file attributes
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\Admin\AppData\Local\Temp" +s +h2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\attrib.exeattrib "C:\Users\Admin\AppData\Local\Temp" +s +h3⤵
- Sets file to hidden
- Views/modifies file attributes
-
C:\Windows\SysWOW64\notepad.exenotepad2⤵
- Deletes itself
-
C:\Windows\SysWOW64\MSDCSC\msdcsc.exe"C:\Windows\system32\MSDCSC\msdcsc.exe"2⤵
- Modifies WinLogon for persistence
- Executes dropped EXE
- Loads dropped DLL
- Adds Run key to start application
- Drops file in System32 directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Windows\SysWOW64\MSDCSC\msdcsc.exe" +s +h3⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\attrib.exeattrib "C:\Windows\SysWOW64\MSDCSC\msdcsc.exe" +s +h4⤵
- Sets file to hidden
- Drops file in System32 directory
- Views/modifies file attributes
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /k attrib "C:\Windows\SysWOW64\MSDCSC" +s +h3⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\SysWOW64\attrib.exeattrib "C:\Windows\SysWOW64\MSDCSC" +s +h4⤵
- Sets file to hidden
- Drops file in System32 directory
- Views/modifies file attributes
-
C:\Windows\SysWOW64\notepad.exenotepad3⤵
-
C:\Windows\SysWOW64\MSDCSC\msdcsc.exe"C:\Windows\system32\MSDCSC\msdcsc.exe"3⤵
- Modifies WinLogon for persistence
- Executes dropped EXE
- Adds Run key to start application
- Drops file in System32 directory
- Suspicious use of AdjustPrivilegeToken
Network
MITRE ATT&CK Matrix ATT&CK v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Windows\SysWOW64\MSDCSC\msdcsc.exeFilesize
760KB
MD5cf1fa31e4b8e750e2f9ff5d2563e2cd6
SHA1b43097d737b0ea7365cea6ad09a51598fb1ff04f
SHA256f4b3313b4b8135a1e7bce029b33e79ec60376da9bb7faf320f625e6c4a87373f
SHA512d0f58c9a38bc2295bc28d22857fdab9f82ecfb028de57dbf470ed4df1eefaa08d5b47b1e81b2b7b4a01ad358d0ccc929205f04b23e1d03ce266017e734f12616
-
C:\Windows\SysWOW64\MSDCSC\msdcsc.exeFilesize
760KB
MD5cf1fa31e4b8e750e2f9ff5d2563e2cd6
SHA1b43097d737b0ea7365cea6ad09a51598fb1ff04f
SHA256f4b3313b4b8135a1e7bce029b33e79ec60376da9bb7faf320f625e6c4a87373f
SHA512d0f58c9a38bc2295bc28d22857fdab9f82ecfb028de57dbf470ed4df1eefaa08d5b47b1e81b2b7b4a01ad358d0ccc929205f04b23e1d03ce266017e734f12616
-
C:\Windows\SysWOW64\MSDCSC\msdcsc.exeFilesize
760KB
MD5cf1fa31e4b8e750e2f9ff5d2563e2cd6
SHA1b43097d737b0ea7365cea6ad09a51598fb1ff04f
SHA256f4b3313b4b8135a1e7bce029b33e79ec60376da9bb7faf320f625e6c4a87373f
SHA512d0f58c9a38bc2295bc28d22857fdab9f82ecfb028de57dbf470ed4df1eefaa08d5b47b1e81b2b7b4a01ad358d0ccc929205f04b23e1d03ce266017e734f12616
-
C:\Windows\SysWOW64\MSDCSC\msdcsc.exeFilesize
760KB
MD5cf1fa31e4b8e750e2f9ff5d2563e2cd6
SHA1b43097d737b0ea7365cea6ad09a51598fb1ff04f
SHA256f4b3313b4b8135a1e7bce029b33e79ec60376da9bb7faf320f625e6c4a87373f
SHA512d0f58c9a38bc2295bc28d22857fdab9f82ecfb028de57dbf470ed4df1eefaa08d5b47b1e81b2b7b4a01ad358d0ccc929205f04b23e1d03ce266017e734f12616
-
\Windows\SysWOW64\MSDCSC\msdcsc.exeFilesize
760KB
MD5cf1fa31e4b8e750e2f9ff5d2563e2cd6
SHA1b43097d737b0ea7365cea6ad09a51598fb1ff04f
SHA256f4b3313b4b8135a1e7bce029b33e79ec60376da9bb7faf320f625e6c4a87373f
SHA512d0f58c9a38bc2295bc28d22857fdab9f82ecfb028de57dbf470ed4df1eefaa08d5b47b1e81b2b7b4a01ad358d0ccc929205f04b23e1d03ce266017e734f12616
-
\Windows\SysWOW64\MSDCSC\msdcsc.exeFilesize
760KB
MD5cf1fa31e4b8e750e2f9ff5d2563e2cd6
SHA1b43097d737b0ea7365cea6ad09a51598fb1ff04f
SHA256f4b3313b4b8135a1e7bce029b33e79ec60376da9bb7faf320f625e6c4a87373f
SHA512d0f58c9a38bc2295bc28d22857fdab9f82ecfb028de57dbf470ed4df1eefaa08d5b47b1e81b2b7b4a01ad358d0ccc929205f04b23e1d03ce266017e734f12616
-
\Windows\SysWOW64\MSDCSC\msdcsc.exeFilesize
760KB
MD5cf1fa31e4b8e750e2f9ff5d2563e2cd6
SHA1b43097d737b0ea7365cea6ad09a51598fb1ff04f
SHA256f4b3313b4b8135a1e7bce029b33e79ec60376da9bb7faf320f625e6c4a87373f
SHA512d0f58c9a38bc2295bc28d22857fdab9f82ecfb028de57dbf470ed4df1eefaa08d5b47b1e81b2b7b4a01ad358d0ccc929205f04b23e1d03ce266017e734f12616
-
\Windows\SysWOW64\MSDCSC\msdcsc.exeFilesize
760KB
MD5cf1fa31e4b8e750e2f9ff5d2563e2cd6
SHA1b43097d737b0ea7365cea6ad09a51598fb1ff04f
SHA256f4b3313b4b8135a1e7bce029b33e79ec60376da9bb7faf320f625e6c4a87373f
SHA512d0f58c9a38bc2295bc28d22857fdab9f82ecfb028de57dbf470ed4df1eefaa08d5b47b1e81b2b7b4a01ad358d0ccc929205f04b23e1d03ce266017e734f12616
-
memory/432-102-0x00000000001D0000-0x00000000001D1000-memory.dmpFilesize
4KB
-
memory/432-105-0x0000000000400000-0x00000000004CD000-memory.dmpFilesize
820KB
-
memory/668-72-0x0000000000270000-0x0000000000271000-memory.dmpFilesize
4KB
-
memory/668-58-0x0000000000080000-0x0000000000081000-memory.dmpFilesize
4KB
-
memory/1108-56-0x0000000000240000-0x0000000000241000-memory.dmpFilesize
4KB
-
memory/1108-101-0x0000000000400000-0x00000000004CD000-memory.dmpFilesize
820KB
-
memory/1856-82-0x0000000000240000-0x0000000000241000-memory.dmpFilesize
4KB
-
memory/1856-104-0x0000000000400000-0x00000000004CD000-memory.dmpFilesize
820KB