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

Static analysis result for SHA-256 768ea3c09d8ec4c6…

MALICIOUS

Office (OOXML) / .XLSM

437.1 KB Created: 2021-07-28 10:37:27 UTC Authoring application: Microsoft Excel 12.0000
MD5: 00e7fda466f77ce99714ed2408ac2c5d SHA-1: d2b38292c293183ec482675bfe4e7ac3f0fe92dc SHA-256: 768ea3c09d8ec4c65c83b7f2fb6473839d80864cf30422acca60c7b374355513
208 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file is an XLSM document containing a Workbook_Open macro. This macro is heavily obfuscated and uses CreateObject to execute a command. The script dynamically constructs a command line using values from Environ and Cells, which ultimately results in the execution of 'mshta C:\Windows\System32\wscript.exe C:\Windows\System32\getSmartTagControlButton4489.sct'. This indicates the macro is designed to download and execute a second-stage payload.

Heuristics 6

  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
526b9a2c136c98ac8241a1b6b8be8b5cacb17842a7773411a73f304cd85ea7e9
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1146 bytes
vbaProject_00.bin
8456f722ee57098534130c0a2703a8e5cec7c3d9b01061ccc9808a3d1822ac2b
vba-project OOXML VBA project: xl/vbaProject.bin 9216 bytes