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

Static analysis result for SHA-256 42f77287bb5b381e…

MALICIOUS

Office (OLE) / .DOC

69.0 KB Created: 2021-12-19 20:36:00 Authoring application: Microsoft Office Word
MD5: f2d42411a7291aea76a9ec87d82a9601 SHA-1: f3038f9a2d0e22e1e15cd55df00bde95426720c1 SHA-256: 42f77287bb5b381e161a4609eaf678cc93a668a4a65eeb51a40ff1bc7ae7d01e
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The sample contains a VBA macro that executes upon opening the document. This macro, named 'Document_Open', calls 'Putty_download'. The 'Putty_download' subroutine constructs a VBScript file named 'putty.vbs' in the same directory as the document. This VBScript is designed to create a 'WScript.Shell' object and execute commands, likely to download and run a second-stage payload. The use of 'cmd /c' and 'Power' within the script suggests a command execution and potential PowerShell usage for downloading.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_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.
  • 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 http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
4173a76b3422acb8f105f60662c59234a264d041a0dfc5051ec8f875817d702d
vba-macro oletools.olevba.extract_macros (decoded VBA source) 7004 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 98 Chr/ChrW string-construction calls. Carved macro source contains an auto-exec entry point and execution/download terms.