SquirrelWaffle — Office (OLE) / .DOC malware analysis

Static analysis result for SHA-256 e4aa5d33b7c3c4cd…

MALICIOUS

Office (OLE) / .DOC

277.0 KB Created: 2021-09-16 09:44:00 Authoring application: Microsoft Office Word
MD5: 3d6a59b2463cbae2e8cd5cc4d0859477 SHA-1: 10ecd94e610b89337e384a29ce3fdf77526f2a33 SHA-256: e4aa5d33b7c3c4cd956735f32316bf58002882ae37a46c8d6acc8921fdcc8f11
302 Risk Score

Malware Insights

SquirrelWaffle · confidence 95%

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

The sample contains a VBA macro that is executed via the AutoOpen subroutine. This macro writes a VBScript file named 'pin.vbs' to C:\ProgramData\ and then executes it using 'cmd /k cscript.exe C:\ProgramData\pin.vbs'. The VBScript is likely responsible for downloading and executing a second-stage payload from one of the embedded URLs. The ClamAV detection name 'Doc.Downloader.SquirrelWaffle09210-9895192-0' strongly suggests the SquirrelWaffle malware family.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Doc.Downloader.SquirrelWaffle09210-9895192-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.SquirrelWaffle09210-9895192-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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.
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • 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 https://scriptcaseblog.com.br/8KhqnNaE4UB/ca.html
    • https://srdm.in/0K6dTttd/ca.html
    • https://sharayuprakashan.com/90qJEVeD0VAw/ca.html
    • https://venturefiling.com/yP2brxfli/ca.html
    • http://schemas.openxmlformats.org/drawingml/2006/main
    • http://ns.adobe.com/xap/1.0/
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/photoshop/1.0/

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
ab7ba365a54682faaccc870ca3d2e04ddc76b764929e05994072dac8fb37a4d1
vba-macro oletools.olevba.extract_macros (decoded VBA source) 23943 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.