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

Static analysis result for SHA-256 d5b1833cbb82e42a…

MALICIOUS

Office (OLE) / .DOC

83.5 KB Created: 2023-02-13 07:56:00 Authoring application: Microsoft Office Word First seen: 2023-02-14
MD5: 1d96188458b6bb8dd26ab04db1038b2d SHA-1: e6bd14ef98cdaf96e2dab1c36d33022b3b764e0c SHA-256: d5b1833cbb82e42a65b62a72b583361df53a8f6886b8d83dceb62f1ac026b2e2
362 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1547.001 Registry Run Keys / Startup Folder T1037.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder T1105 Ingress Tool Transfer

The Document_Open macro uses WScript.Shell to create a VBScript file named 'system.vbe' in the startup folder and executes it. This script then attempts to copy itself to other drives, disguised as '10 NOUVEAUX METHODES POUR GAGNER 2000EURO EN UN MOIS.DOC'. The embedded VBA code also includes a prompt for a validation code, which is always rejected, indicating a lure or distraction.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • ClamAV: Doc.Malware.Valyria-10001751-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10001751-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_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
  • 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
704cf41723c8972e2400c77bd2532540ffd8af9f9aadefbaaa660abaa8729480
vba-macro oletools.olevba.extract_macros (decoded VBA source) 3453 bytes