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

Static analysis result for SHA-256 5a0a5d5dba05830f…

MALICIOUS

Office (OOXML) / .XLSM

391.9 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 16.0300
MD5: 96e74ac8392e3a599cb3643849d309e7 SHA-1: 8cb1e89f58cc5a9d9ea25fc7e34724ecc76452cd SHA-256: 5a0a5d5dba05830ff1f30cecd4420ec2c2a71bc2e7b5a20becd9a783670557d6
112 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File T1566.001 Spearphishing Attachment T1140 Deobfuscate or Obfuscate

The sample is an XLSM file containing VBA macros. The Workbook_Activate subroutine contains a Base64 encoded string which decodes to a PowerShell command. This command is designed to download a second-stage executable from 'http://saipab.in/ConsoleApp6.exe' and execute it. The script also creates a batch file named 'hytnpcdsyvqqsssvrrkpgye.bat' to launch the PowerShell command. The presence of a macro-enable lure and the execution of a downloaded payload are strong indicators of a malicious document.

Heuristics 6

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

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
72b271737d57acd18e76164aef1a4b496a5e2c1e23dabb425bae4c7cd4d613dd
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 5522 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
vbaProject_00.bin
ee41040051446b448acb3b2fd6423a18dd82c6219d0bee44e4eaf924845bc123
vba-project OOXML VBA project: xl/vbaProject.bin 10752 bytes