MalwareBazaar Database

You are currently viewing the MalwareBazaar entry for SHA256 5184caaa51f3f661060731ef43e83f7d1978779ef224a83e819558f925eee73e. While MalwareBazaar tries to identify whether the sample provided is malicious or not, there is no guarantee that a sample in MalwareBazaar is malicious.

Database Entry



NanoCore


Vendor detections: 11


Maldoc score: 13


Intelligence 11 IOCs 1 YARA 11 File information Comments

SHA256 hash: 5184caaa51f3f661060731ef43e83f7d1978779ef224a83e819558f925eee73e
SHA3-384 hash: 6e79e2e1133b5af535547d995874121f708eeb8d5a541e3213ff90ee4d8bfedb4e7da9f2e64573107b8fad95f20f36b6
SHA1 hash: b51c1611a227de1fac3d020259306157e1dacc2f
MD5 hash: db196958b90a5716d64cf12e3ca92cc2
humanhash: magnesium-early-six-oregon
File name:Order23032021.xls
Download: download sample
Signature NanoCore
File size:92'672 bytes
First seen:2021-03-23 08:18:36 UTC
Last seen:2021-03-23 09:36:27 UTC
File type:Excel file xls
MIME type:application/vnd.ms-excel
ssdeep 1536:QppxEtjPOtioVjDGUU1qfDlaGGx+cL2QnAJO31YNISLpNXTq1dkPzLGjpcTPJtUG:YpxEtjPOtioVjDGUU1qfDlaGGx+cL2QO
TLSH 38932A517380C836CA854B310ED7DADAA62DBC66BE5B86473346F31F3E367C4891264E
Reporter abuse_ch
Tags:NanoCore RAT xls


Avatar
abuse_ch
NanoCore C2:
185.140.53.130:2364

Indicators Of Compromise (IOCs)


Below is a list of indicators of compromise (IOCs) associated with this malware samples.

IOCThreatFox Reference
185.140.53.130:2364 https://threatfox.abuse.ch/ioc/4502/

Office OLE Information


This malware samples appears to be an Office document. The following table provides more information about this document using oletools and oledump.

OLE id
Maldoc score: 13
Application name is Microsoft Excel
Office document is in OLE format
Office document contains VBA Macros
OLE dump

MalwareBazaar was able to identify 16 sections in this file using oledump:

Section IDSection sizeSection name
1107 bytesCompObj
2244 bytesDocumentSummaryInformation
3208 bytesSummaryInformation
454516 bytesWorkbook
5518 bytes_VBA_PROJECT_CUR/PROJECT
6104 bytes_VBA_PROJECT_CUR/PROJECTwm
7977 bytes_VBA_PROJECT_CUR/VBA/Sheet1
8977 bytes_VBA_PROJECT_CUR/VBA/Sheet2
9977 bytes_VBA_PROJECT_CUR/VBA/Sheet3
1016484 bytes_VBA_PROJECT_CUR/VBA/ThisWorkbook
116532 bytes_VBA_PROJECT_CUR/VBA/_VBA_PROJECT
121612 bytes_VBA_PROJECT_CUR/VBA/__SRP_0
131089 bytes_VBA_PROJECT_CUR/VBA/__SRP_1
14568 bytes_VBA_PROJECT_CUR/VBA/__SRP_2
15818 bytes_VBA_PROJECT_CUR/VBA/__SRP_3
16559 bytes_VBA_PROJECT_CUR/VBA/dir
OLE vba

MalwareBazaar was able to extract and deobfuscate VBA script(s) the following information from OLE objects embedded in this file using olevba:

TypeKeywordDescription
AutoExecWorkbook_OpenRuns when the Excel Workbook is opened
Hex StringCreate437265617465
SuspiciousShowWindowMay hide the application
SuspiciousCreateObjectMay create an OLE object
SuspiciousChrMay attempt to obfuscate specific strings (use option --deobf to deobfuscate)
SuspiciousCreateMay execute file or a system command through
SuspiciousHex StringsHex-encoded strings were detected, may be used to obfuscate strings (option --decode to see all)
SuspiciousBase64 StringsBase64-encoded strings were detected, may be used to obfuscate strings (option --decode to see all)

Intelligence


File Origin
# of uploads :
2
# of downloads :
182
Origin country :
n/a
Vendor Threat Intelligence
Malware family:
n/a
ID:
1
File name:
Order23032021.xls
Verdict:
Malicious activity
Analysis date:
2021-03-23 08:23:19 UTC
Tags:
macros macros-on-open maldoc-5 nanocore rat trojan

Note:
ANY.RUN is an interactive sandbox that analyzes all user actions rather than an uploaded sample
Verdict:
Malicious
File type:
application/vnd.ms-excel
Has a screenshot:
False
Contains macros:
True
Result
Verdict:
Malware
Maliciousness:

Behaviour
Deleting a recently created file
Creating a window
Using the Windows Management Instrumentation requests
Creating a process with a hidden window
DNS request
Sending a custom TCP request
Creating a file in the %temp% directory
Creating a process from a recently created file
Creating a file in the %AppData% directory
Launching a process
Bypassing of proactive protection methods using Windows Management Instrumentation (WMI)
Launching a process by exploiting the app vulnerability
Enabling autorun by creating a file
Unauthorized injection to a system process
Result
Verdict:
Malicious
File Type:
Legacy Excel File with Macro
Document image
Document image
Result
Verdict:
MALICIOUS
Details
Macro with Startup Hook
Detected macro logic that will automatically execute on document open. Most malware contains some execution hook.
Macro Contains Suspicious String
Detected a macro with a suspicious string. Suspicious strings include privileged function calls, obfuscations, odd registry keys, etc...
InQuest Machine Learning
An InQuest machine-learning model classified this macro as potentially malicious.
Result
Threat name:
Nanocore
Detection:
malicious
Classification:
troj.evad
Score:
100 / 100
Signature
.NET source code contains potential unpacker
Allocates memory in foreign processes
Antivirus / Scanner detection for submitted sample
C2 URLs / IPs found in malware configuration
Creates processes via WMI
Detected Nanocore Rat
Document contains an embedded VBA macro which may execute processes
Document contains an embedded VBA with base64 encoded strings
Document contains an embedded VBA with hexadecimal encoded strings
Document contains an embedded VBA with many randomly named variables
Found malware configuration
Hides that the sample has been downloaded from the Internet (zone.identifier)
Injects a PE file into a foreign processes
Machine Learning detection for sample
Malicious sample detected (through community Yara rule)
Multi AV Scanner detection for submitted file
Obfuscated command line found
Office document tries to convince victim to disable security protection (e.g. to enable ActiveX or Macros)
Powershell drops PE file
Sigma detected: NanoCore
Sigma detected: Scheduled temp file as task from temp location
Suspicious powershell command line found
Tries to detect sandboxes and other dynamic analysis tools (process name or module or function)
Uses schtasks.exe or at.exe to add and modify task schedules
Writes to foreign memory regions
Yara detected AntiVM3
Yara detected Nanocore RAT
Behaviour
Behavior Graph:
behaviorgraph top1 signatures2 2 Behavior Graph ID: 373734 Sample: Order23032021.xls Startdate: 23/03/2021 Architecture: WINDOWS Score: 100 37 Found malware configuration 2->37 39 Malicious sample detected (through community Yara rule) 2->39 41 Antivirus / Scanner detection for submitted sample 2->41 43 18 other signatures 2->43 7 powershell.exe 16 7 2->7         started        12 EXCEL.EXE 57 13 2->12         started        process3 dnsIp4 35 cdn.discordapp.com 162.159.133.233, 443, 49165 CLOUDFLARENETUS United States 7->35 27 C:\Users\user\AppData\Local\...\jWyYtQjxy.exe, PE32 7->27 dropped 47 Powershell drops PE file 7->47 14 jWyYtQjxy.exe 1 10 7->14         started        file5 signatures6 process7 file8 29 C:\Users\user\AppData\Local\...\tmp1D32.tmp, XML 14->29 dropped 31 C:\Users\user\AppData\...\yVVEIZvVsdzWIS.exe, PE32 14->31 dropped 49 Uses schtasks.exe or at.exe to add and modify task schedules 14->49 51 Writes to foreign memory regions 14->51 53 Allocates memory in foreign processes 14->53 55 Injects a PE file into a foreign processes 14->55 18 MSBuild.exe 8 14->18         started        23 schtasks.exe 14->23         started        signatures9 process10 dnsIp11 33 185.140.53.130, 2364, 49166, 49167 DAVID_CRAIGGG Sweden 18->33 25 C:\Users\user\AppData\Roaming\...\run.dat, data 18->25 dropped 45 Hides that the sample has been downloaded from the Internet (zone.identifier) 18->45 file12 signatures13
Threat name:
Script-Macro.Trojan.Valyria
Status:
Malicious
First seen:
2021-03-23 07:21:56 UTC
AV detection:
10 of 48 (20.83%)
Threat level:
  5/5
Result
Malware family:
nanocore
Score:
  10/10
Tags:
family:nanocore keylogger macro macro_on_action spyware stealer trojan
Behaviour
Checks processor information in registry
Creates scheduled task(s)
Enumerates system info in registry
Modifies Internet Explorer settings
Suspicious behavior: AddClipboardFormatListener
Suspicious behavior: EnumeratesProcesses
Suspicious behavior: GetForegroundWindowSpam
Suspicious use of AdjustPrivilegeToken
Suspicious use of SetWindowsHookEx
Suspicious use of WriteProcessMemory
Office loads VBA resources, possible macro or embedded object present
Enumerates physical storage devices
Drops file in System32 directory
Suspicious use of SetThreadContext
Blocklisted process makes network request
Executes dropped EXE
NanoCore
Process spawned unexpected child process
Malware Config
C2 Extraction:
185.140.53.130:2364
mydnsnanocore123.ddns.net:2364
Dropper Extraction:
https://cdn.discordapp.com/attachments/823801311480250391/823801423296331796/d2aVbt2JS4su0p6.exe
Please note that we are no longer able to provide a coverage score for Virus Total.

YARA Signatures


MalwareBazaar uses YARA rules from several public and non-public repositories, such as YARAhub and Malpedia. Those are being matched against malware samples uploaded to MalwareBazaar as well as against any suspicious process dumps they may create. Please note that only results from TLP:CLEAR rules are being displayed.

Rule name:ach_NanoCore
Author:abuse.ch
Rule name:Email_stealer_bin_mem
Author:James_inthe_box
Description:Email in files like avemaria
Rule name:IPPort_combo_mem
Author:James_inthe_box
Description:IP and port combo
Rule name:Nanocore
Author:JPCERT/CC Incident Response Group
Description:detect Nanocore in memory
Reference:internal research
Rule name:nanocore_rat
Author:jeFF0Falltrades
Rule name:Nanocore_RAT_Feb18_1
Author:Florian Roth
Description:Detects Nanocore RAT
Reference:Internal Research - T2T
Rule name:Nanocore_RAT_Gen_2
Author:Florian Roth
Description:Detetcs the Nanocore RAT
Reference:https://www.sentinelone.com/blogs/teaching-an-old-rat-new-tricks/
Rule name:Select_from_enumeration
Author:James_inthe_box
Description:IP and port combo
Rule name:SharedStrings
Author:Katie Kleemola
Description:Internal names found in LURK0/CCTV0 samples
Rule name:UAC_bypass_bin_mem
Author:James_inthe_box
Description:UAC bypass in files like avemaria
Rule name:win_nanocore_w0
Author: Kevin Breen <kevin@techanarchy.net>

File information


The table below shows additional information about this malware sample such as delivery method and external references.

Comments