File name:

taskhost.exe

Full analysis: https://app.any.run/tasks/dcdd0877-bcbb-4c92-9a5e-6791fb9023a8
Verdict: Malicious activity
Threats:

NanoCore is a Remote Access Trojan or RAT. This malware is highly customizable with plugins which allow attackers to tailor its functionality to their needs. Nanocore is created with the .NET framework and it’s available for purchase for just $25 from its “official” website.

Analysis date: December 27, 2021, 12:29:27
OS: Windows 7 Professional Service Pack 1 (build: 7601, 32 bit)
Tags:
trojan
nanocore
rat
Indicators:
MIME: application/x-dosexec
File info: PE32 executable (GUI) Intel 80386 Mono/.Net assembly, for MS Windows
MD5:

C430C8306E52673D281B570C05548BA9

SHA1:

5907F236EAD6F7ADD0456293B954BB8947E20667

SHA256:

61AC76C40A0FB1B40CC06F58762C5E795CB308F52AFCE076070396DA82B9A323

SSDEEP:

6144:Keu2ClDCSMRyN2LCYq9vv7MXii4WxfUTWeMzc+sB64aEGcW+:dMlDvMR1CLv7mdxSPQctB61l+

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

    • Loads the Task Scheduler COM API

      • schtasks.exe (PID: 2672)
      • schtasks.exe (PID: 3108)
    • Uses Task Scheduler to run other applications

      • taskhost.exe (PID: 2572)
    • Drops executable file immediately after starts

      • taskhost.exe (PID: 2572)
    • Changes the autorun value in the registry

      • taskhost.exe (PID: 2572)
    • Connects to CnC server

      • taskhost.exe (PID: 2572)
    • NANOCORE was detected

      • taskhost.exe (PID: 2572)
  • SUSPICIOUS

    • Checks supported languages

      • taskhost.exe (PID: 2572)
      • cmd.exe (PID: 2184)
    • Executable content was dropped or overwritten

      • taskhost.exe (PID: 2572)
    • Uses TASKKILL.EXE to kill process

      • cmd.exe (PID: 2184)
    • Starts CMD.EXE for commands execution

      • taskhost.exe (PID: 2572)
    • Reads Environment values

      • taskhost.exe (PID: 2572)
    • Creates files in the user directory

      • taskhost.exe (PID: 2572)
    • Reads the computer name

      • taskhost.exe (PID: 2572)
    • Starts CMD.EXE for self-deleting

      • taskhost.exe (PID: 2572)
  • INFO

    • Reads the computer name

      • schtasks.exe (PID: 2672)
      • taskkill.exe (PID: 764)
      • PING.EXE (PID: 2648)
      • schtasks.exe (PID: 3108)
    • Checks supported languages

      • schtasks.exe (PID: 2672)
      • PING.EXE (PID: 2648)
      • schtasks.exe (PID: 3108)
      • taskkill.exe (PID: 764)
Find more information about signature artifacts and mapping to MITRE ATT&CK™ MATRIX at the full report
No Malware configuration.

TRiD

.exe | Generic CIL Executable (.NET, Mono, etc.) (63.1)
.exe | Win64 Executable (generic) (23.8)
.dll | Win32 Dynamic Link Library (generic) (5.6)
.exe | Win32 Executable (generic) (3.8)
.exe | Generic Win/DOS Executable (1.7)

EXIF

EXE

Subsystem: Windows GUI
SubsystemVersion: 4
ImageVersion: -
OSVersion: 4
EntryPoint: 0x6443e
UninitializedDataSize: -
InitializedDataSize: 90624
CodeSize: 402944
LinkerVersion: 6
PEType: PE32
TimeStamp: 2015:02:22 01:49:37+01:00
MachineType: Intel 386 or later, and compatibles

Summary

Architecture: IMAGE_FILE_MACHINE_I386
Subsystem: IMAGE_SUBSYSTEM_WINDOWS_GUI
Compilation Date: 22-Feb-2015 00:49:37

DOS Header

Magic number: MZ
Bytes on last page of file: 0x0090
Pages in file: 0x0003
Relocations: 0x0000
Size of header: 0x0004
Min extra paragraphs: 0x0000
Max extra paragraphs: 0xFFFF
Initial SS value: 0x0000
Initial SP value: 0x00B8
Checksum: 0x0000
Initial IP value: 0x0000
Initial CS value: 0x0000
Overlay number: 0x0000
OEM identifier: 0x0000
OEM information: 0x0000
Address of NE header: 0x00000080

PE Headers

Signature: PE
Machine: IMAGE_FILE_MACHINE_I386
Number of sections: 3
Time date stamp: 22-Feb-2015 00:49:37
Pointer to Symbol Table: 0x00000000
Number of symbols: 0
Size of Optional Header: 0x00E0
Characteristics:
  • IMAGE_FILE_32BIT_MACHINE
  • IMAGE_FILE_EXECUTABLE_IMAGE
  • IMAGE_FILE_LINE_NUMS_STRIPPED
  • IMAGE_FILE_LOCAL_SYMS_STRIPPED

Sections

Name
Virtual Address
Virtual Size
Raw Size
Charateristics
Entropy
.text
0x00002000
0x00062444
0x00062600
IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ
7.16867
.rsrc
0x00066000
0x00015FA0
0x00016000
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ
7.9971
.reloc
0x0007C000
0x0000000C
0x00000200
IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_DISCARDABLE, IMAGE_SCN_MEM_READ
0.0980042

Resources

Title
Entropy
Size
Codepage
Language
Type
1
7.99778
89928
Latin 1 / Western European
UNKNOWN
RT_RCDATA

Imports

mscoree.dll
No data.
screenshot
All screenshots are available in the full report
All screenshots are available in the full report
Total processes
43
Monitored processes
6
Malicious processes
1
Suspicious processes
0

Behavior graph

Click at the process to see the details
start #NANOCORE taskhost.exe schtasks.exe no specs schtasks.exe no specs cmd.exe no specs taskkill.exe no specs ping.exe no specs

Process information

PID
CMD
Path
Indicators
Parent process
764taskkill /f /im "taskhost.exe" C:\Windows\system32\taskkill.execmd.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Terminates Processes
Exit code:
0
Version:
6.1.7600.16385 (win7_rtm.090713-1255)
Modules
Images
c:\windows\system32\taskkill.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\version.dll
c:\windows\system32\user32.dll
2184"cmd.exe" /C taskkill /f /im "taskhost.exe" & ping -n 1 -w 3000 1.1.1.1 & type nul > "C:\Users\admin\AppData\Local\Temp\taskhost.exe" & del /f /q "C:\Users\admin\AppData\Local\Temp\taskhost.exe"C:\Windows\system32\cmd.exetaskhost.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
2572"C:\Users\admin\AppData\Local\Temp\taskhost.exe" C:\Users\admin\AppData\Local\Temp\taskhost.exe
Explorer.EXE
User:
admin
Integrity Level:
MEDIUM
Exit code:
1
Modules
Images
c:\users\admin\appdata\local\temp\taskhost.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\mscoree.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\microsoft.net\framework\v4.0.30319\mscoreei.dll
2648ping -n 1 -w 3000 1.1.1.1 C:\Windows\system32\PING.EXEcmd.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
TCP/IP Ping Command
Exit code:
0
Version:
6.1.7600.16385 (win7_rtm.090713-1255)
Modules
Images
c:\windows\system32\ping.exe
c:\windows\system32\kernel32.dll
c:\windows\system32\ntdll.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\iphlpapi.dll
c:\windows\system32\nsi.dll
2672"schtasks.exe" /delete /f /tn "TCP Monitor"C:\Windows\system32\schtasks.exetaskhost.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Manages scheduled tasks
Exit code:
1
Version:
6.1.7600.16385 (win7_rtm.090713-1255)
Modules
Images
c:\windows\system32\schtasks.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\user32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\usp10.dll
c:\windows\system32\ole32.dll
3108"schtasks.exe" /delete /f /tn "TCP Monitor Task"C:\Windows\system32\schtasks.exetaskhost.exe
User:
admin
Company:
Microsoft Corporation
Integrity Level:
MEDIUM
Description:
Manages scheduled tasks
Exit code:
1
Version:
6.1.7600.16385 (win7_rtm.090713-1255)
Modules
Images
c:\windows\system32\schtasks.exe
c:\windows\system32\ntdll.dll
c:\windows\system32\kernel32.dll
c:\windows\system32\kernelbase.dll
c:\windows\system32\msvcrt.dll
c:\windows\system32\user32.dll
c:\windows\system32\gdi32.dll
c:\windows\system32\lpk.dll
c:\windows\system32\usp10.dll
c:\windows\system32\ole32.dll
Total events
790
Read events
774
Write events
15
Delete events
1

Modification events

(PID) Process:(2572) taskhost.exeKey:HKEY_CLASSES_ROOT\Local Settings\MuiCache\16C\52C64B7E
Operation:writeName:LanguageList
Value:
en-US
(PID) Process:(2572) taskhost.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Operation:writeName:TCP Monitor
Value:
C:\Users\admin\AppData\Roaming\90059C37-1320-41A4-B58D-2B75A9850D2F\TCP Monitor\tcpmon.exe
(PID) Process:(2572) taskhost.exeKey:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Operation:delete valueName:TCP Monitor
Value:
C:\Users\admin\AppData\Roaming\90059C37-1320-41A4-B58D-2B75A9850D2F\TCP Monitor\tcpmon.exe
Executable files
1
Suspicious files
2
Text files
1
Unknown types
1

Dropped files

PID
Process
Filename
Type
2572taskhost.exeC:\Users\admin\AppData\Roaming\90059C37-1320-41A4-B58D-2B75A9850D2F\TCP Monitor\tcpmon.exeexecutable
MD5:
SHA256:
2572taskhost.exeC:\Users\admin\AppData\Roaming\90059C37-1320-41A4-B58D-2B75A9850D2F\run.dattext
MD5:
SHA256:
2572taskhost.exeC:\Users\admin\AppData\Roaming\90059C37-1320-41A4-B58D-2B75A9850D2F\storage.datbinary
MD5:963D5E2C9C0008DFF05518B47C367A7F
SHA256:5EACF2974C9BB2C2E24CDC651C4840DD6F4B76A98F0E85E90279F1DBB2E6F3C0
2572taskhost.exeC:\Users\admin\AppData\Roaming\90059C37-1320-41A4-B58D-2B75A9850D2F\catalog.datbs
MD5:32D0AAE13696FF7F8AF33B2D22451028
SHA256:5347661365E7AD2C1ACC27AB0D150FFA097D9246BB3626FCA06989E976E8DD29
2572taskhost.exeC:\Users\admin\AppData\Roaming\90059C37-1320-41A4-B58D-2B75A9850D2F\settings.binbinary
MD5:4E5E92E2369688041CC82EF9650EDED2
SHA256:F8098A6290118F2944B9E7C842BD014377D45844379F863B00D54515A8A64B48
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
0
TCP/UDP connections
4
DNS requests
2
Threats
122

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
2572
taskhost.exe
193.161.193.99:62154
nugeri-62154.portmap.io
OOO Bitree Networks
RU
malicious

DNS requests

Domain
IP
Reputation
nugeri-62154.portmap.io
  • 193.161.193.99
malicious
dns.msftncsi.com
  • 131.107.255.255
shared

Threats

PID
Process
Class
Message
Potential Corporate Privacy Violation
ET POLICY DNS Query to a Reverse Proxy Service Observed
2572
taskhost.exe
A Network Trojan was detected
ET TROJAN Possible NanoCore C2 60B
2572
taskhost.exe
A Network Trojan was detected
ET TROJAN Possible NanoCore C2 60B
2572
taskhost.exe
A Network Trojan was detected
ET TROJAN Possible NanoCore C2 60B
2572
taskhost.exe
A Network Trojan was detected
ET TROJAN Possible NanoCore C2 60B
2572
taskhost.exe
A Network Trojan was detected
ET TROJAN Possible NanoCore C2 60B
2572
taskhost.exe
A Network Trojan was detected
ET TROJAN Possible NanoCore C2 60B
2572
taskhost.exe
A Network Trojan was detected
ET TROJAN Possible NanoCore C2 60B
2572
taskhost.exe
A Network Trojan was detected
ET TROJAN Possible NanoCore C2 60B
2572
taskhost.exe
A Network Trojan was detected
ET TROJAN Possible NanoCore C2 60B
106 ETPRO signatures available at the full report
No debug info