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

Static analysis result for SHA-256 21d057832c481717…

MALICIOUS

Office (OOXML) / .XLSM

22.7 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 16.0300
MD5: 935039cd2778030f1e2dd525c48bee70 SHA-1: 0b74955864ec75c796ac0b0a44bf682b3e923419 SHA-256: 21d057832c48171778abfa70b1e0433c24076d972ae070814b83b2b9bbdab727
100 Risk Score

Malware Insights

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

The document uses a common lure to trick users into enabling macros, as indicated by the 'SE_ENABLE_LURE' heuristic and the document body. Once enabled, the VBA macro uses the 'Shell()' function to execute a PowerShell command. This command downloads a second-stage payload from 'http://185.230.162.254/ucc/mail.exe' and saves it to '%ProgramName%' within the Appdata directory, then executes it. The VBA code also reconstructs the PowerShell command string from concatenated parts, including the URL and the target path.

Heuristics 3

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
c4fc07a2d3c216d588a4c4d33f555fd4c0cd24eb8baf94b3af992cdab988f5f7
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2424 bytes
vbaProject_00.bin
bfd90f5a920a6826e9ef927dd350ac89942136c3b69781147a117bec015e9426
vba-project OOXML VBA project: xl/vbaProject.bin 6144 bytes