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

Static analysis result for SHA-256 414ed373a18ff550…

MALICIOUS

Office (OOXML) / .XLSM

177.5 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 15.0300
MD5: e06ebc2ef46a58e9e2840683a0f67262 SHA-1: c97c2cffd8ec24b26782fe5ecb7521e3e3d70f0e SHA-256: 414ed373a18ff550783ab36133ed42041530bec1cd18c2da7dcb3b051488113c
110 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 User Execution: Malicious File T1059.001 PowerShell T1105 Ingress Tool Transfer T1059.005 Visual Basic for Applications T1120 sCmd/Windows Command Shell

The VBA macro in 'ThisWorkbook' reconstructs a command to launch 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' with a Base64-encoded payload. Decoding the PowerShell command reveals it attempts to download and execute a file from 'http://www.samlighter.com/FRIEND.exe' and save it to the environment variable path. The script then writes this command to a file named 'Ijapqnfcnxoh.bat' and executes it via the Shell() function.

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
e9cc7db68a63c1d8ae7a5a18394078b4d5daf3c02c1d356ebd4872de6bcd8e6c
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2567 bytes
vbaProject_00.bin
b931e1c1fe8a3e47c6534624043574ebf34dd1b8192d0df95b7460b3091faf68
vba-project OOXML VBA project: xl/vbaProject.bin 6144 bytes