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

Static analysis result for SHA-256 9e7f45fc3fe9b184…

MALICIOUS

Office (OLE) / .DOC

62.5 KB Created: 2022-09-30 04:57:00 Authoring application: Microsoft Office Word First seen: 2022-09-30
MD5: 6328c4a16d653cb10c3b042301b2d6c3 SHA-1: 4dba059a50044581f2741868ce850618a042f0b5 SHA-256: 9e7f45fc3fe9b1849e1308f416aa57cf62588ca43359630649943b40fcf07856
342 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic for Applications T1059.003 Windows Command Shell T1218 Signed Binary Proxy Execution

The document contains VBA macros with an Auto_Open subroutine, a common technique for initial execution. The script utilizes a CreateObject call to instantiate a 'WScript.Shell' object, which is then used to execute commands. This indicates the macro is designed to download and execute a second-stage payload, likely leveraging the WScript.Shell object for command execution.

Heuristics 9

  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
  • Reference to certutil (download/decode) high SC_STR_CERTUTIL
    Reference to certutil (download/decode)
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_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
53d397598b1b7334bf3e5e0db5b04186fa28954367368e8ed6f00a7ba90a1bfc
vba-macro oletools.olevba.extract_macros (decoded VBA source) 4831 bytes