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

Static analysis result for SHA-256 d75599619184077b…

MALICIOUS

Office (OOXML) / .XLSM

389.9 KB Created: 2020-01-28 19:47:00 UTC Authoring application: Microsoft Excel 15.0300
MD5: 35bd86bd2ed842bec5c2b2f84986e5f7 SHA-1: 6d85f6b5418cfbb1e75134d8a328d82a72d4f0b1 SHA-256: d75599619184077baa18a7952f55027c5762084a2005b7bf5dedd49b8ceb7b70
110 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 User Execution: Malicious File T1059.001 PowerShell T1105 Ingress Tool Transfer

The sample contains a VBA macro that reconstructs a PowerShell command. The function Prefix3 reverses the string ' cne- 1 niw- exe.llehsrewop\0.1v\llehSrewoPswodniW\23metsyS\swodniW\:C' to produce 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'. The function Prefix2 contains a Base64 encoded PowerShell script that, when decoded, sets a variable $ProcName to 'Qjzcqsgtzekcbhfxjyjk.exe' and downloads a file from 'http://52.28.219.17/bi/8/Q/RFQ_ref-02090100233.exe' to the environment variable %APPDATA% and executes it.

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
de364264d2f323ebea7ce471b7ee3eea47cdb5bf8ad912cccedccbfef6a5614f
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 6045 bytes
vbaProject_00.bin
1ee4fabdb96fb372a8c350f8e6cd47a6b0956982ec9000674469dcf1d1a28ff1
vba-project OOXML VBA project: xl/vbaProject.bin 10752 bytes