File name:

SQL Server.exe

Full analysis: https://app.any.run/tasks/2b3e5bb4-da88-43fa-a51b-8f51b4cefe0c
Verdict: Malicious activity
Threats:

DarkComet RAT is a malicious program designed to remotely control or administer a victim's computer, steal private data and spy on the victim.

Analysis date: October 04, 2022, 19:43:58
OS: Windows 7 Professional Service Pack 1 (build: 7601, 32 bit)
Tags:
darkcomet
Indicators:
MIME: application/x-dosexec
File info: PE32 executable (GUI) Intel 80386, for MS Windows
MD5:

5621A1A475AAC822F7A56C93AB65F6C9

SHA1:

6FB1D586F70B6D123B96F4D8901233ED8B8ADE92

SHA256:

BBC6486837B468D925394A9A14AAE39C75FBDE0E1C8FF087E33ECAEC00FB3C92

SSDEEP:

6144:rXX3o41k5ebqlP2jYEQxHjXc0kpKn/gRjMUPNfL7aWUkeJHtSWI4:r5bqlPdxjMFMUPNf/aWvC0+

ANY.RUN is an interactive service which provides full access to the guest system. Information in this report could be distorted by user actions and is provided for user acknowledgement as it is. ANY.RUN does not guarantee maliciousness or safety of the content.
  • MALICIOUS

    • Changes the autorun value in the registry

      • SQL Server.exe (PID: 1192)
      • msdcsc.exe (PID: 2264)
    • DARKCOMET detected by memory dumps

      • msdcsc.exe (PID: 2264)
    • Changes the login/logoff helper path in the registry

      • SQL Server.exe (PID: 1192)
    • Drops executable file immediately after starts

      • SQL Server.exe (PID: 1192)
  • SUSPICIOUS

    • Checks supported languages

      • SQL Server.exe (PID: 3252)
      • cmd.exe (PID: 1244)
      • cmd.exe (PID: 292)
      • msdcsc.exe (PID: 2396)
      • msdcsc.exe (PID: 2264)
      • SQL Server.exe (PID: 1192)
    • Executed via COM

      • DllHost.exe (PID: 1936)
    • Reads the computer name

      • SQL Server.exe (PID: 1192)
      • msdcsc.exe (PID: 2264)
    • Application launched itself

      • SQL Server.exe (PID: 3252)
      • msdcsc.exe (PID: 2396)
    • Starts CMD.EXE for commands execution

      • SQL Server.exe (PID: 1192)
    • Uses ATTRIB.EXE to modify file attributes

      • cmd.exe (PID: 292)
      • cmd.exe (PID: 1244)
    • Reads the date of Windows installation

      • SQL Server.exe (PID: 1192)
    • Starts itself from another location

      • SQL Server.exe (PID: 1192)
    • Executable content was dropped or overwritten

      • SQL Server.exe (PID: 1192)
    • Drops a file with a compile date too recent

      • SQL Server.exe (PID: 1192)
  • INFO

    • Checks supported languages

      • DllHost.exe (PID: 1936)
      • attrib.exe (PID: 4056)
      • attrib.exe (PID: 288)
      • notepad.exe (PID: 4040)
      • notepad.exe (PID: 3668)
    • Reads the computer name

      • DllHost.exe (PID: 1936)
Find more information about signature artifacts and mapping to MITRE ATT&CK™ MATRIX at the full report

DarkComet

(PID) Process(2264) msdcsc.exe
C2 (3)192.168.0.8:6969
rtts.ddns.net:6969
127.0.0.1:6969
Version#KCMDDC51#
MutexDC_MUTEX-CYNCSGL
sidVictim
FWB0
gencodeNf0wsx6QY9sq
InstallTrue
COMBOPATH7
Install pathMSDCSC\msdcsc.exe
Registry keyMicroUpdate
Edit date2007-04-16
PersistanceTrue
MELT1
Change Date1
Directory attributesTrue
File attrubutesTrue
FAKEMSG1
MSGTITLEError
MSGCORE44697374726962757461626C6573206E6F7420666F756E642021
MSGICON16
SH11
SH41
CHIDEF1
CHIDED1
PERS1
Offline keyloggerTrue
No Malware configuration.

TRiD

.exe | Win32 Executable Borland Delphi 7 (97.4)
.dll | Win32 Dynamic Link Library (generic) (0.9)
.exe | Win32 Executable (generic) (0.6)
.exe | Win16/32 Executable Delphi generic (0.3)
.exe | Generic Win/DOS Executable (0.2)

Summary

Architecture: IMAGE_FILE_MACHINE_I386
Subsystem: IMAGE_SUBSYSTEM_WINDOWS_GUI
Compilation Date: 1992-Jun-19 22:22:17
Detected languages:
  • English - United States
Comments: Remote Service Application
CompanyName: Microsoft Corp.
FileDescription: Remote Service Application
FileVersion: 1, 0, 0, 1
InternalName: MSRSAAPP
LegalCopyright: Copyright (C) 1999
OriginalFilename: MSRSAAP.EXE
ProductName: Remote Service Application
ProductVersion: 4, 0, 0, 0

DOS Header

e_magic: MZ
e_cblp: 80
e_cp: 2
e_crlc: -
e_cparhdr: 4
e_minalloc: 15
e_maxalloc: 65535
e_ss: -
e_sp: 184
e_csum: -
e_ip: -
e_cs: -
e_ovno: 26
e_oemid: -
e_oeminfo: -
e_lfanew: 256

PE Headers

Signature: PE
Machine: IMAGE_FILE_MACHINE_I386
NumberofSections: 8
TimeDateStamp: 1992-Jun-19 22:22:17
PointerToSymbolTable: -
NumberOfSymbols: -
SizeOfOptionalHeader: 224
Characteristics:
  • IMAGE_FILE_32BIT_MACHINE
  • IMAGE_FILE_BYTES_REVERSED_HI
  • IMAGE_FILE_BYTES_REVERSED_LO
  • IMAGE_FILE_EXECUTABLE_IMAGE
  • IMAGE_FILE_LINE_NUMS_STRIPPED
  • IMAGE_FILE_LOCAL_SYMS_STRIPPED

Sections

Name
Virtual Address
Virtual Size
Raw Size
Charateristics
Entropy
CODE
4096
28388
28672
IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ
6.47734
DATA
32768
516
1024
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
2.68963
BSS
36864
6393
0
IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
.idata
45056
2032
2048
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
4.46857
.tls
49152
8
0
IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_WRITE
.rdata
53248
24
512
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_SHARED
0.204488
.reloc
57344
2308
2560
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_SHARED
6.38701
.rsrc
61440
7484
7680
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ, IMAGE_SCN_MEM_SHARED
3.88274

Resources

Title
Entropy
Size
Codepage
Language
Type
1
4.563
2216
Latin 1 / Western European
English - United States
RT_ICON
2
3.03265
1384
Latin 1 / Western European
English - United States
RT_ICON
3
3.3171
224
Latin 1 / Western European
English - United States
RT_STRING
1 (#2)
3.61237
548
Latin 1 / Western European
English - United States
RT_STRING
2 (#2)
3.63234
628
Latin 1 / Western European
English - United States
RT_STRING
DVCLAL
4
16
Latin 1 / Western European
UNKNOWN
RT_RCDATA
PACKAGEINFO
4.25693
92
Latin 1 / Western European
UNKNOWN
RT_RCDATA
MAINICON
2.32824
34
Latin 1 / Western European
English - United States
RT_GROUP_ICON
1 (#3)
1.95128
1716
Latin 1 / Western European
UNKNOWN
RT_VERSION

Imports

advapi32.dll
gdi32.dll
kernel32.dll
kernel32.dll (#2)
kernel32.dll (#3)
kernel32.dll (#4)
oleaut32.dll
user32.dll
user32.dll (#2)
No data.
screenshotscreenshotscreenshotscreenshotscreenshotscreenshot
All screenshots are available in the full report
All screenshots are available in the full report
Total processes
44
Monitored processes
11
Malicious processes
4
Suspicious processes
0

Behavior graph

Click at the process to see the details
start drop and start sql server.exe no specs PhotoViewer.dll no specs sql server.exe cmd.exe no specs cmd.exe no specs notepad.exe no specs attrib.exe no specs attrib.exe no specs msdcsc.exe no specs #DARKCOMET msdcsc.exe notepad.exe no specs

Process information

PID
CMD
Path
Indicators
Parent process
288attrib "C:\Users\admin\AppData\Local\Temp\SQL Server.exe" +s +hC:\Windows\system32\attrib.execmd.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Attribute Utility
Exit code:
0
Version:
6.1.7600.16385 (win7_rtm.090713-1255)
Modules
Images
c:\windows\system32\attrib.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\ulib.dll
c:\windows\system32\user32.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\usp10.dll
292"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\admin\AppData\Local\Temp" +s +hC:\Windows\System32\cmd.exeSQL Server.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Windows Command Processor
Exit code:
0
Version:
6.1.7601.17514 (win7sp1_rtm.101119-1850)
Modules
Images
c:\windows\system32\cmd.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\winbrand.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\user32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\usp10.dll
c:\windows\system32\gdi32.dll
1192"C:\Users\admin\AppData\Local\Temp\SQL Server.exe" C:\Users\admin\AppData\Local\Temp\SQL Server.exe
SQL Server.exe
User:
admin
Company:
Microsoft Corp.
Integrity Level:
MEDIUM
Description:
Remote Service Application
Exit code:
0
Version:
1, 0, 0, 1
Modules
Images
c:\users\admin\appdata\local\temp\sql server.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\oleaut32.dll
c:\windows\system32\ole32.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\user32.dll
c:\windows\system32\lpk.dll
1244"C:\Windows\System32\cmd.exe" /k attrib "C:\Users\admin\AppData\Local\Temp\SQL Server.exe" +s +hC:\Windows\System32\cmd.exeSQL Server.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Windows Command Processor
Exit code:
0
Version:
6.1.7601.17514 (win7sp1_rtm.101119-1850)
Modules
Images
c:\windows\system32\cmd.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\winbrand.dll
c:\windows\system32\user32.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\usp10.dll
1936C:\Windows\system32\DllHost.exe /Processid:{76D0CB12-7604-4048-B83C-1005C7DDC503}C:\Windows\system32\DllHost.exesvchost.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
COM Surrogate
Exit code:
0
Version:
6.1.7600.16385 (win7_rtm.090713-1255)
Modules
Images
c:\windows\system32\ntdll.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\dllhost.exe
c:\windows\system32\msvcrt.dll
c:\windows\system32\ole32.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\user32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\usp10.dll
2264"C:\Users\admin\Documents\MSDCSC\msdcsc.exe" C:\Users\admin\Documents\MSDCSC\msdcsc.exe
msdcsc.exe
User:
admin
Company:
Microsoft Corp.
Integrity Level:
MEDIUM
Description:
Remote Service Application
Exit code:
0
Version:
1, 0, 0, 1
Modules
Images
c:\users\admin\documents\msdcsc\msdcsc.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\oleaut32.dll
c:\windows\system32\ole32.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\user32.dll
c:\windows\system32\lpk.dll
DarkComet
(PID) Process(2264) msdcsc.exe
C2 (3)192.168.0.8:6969
rtts.ddns.net:6969
127.0.0.1:6969
Version#KCMDDC51#
MutexDC_MUTEX-CYNCSGL
sidVictim
FWB0
gencodeNf0wsx6QY9sq
InstallTrue
COMBOPATH7
Install pathMSDCSC\msdcsc.exe
Registry keyMicroUpdate
Edit date2007-04-16
PersistanceTrue
MELT1
Change Date1
Directory attributesTrue
File attrubutesTrue
FAKEMSG1
MSGTITLEError
MSGCORE44697374726962757461626C6573206E6F7420666F756E642021
MSGICON16
SH11
SH41
CHIDEF1
CHIDED1
PERS1
Offline keyloggerTrue
2396"C:\Users\admin\Documents\MSDCSC\msdcsc.exe" C:\Users\admin\Documents\MSDCSC\msdcsc.exeSQL Server.exe
User:
admin
Company:
Microsoft Corp.
Integrity Level:
MEDIUM
Description:
Remote Service Application
Exit code:
0
Version:
1, 0, 0, 1
Modules
Images
c:\users\admin\documents\msdcsc\msdcsc.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\user32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\usp10.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\advapi32.dll
3252"C:\Users\admin\AppData\Local\Temp\SQL Server.exe" C:\Users\admin\AppData\Local\Temp\SQL Server.exeExplorer.EXE
User:
admin
Company:
Microsoft Corp.
Integrity Level:
MEDIUM
Description:
Remote Service Application
Exit code:
0
Version:
1, 0, 0, 1
Modules
Images
c:\users\admin\appdata\local\temp\sql server.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\user32.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\usp10.dll
c:\windows\system32\rpcrt4.dll
3668notepadC:\Windows\system32\notepad.exeSQL Server.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Notepad
Exit code:
0
Version:
6.1.7600.16385 (win7_rtm.090713-1255)
Modules
Images
c:\windows\system32\notepad.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\advapi32.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\sechost.dll
c:\windows\system32\rpcrt4.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\user32.dll
4040notepadC:\Windows\system32\notepad.exemsdcsc.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Notepad
Exit code:
0
Version:
6.1.7600.16385 (win7_rtm.090713-1255)
Modules
Images
c:\windows\system32\notepad.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\advapi32.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\sechost.dll
c:\windows\system32\rpcrt4.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\user32.dll
Total events
1 992
Read events
1 912
Write events
80
Delete events
0

Modification events

(PID) Process:(1936) DllHost.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Direct3D\MostRecentApplication
Operation:writeName:Name
Value:
DllHost.exe
(PID) Process:(1936) DllHost.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Windows Photo Viewer\Viewer
Operation:writeName:MainWndPos
Value:
6000000034000000A00400008002000000000000
(PID) Process:(1192) SQL Server.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Operation:writeName:MicroUpdate
Value:
C:\Users\admin\Documents\MSDCSC\msdcsc.exe
(PID) Process:(1192) SQL Server.exeKey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Operation:writeName:UserInit
Value:
C:\Windows\system32\userinit.exe,C:\Users\admin\Documents\MSDCSC\msdcsc.exe
(PID) Process:(1192) SQL Server.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
Operation:writeName:ProxyBypass
Value:
1
(PID) Process:(1192) SQL Server.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
Operation:writeName:IntranetName
Value:
1
(PID) Process:(1192) SQL Server.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
Operation:writeName:UNCAsIntranet
Value:
1
(PID) Process:(1192) SQL Server.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
Operation:writeName:AutoDetect
Value:
0
(PID) Process:(1192) SQL Server.exeKey:HKEY_CLASSES_ROOT\Local Settings\MuiCache\16C\52C64B7E
Operation:writeName:LanguageList
Value:
en-US
(PID) Process:(2264) msdcsc.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Operation:writeName:MicroUpdate
Value:
C:\Users\admin\Documents\MSDCSC\msdcsc.exe
Executable files
1
Suspicious files
0
Text files
0
Unknown types
0

Dropped files

PID
Process
Filename
Type
1192SQL Server.exeC:\Users\admin\Documents\MSDCSC\msdcsc.exeexecutable
MD5:
SHA256:
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
0
TCP/UDP connections
6
DNS requests
2
Threats
2

HTTP requests

No HTTP requests
Download PCAP, analyze network streams, HTTP content and a lot more at the full report

Connections

PID
Process
IP
Domain
ASN
CN
Reputation
192.168.100.182:56663
malicious
192.168.100.182:57301
malicious
2264
msdcsc.exe
185.223.169.220:6969
rtts.ddns.net
Andridan-Impex SRL
MD
unknown
185.223.169.220:6969
rtts.ddns.net
Andridan-Impex SRL
MD
unknown
192.168.100.182:57959
malicious

DNS requests

Domain
IP
Reputation
rtts.ddns.net
  • 185.223.169.220
malicious

Threats

PID
Process
Class
Message
Potentially Bad Traffic
ET POLICY DNS Query to DynDNS Domain *.ddns .net
Potentially Bad Traffic
ET POLICY DNS Query to DynDNS Domain *.ddns .net
No debug info