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

Static analysis result for SHA-256 8aa0f329126c1d80…

MALICIOUS

Office (OOXML) / .XLSX

111.6 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: e5b5a03f2de42f730a608d7b15cd51c0 SHA-1: 970316c26619919a0c21f8348c0bdd214b14889d SHA-256: 8aa0f329126c1d8062f9a05124252e65cde407a519d6702082b051fb17659414
260 Risk Score

Malware Insights

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

The sample is an XLSX file containing a Workbook_Open VBA macro, which is a common delivery mechanism for malware. The macro attempts to execute a batch file and a VBScript from the programdata directory. The obfuscated command line in the DOC BODY section reconstructs to a series of URLs that are likely used to download and execute a second-stage payload. The VBA script itself contains logic that appears to be part of a downloader or droppper functionality, further supporting the malicious intent.

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
  • Suspicious extracted artifact high 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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — 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
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
4a73614390f08881ce18cf1f8f1dc0befb7b46f3c8ad9d39216685edd1479d06
vba-project OOXML VBA project: xl/vbaProject.bin 37888 bytes
Detection
ClamAV: Doc.Malware.Valyria-10004384-0
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.