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

Static analysis result for SHA-256 a40007a2e46eee90…

MALICIOUS

Office (OLE) / .DOC

272.5 KB Created: 2022-09-27 16:57:00 Authoring application: Microsoft Office Word First seen: 2022-09-28
MD5: e7015ec2d6320c2eb00a304a73c54d1d SHA-1: f7f5dd9cd6d0975d8bae9a5ba460f51f28617cbc SHA-256: a40007a2e46eee90ced835b786774681aabb6c8677ec86b8d999b8ba28439194
242 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1547.001 Registry Run Keys / Startup Folder

The Document_Open macro executes a series of commands to download a JavaScript file from 'http://209.127.20.13/wokn3c4qdf9.js' and save it as 'C:\Users\Public\hogwart.js'. It then attempts to execute this JavaScript file using cmd.exe and powershell. The script also creates a shortcut file named 'skeml.l' in the public user directory, which is likely intended for persistence or further execution.

Heuristics 7

  • ClamAV: Doc.Malware.Valyria-10008068-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10008068-0
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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 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
130a2e0e0d9f3b472170ea5b98c3d47beaa902119bfcb3cf26f15a34d81cdea7
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1240 bytes