Malicious Office (OOXML) / .XLSX — malware analysis report

Static analysis result for SHA-256 0041073ea319bff5…

MALICIOUS

Office (OOXML) / .XLSX

111.6 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: 3d569583b67978ea3d77f3af5aecd580 SHA-1: c6b5157db277c4129cb62faec7b38efcb2de3d14 SHA-256: 0041073ea319bff583b74288499cd346674990eb48ae3483fb3a2a8a76292ae8
260 Risk Score

Malware Insights

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

The file is an Excel document containing a Workbook_Open VBA macro that uses CreateObject to execute a batch file and a VBScript. The macro attempts to download and execute payloads from multiple URLs, including 'http://reumatismclinic.com/-/-/scCnm3mbJRpsaKBbrC/', 'https://shodmanjarir.com/wp-admin/xJE4P3d3N/', and 'http://tubelocal.net/wp-admin/X4Xm4Mk/'. The embedded script also constructs a command line that includes a Base64 encoded string which decodes to a list of URLs, further indicating a downloader functionality.

Heuristics 6

  • ClamAV: Doc.Malware.Valyria-10004384-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10004384-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
527d0656a0c2c323955d068683ef8f7e20c035cda247a1e24383595c0eb3403b
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 7821 bytes
vbaProject_00.bin
480dd6f3c5d566bc9afb14f7cab166ae610bb465b2450627aae184fb1289a347
vba-project OOXML VBA project: xl/vbaProject.bin 37888 bytes
Detection
ClamAV: Doc.Malware.Valyria-10004384-0
Obfuscation or payload: unlikely