MalwareBazaar Database

You are currently viewing the MalwareBazaar entry for SHA256 40ec6278632cd557b1b4a71756f605cd1579e1c54f1534c74f15751199fd521c. 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



XenoRAT


Vendor detections: 14


Maldoc score: 23


Intelligence 14 IOCs YARA 13 File information Comments

SHA256 hash: 40ec6278632cd557b1b4a71756f605cd1579e1c54f1534c74f15751199fd521c
SHA3-384 hash: 54fe13e82f64ec3ab6d25c55ab1b9d28718f117e509d306dd4e448a7198c2722651dfed8dcae4d594468d72f9d929774
SHA1 hash: 6de6e84b0c47ff3e816f1eea74be33c2b2b88d71
MD5 hash: c9c6a2b1c94755b93d6200923889827a
humanhash: lithium-texas-triple-berlin
File name:Transaccion_Recibos.xls
Download: download sample
Signature XenoRAT
File size:51'200 bytes
First seen:2024-06-21 05:29:10 UTC
Last seen:2024-06-21 06:33:34 UTC
File type:Excel file xls
MIME type:application/vnd.ms-excel
ssdeep 1536:VrxEtjPOtioVjDGUU1qfDlaGGx+cL2QnABIS49hhUT6SPDLktw:VrxEtjPOtioVjDGUU1qfDlaGGx+cL2QA
TLSH T196336E517681C916D69807364CE2D6EA7B37FC51AE7B87073250F33F2EB76A0C90261A
TrID 46.5% (.XLS) Microsoft Excel sheet (alternate) (56500/1/4)
26.7% (.XLS) Microsoft Excel sheet (32500/1/3)
20.1% (.XLS) Microsoft Excel sheet (alternate) (24500/1/2)
6.5% (.) Generic OLE2 / Multistream Compound (8000/1)
Reporter abuse_ch
Tags:XenoRAT xls

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: 23
OLE dump

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

Section IDSection sizeSection name
1107 bytesCompObj
2244 bytesDocumentSummaryInformation
3208 bytesSummaryInformation
417944 bytesWorkbook
5633 bytes_VBA_PROJECT_CUR/PROJECT
6128 bytes_VBA_PROJECT_CUR/PROJECTwm
7833 bytes_VBA_PROJECT_CUR/VBA/Module1
8985 bytes_VBA_PROJECT_CUR/VBA/Sheet1
9985 bytes_VBA_PROJECT_CUR/VBA/Sheet2
10985 bytes_VBA_PROJECT_CUR/VBA/Sheet3
119673 bytes_VBA_PROJECT_CUR/VBA/ThisWorkbook
125273 bytes_VBA_PROJECT_CUR/VBA/_VBA_PROJECT
133056 bytes_VBA_PROJECT_CUR/VBA/__SRP_0
14218 bytes_VBA_PROJECT_CUR/VBA/__SRP_1
152612 bytes_VBA_PROJECT_CUR/VBA/__SRP_2
16774 bytes_VBA_PROJECT_CUR/VBA/__SRP_3
17612 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
SuspiciousOpenMay open a file
SuspiciousWriteMay write to a file (if combined with Open)
Suspiciousadodb.streamMay create a text file
SuspiciousSaveToFileMay create a text file
SuspiciousShellMay run an executable file or a system command
SuspiciousWScript.ShellMay run an executable file or a system command
SuspiciousCreateObjectMay create an OLE object
SuspiciousShell.ApplicationMay run an application (if combined with CreateObject)
Suspiciousmicrosoft.xmlhttpMay download files from the Internet
SuspiciousChrMay attempt to obfuscate specific strings (use option --deobf to deobfuscate)
SuspiciousHex StringsHex-encoded strings were detected, may be used to obfuscate strings (option --decode to see all)

Intelligence


File Origin
# of uploads :
2
# of downloads :
357
Origin country :
NL NL
Vendor Threat Intelligence
Malware family:
n/a
ID:
1
File name:
40ec6278632cd557b1b4a71756f605cd1579e1c54f1534c74f15751199fd521c.xls
Verdict:
Malicious activity
Analysis date:
2024-06-21 05:43:26 UTC
Tags:
macros macros-on-open xenorat rat

Note:
ANY.RUN is an interactive sandbox that analyzes all user actions rather than an uploaded sample
Result
Verdict:
Suspicious
Maliciousness:

Behaviour
Searching for the window
Using the Windows Management Instrumentation requests
Creating a window
Сreating synchronization primitives
Connection attempt to an infection source by exploiting the app vulnerability
Query of malicious DNS domain
Result
Verdict:
Malicious
File Type:
Legacy Excel File with Macro
Behaviour
BlacklistAPI detected
Document image
Document image
Verdict:
Malicious
Threat level:
  10/10
Confidence:
100%
Tags:
dropper macros macros-on-open packed
Verdict:
Malicious
Labled as:
Msoffice/malicious_confidence_100%
Label:
Malicious
Suspicious Score:
9.9/10
Score Malicious:
1%
Score Benign:
0%
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 with File System Write
Detected macro logic that can write data to the file system.
Shell.Application Object
Detected the instantiation of Shell Application object within the macro.
Macro Contains Suspicious String
Detected a macro with a suspicious string. Suspicious strings include privileged function calls, obfuscations, odd registry keys, etc...
Document With Minimal Content
Document contains less than 1 kilobyte of semantic information.
Result
Threat name:
XenoRAT
Detection:
malicious
Classification:
troj.expl.evad
Score:
100 / 100
Signature
.NET source code contains potential unpacker
AI detected suspicious Excel or Word document
Antivirus / Scanner detection for submitted sample
Antivirus detection for URL or domain
C2 URLs / IPs found in malware configuration
Document contains an embedded VBA macro with suspicious strings
Document contains an embedded VBA with functions possibly related to ADO stream file operations
Document contains an embedded VBA with functions possibly related to HTTP operations
Document contains an embedded VBA with hexadecimal encoded strings
Document exploit detected (creates forbidden files)
Document exploit detected (drops PE files)
Document exploit detected (process start blacklist hit)
Found malware configuration
Injects a PE file into a foreign processes
Machine Learning detection for dropped file
Machine Learning detection for sample
Multi AV Scanner detection for domain / URL
Multi AV Scanner detection for dropped file
Multi AV Scanner detection for submitted file
Office process drops PE file
Potential document exploit detected (performs DNS queries with low reputation score)
Sigma detected: File With Uncommon Extension Created By An Office Application
Sigma detected: Scheduled temp file as task from temp location
Sigma detected: Suspicious Binary In User Directory Spawned From Office Application
Sigma detected: Suspicious Microsoft Office Child Process
Uses schtasks.exe or at.exe to add and modify task schedules
Yara detected XenoRAT
Behaviour
Behavior Graph:
behaviorgraph top1 signatures2 2 Behavior Graph ID: 1460564 Sample: Transaccion_Recibos.xls Startdate: 21/06/2024 Architecture: WINDOWS Score: 100 68 Multi AV Scanner detection for domain / URL 2->68 70 Found malware configuration 2->70 72 Antivirus detection for URL or domain 2->72 74 21 other signatures 2->74 9 EXCEL.EXE 30 24 2->9         started        14 taskeng.exe 1 2->14         started        process3 dnsIp4 58 www.busyestinglsv.site 190.8.176.162, 443, 49166 ColombiaHostingCO Colombia 9->58 50 C:\Users\user\AppData\...\MJSQCNZV.exe, PE32 9->50 dropped 52 C:\Users\user\AppData\Local\...\cftjfc[1].exe, PE32 9->52 dropped 54 C:\Users\user\...\Transaccion_Recibos.xls, Composite 9->54 dropped 82 Document exploit detected (creates forbidden files) 9->82 16 MJSQCNZV.exe 9->16         started        19 MJSQCNZV.exe 14->19         started        file5 signatures6 process7 signatures8 60 Multi AV Scanner detection for dropped file 16->60 62 Machine Learning detection for dropped file 16->62 64 Uses schtasks.exe or at.exe to add and modify task schedules 16->64 21 MJSQCNZV.exe 3 16->21         started        24 MJSQCNZV.exe 5 16->24         started        27 MJSQCNZV.exe 2 16->27         started        66 Injects a PE file into a foreign processes 19->66 29 MJSQCNZV.exe 2 19->29         started        31 MJSQCNZV.exe 2 19->31         started        33 MJSQCNZV.exe 19->33         started        process9 dnsIp10 46 C:\Users\user\AppData\...\MJSQCNZV.exe, PE32 21->46 dropped 35 MJSQCNZV.exe 21->35         started        56 91.92.248.167, 1280, 49167, 49168 THEZONEBG Bulgaria 24->56 48 C:\Users\user\AppData\Local\...\tmpF789.tmp, ASCII 24->48 dropped 38 schtasks.exe 24->38         started        file11 process12 signatures13 76 Multi AV Scanner detection for dropped file 35->76 78 Machine Learning detection for dropped file 35->78 80 Injects a PE file into a foreign processes 35->80 40 MJSQCNZV.exe 2 35->40         started        42 MJSQCNZV.exe 2 35->42         started        44 MJSQCNZV.exe 35->44         started        process14
Threat name:
Script-Macro.Trojan.Heuristic
Status:
Malicious
First seen:
2024-06-21 05:30:05 UTC
File Type:
Document
Extracted files:
26
AV detection:
19 of 38 (50.00%)
Threat level:
  2/5
Result
Malware family:
xenorat
Score:
  10/10
Tags:
family:xenorat macro macro_on_action rat trojan
Behaviour
Checks processor information in registry
Enumerates system info in registry
Modifies Internet Explorer settings
Scheduled Task/Job: Scheduled Task
Suspicious behavior: AddClipboardFormatListener
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
Program crash
Suspicious use of SetThreadContext
Checks computer location settings
Executes dropped EXE
Downloads MZ/PE file
XenorRat
Malware Config
C2 Extraction:
91.92.248.167
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:BitcoinAddress
Author:Didier Stevens (@DidierStevens)
Description:Contains a valid Bitcoin address
Rule name:Check_OutputDebugStringA_iat
Rule name:DebuggerCheck__API
Reference:https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara
Rule name:DebuggerException__SetConsoleCtrl
Reference:https://github.com/naxonez/yaraRules/blob/master/AntiDebugging.yara
Rule name:informational_win_ole_protected
Author:Jeff White (karttoon@gmail.com) @noottrak
Description:Identify OLE Project protection within documents.
Rule name:maldoc_getEIP_method_1
Author:Didier Stevens (https://DidierStevens.com)
Rule name:maldoc_OLE_file_magic_number
Author:Didier Stevens (https://DidierStevens.com)
Rule name:malware_shellcode_hash
Author:JPCERT/CC Incident Response Group
Description:detect shellcode api hash value
Rule name:meth_get_eip
Author:Willi Ballenthin
Rule name:office_document_vba
Author:Jean-Philippe Teissier / @Jipe_
Description:Office document with embedded VBA
Reference:https://github.com/jipegit/
Rule name:PE_Digital_Certificate
Author:albertzsigovits
Rule name:pe_no_import_table
Description:Detect pe file that no import table
Rule name:SUSP_OneNote
Author:spatronn
Description:Hard-Detect One

File information


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

Comments