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

Static analysis result for SHA-256 80e2231f9e7e7986…

MALICIOUS

Office (OOXML) / .XLSM

389.9 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 15.0300
MD5: 0b21301b75f72f22fb4e7e72511775b1 SHA-1: 3130a0e1b0df346e85fe128f5366eaed10fd4666 SHA-256: 80e2231f9e7e7986cba53e447ef5f55f7c2b4d90c52d39e4eed97ff3df84604f
110 Risk Score

Malware Insights

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

The sample is an XLSM file containing VBA macros. The 'SE_ENABLE_LURE' heuristic indicates the document likely prompts the user to enable macros. Upon activation, the VBA code reconstructs and executes a PowerShell command. This command, 'powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -File "C:\Windows\System\WindowsPowerShell\v1.0\shell.exe"', is used to download and execute a second-stage payload from the URL 'http://52.28.219.17/bi/6/WRFQ_ref-05501780309010.exe'. The 'OLE_VBA_SHELL' heuristic further confirms the use of shell execution within the VBA.

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 (6) low OOXML_EXTERNAL_HYPERLINKS
    Document contains 6 external hyperlinks — clickable URLs are stored as external relationships. First target: https://go.microsoft.com/fwlink/?linkid=844736
  • 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 https://go.microsoft.com/fwlink/?linkid=844736
    • http://go.microsoft.com/fwlink/?LinkId=844969
    • https://go.microsoft.com/fwlink/?linkid=844749
    • https://go.microsoft.com/fwlink/?linkid=844741
    • https://go.microsoft.com/fwlink/?linkid=844732
    • https://go.microsoft.com/fwlink/?linkid=844725
    • https://go.microsoft.com/fwlink/?linkid=844742
    • https://go.microsoft.com/fwlink/?linkid=844734
    • https://go.microsoft.com/fwlink/?linkid=844751
    • https://go.microsoft.com/fwlink/?linkid=844745
    • https://go.microsoft.com/fwlink/?linkid=844743
    • https://go.microsoft.com/fwlink/?linkid=844728
    • https://go.microsoft.com/fwlink/?linkid=844746
    • https://go.microsoft.com/fwlink/?linkid=844747
    • https://go.microsoft.com/fwlink/?linkid=844726
    • https://go.microsoft.com/fwlink/?linkid=844738
    • https://go.microsoft.com/fwlink/?linkid=844735
    • https://go.microsoft.com/fwlink/?linkid=844750
    • http://go.microsoft.com/fwlink/?LinkId=846285

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
1ada7473dde2526637b4f3913e4929dfbbf77431a82ef2a70b982ec3a6727df8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 5980 bytes
vbaProject_00.bin
60ff7352a62fccd85b367bf07845849a5d1ca37ed8d4803859751934d71767ad
vba-project OOXML VBA project: xl/vbaProject.bin 10752 bytes