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

Static analysis result for SHA-256 284f55fed83bb6e3…

MALICIOUS

Office (OLE) / .DOC

78.5 KB Created: 2023-02-15 09:32:00 Authoring application: Microsoft Office Word First seen: 2023-02-15
MD5: 64559d83eb87d528a109b1e3a067bb9a SHA-1: 4711cd71b583f87548d699c14e8a39a595b7a70b SHA-256: 284f55fed83bb6e37858ff016660423600caadf375aa5ed8333c418bc6a03d36
502 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 is automatically executed upon opening. This macro utilizes WScript.Shell and Microsoft.XMLHTTP to download a file from the URL 'http://okokokokokok.khaby.lol/ME.exe' and execute it. This indicates a downloader or dropper functionality.

Heuristics 12

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • ClamAV: Doc.Dropper.Agent-6412232-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6412232-1
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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 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://okokokokokok.khaby.lol/ME.exe
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
38578c186ea2b6159b99793ac013fb3b18b91d7f732737c964e940670fdd6da3
vba-macro oletools.olevba.extract_macros (decoded VBA source) 3576 bytes