Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 e7003c83a81f9e1a…

MALICIOUS

Office (OOXML)

28.6 KB Created: 2021-06-01 18:45:42 UTC Authoring application: Microsoft Excel Online 16.0300
MD5: d776c9facb20d656b9ae5efb0b05ebd7 SHA-1: d5624dafd786b9a310b9fd5aa1c9f9bd17e52f79 SHA-256: e7003c83a81f9e1aa7775f6c2f77ed9c976a7f004f452dc96b5f8210a58303bc
438 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1140 Deobfuscate or Obfuscate

The sample contains VBA macros with an Auto_Open subroutine that is designed to execute malicious code. It utilizes WScript.Shell and references PowerShell, indicating an attempt to download and run a second-stage payload. The obfuscated shell command with a URL points to a suspicious download source.

Heuristics 12

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • Obfuscated VBA Shell command with URL critical OLE_VBA_OBFUSCATED_SHELL_URL
    VBA macro invokes Shell with command text assembled through decoder or string-manipulation functions and includes a URL. This is a high-confidence downloader/dropper pattern, stronger than Shell or URL evidence on their own.
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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)
  • Hidden worksheet (hidden) low OOXML_HIDDEN_SHEET
    Excel workbook contains 1 hidden sheet(s) — hidden sheets are commonly used to conceal macro code, staging data, or intermediate payload construction
  • 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 http://showip.net
    • https://www.google.com/
    • https://mega.io/
    • https://arxiv.org/
    • https://twitter.com/?lang=en
    • http://schemas.microsoft.com/cdo/configuration/sendusing
    • http://schemas.microsoft.com/cdo/configuration/smtpserver
    • http://schemas.microsoft.com/cdo/configuration/smtpauthenticate
    • http://schemas.microsoft.com/cdo/configuration/sendusername
    • http://schemas.microsoft.com/cdo/configuration/sendpassword
    • http://schemas.microsoft.com/cdo/configuration/smtpserverport
    • http://schemas.microsoft.com/cdo/configuration/smtpusessl

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
c983527fa7ec0f9f029c1788d936e845f927d7cf6866038fc83864ac021757e8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 14164 bytes
vbaProject_00.bin
d5cd7b9018eabb892a5d2998042b70f018e3343495f1def6ebe94c386a3dd9ff
vba-project OOXML VBA project: xl/vbaProject.bin 40448 bytes