Valyria — Office (OOXML) / .XLSM malware analysis

Static analysis result for SHA-256 39692a7715e2eeab…

MALICIOUS

Office (OOXML) / .XLSM

52.7 KB Created: 2020-02-01 18:28:07 UTC Authoring application: Microsoft Excel 12.0000
MD5: 7dfa46ad31ebba53181362af9b6e2925 SHA-1: d995821bded6d61ca07ca9302e4e7c91737a407f SHA-256: 39692a7715e2eeaba92fd375daba494eb5fdec999503844d48a8bc2338d55585
320 Risk Score

Malware Insights

Valyria · confidence 95%

MITRE ATT&CK
T1204.002 Malicious File Execution: Malicious File T1059.005 Command and Scripting Interpreter: Visual Basic

The file is an XLSM document containing VBA macros, specifically an Auto_Open macro. It exploits the CVE-2017-11882 vulnerability through an embedded Equation Editor object. This object contains a command stager that attempts to execute a script, likely to download and run a secondary payload. ClamAV signatures identify this as Xls.Dropper.Valyria-10030821-0.

Heuristics 8

  • CVE-2017-11882 — Equation Editor command stager critical CVE likely CVE_2017_11882_EQUATION_NATIVE_CMD
    Embedded Equation Editor OLE data contains an invalid Equation Native/MTEF stream with an embedded command stager. This is likely CVE-2017-11882 exploitation because the vulnerable Equation Editor component is reached and the malformed native stream directly carries process-launch bytes.
  • Equation Editor OLE object high CVE related OLE_EQUATION_EDITOR
    Embedded OLE object xl/embeddings/oleObject3.bin contains the Equation Editor CLSID, the legacy component exploited by CVE-2017-11882, CVE-2018-0802, and CVE-2018-0798.
  • ClamAV: Xls.Dropper.Valyria-10030821-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Valyria-10030821-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.
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Embedded OLE object medium OOXML_OLE_OBJECT
    Document contains an embedded OLE object
  • Suspicious extracted artifact medium 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.

Extracted artifacts 9

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
acf0373cc1ee72af4dfad85eea5cd720554399da7e73a536c0c137cbd9eda25a
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 22918 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 9 shell/COM execution token(s).
ooxml_oleobject_00.bin
69ec9001f5ed1cfa4edff4d35e369db197f3a0aee455643ff8cd432e909d3e91
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject1.bin 22016 bytes
ooxml_oleobject_00_ole10native_00.bin
47ed76edf803a4bf49028a59ec73cf1c76ddea36f60dd8f3631ff73dc0282327
ole-package OOXML xl/embeddings/oleObject1.bin Ole10Native stream: Ole10Native 19285 bytes
ooxml_oleobject_01.bin
5a793934dcecb09704672a8fa981c243eabc171fa6b2dc3cacfad0d97e0b7798
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject2.bin 29184 bytes
ooxml_oleobject_01_ole10native_00.bin
ee390b365d98fb4b3a54ac389166da9d7ea4742be51172de506525f75a703a6b
ole-package OOXML xl/embeddings/oleObject2.bin Ole10Native stream: Ole10Native 26555 bytes
ooxml_oleobject_02.bin
20e095f0f275fbe6cae41247217f7d64cb85edbd7002121e3bd1f99bf2a3c69d
ooxml-ole-object OOXML embedded OLE part: xl/embeddings/oleObject3.bin 5936 bytes
ooxml_oleobject_03.bin
33f511bb47c661dc6b1e6adf8de0a2256382c9828c972c99c4d2361c7324cc88
ooxml-ole-object OOXML embedded OLE part: xl/vbaProject.bin 54272 bytes
Detection
ClamAV: Xls.Dropper.Valyria-10030821-0
Obfuscation or payload: unlikely
emf_00.emf
979dde2aed02f077c16ae53546c6df9eed40e8386d6db6fc36aee9f966d2cb82
ooxml-emf OOXML EMF part: xl/media/image1.emf 4968 bytes
emf_01.emf
4d4d1e7b04c99dcb8e885915068ad6f74cc2333e91580cdae5ccaa00c427247f
ooxml-emf OOXML EMF part: xl/media/image2.emf 1536 bytes