Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2a53c6e8f6c54948…

MALICIOUS

Office (OLE)

60.0 KB Created: 2016-05-08 21:25:00 Authoring application: Microsoft Office Word First seen: 2018-01-23
MD5: 22c5aff045a356a047dd06b75749b9df SHA-1: c9029e02ed78fd87fb0403637b5b494cc5256184 SHA-256: 2a53c6e8f6c549487cf637604cf1c3f559ac3a8bdf2f458679feed711b81882f
104 Risk Score

Malware Insights

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

The sample is a malicious Office document containing VBA macros. The heuristic OLE_VBA_PCODE_AUTOEXEC_EXEC indicates that the macro is designed to execute automatically upon opening the document. The presence of SC_STR_WSCRIPT and the VBA macro code suggest the script's intent is to download and execute a second-stage payload, likely leveraging Windows Script Host.

Heuristics 5

  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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) 370 bytes
SHA-256: 7f58fe42f2b4359a05854f14b2a329dc8c9c539a3cea1a675df76d12b08507cc
Detection
ClamAV: No threats found
Obfuscation or payload: likely
7 of 14 identifiers look randomly generated (e.g. 'FWRQkgeAnd') — consistent with name-mangling obfuscation.
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "vqJJuWW"
Public Function uCEIbxdxuK(ByVal itufB As String, ByVal wTlLUCgqC As String) As String
Dim mKqBoVNMEY As Boolean
For FWRQkgeAnd = 1 To Len(itufB)
mKqBoVNMEY = lniCyMC.yMzqnfP(wTlLUCgqC, lniCyMC.MlRWET(itufB, FWRQkgeAnd))
If Not mKqBoVNMEY Then
uCEIbxdxuK = uCEIbxdxuK & lniCyMC.MlRWET(itufB, FWRQkgeAnd)
End If
Next
End Function