Malicious Office (OLE) / .XLS — malware analysis report

Static analysis result for SHA-256 935f98d069518626…

MALICIOUS

Office (OLE) / .XLS

32.5 KB First seen: 2023-05-10
MD5: 8c9ddb47b11bd27f2697f7a3f0f9c479 SHA-1: b47b67bebec90aa0f5eeb1dfd8de7f312e6b6e8f SHA-256: 935f98d069518626a6d22664f1df0b98ae63dd633b5001157047af5910709419
420 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1204.002 Malicious File T1059.003 Windows Command Shell

The Workbook_Open macro is obfuscated and attempts to execute a PowerShell command. This command is constructed by concatenating string fragments and appears to download a second-stage payload from the reconstructed URL 'http://157.90.195.114/iexplore.php'. The presence of WMI process creation heuristics and references to Windows Script Host further support the execution of malicious code.

Heuristics 10

  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • 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.
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.
  • Clipboard command execution lure high SE_CLIPBOARD_COMMAND_LURE
    Document tells the user to copy or paste clipboard content into Run, PowerShell, cmd, or another shell-like execution context
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
a0819403f5408e9bc8f031d05932256682af0321ee132873403b6a4c281316d8
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2631 bytes