Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 f7d12f761ba19e89…

MALICIOUS

Office (OOXML)

146.9 KB Created: 2021-05-18 00:40:22 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-05-22
MD5: 08ba4d5036b0da7f44200203646979c9 SHA-1: 5ebd7b6462f3b1cded48bef259b1ddb44ba69b25 SHA-256: f7d12f761ba19e893d3dcf2564b575cc94685114066a04e7da2500743ab601a7
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1566.001 Spearphishing Attachment

The sample is an Office document containing a VBA macro that is automatically executed upon opening (Auto_Open). The macro uses CreateObject and obfuscated API calls to execute a PowerShell command. This indicates the document is designed to download and execute a secondary payload, a common technique for malware delivery.

Heuristics 5

  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2723788 bytes
SHA-256: 41171fb227a09e3c8588ed594f03eda957ec38e8927040b1d62565d2f1a52680
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub Auto_Open()
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
'HELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESENHELLOWELCOMESALAMNECESEN
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 3723264 bytes
SHA-256: 2bd1286928ce185632bad1374d2acdee0f48e03b2addc6239394c26a1aa87fb7