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

Static analysis result for SHA-256 6062746f7756d504…

MALICIOUS

Office (OLE) / .XLS

621.0 KB Created: 2023-04-13 08:31:03 Authoring application: Microsoft Excel
MD5: e0caecebca41fd4d26c7fab8c6ca9ec8 SHA-1: 76a9658198e0cd91e094e7c863b7c7df3d2d8805 SHA-256: 6062746f7756d50414e44de38f05e05e3c4d61a37e2bf7e75a82f7b167e4049d
248 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1204.002 Malicious File

The Workbook_Open macro is triggered upon opening the Excel file. It uses obfuscated VBA code, including a reassembled token 'Scripting.FileSystemObject', to copy the current workbook to a temporary location and then execute it. This indicates a downloader or dropper functionality, aiming to execute a secondary payload.

Heuristics 7

  • 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.
  • Reference to CreateProcess API high SC_STR_CREATEPROCESS
    Reference to CreateProcess API
  • 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 macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
0994c13e67005c73a656e612a78372356f71a5f3b2dcc854b11af79da6ef194f
vba-macro oletools.olevba.extract_macros (decoded VBA source) 25530 bytes