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

Static analysis result for SHA-256 d595c3e99be06709…

MALICIOUS

Office (OLE) / .DOC

56.0 KB Created: 2021-10-31 03:45:00 Authoring application: Microsoft Office Word
MD5: 820869a1e16622d18ea694778ddb0223 SHA-1: 072cfafd997d97a51985c7010b2d38dd6470c0e3 SHA-256: d595c3e99be06709f17ba3401a9e6cd14fcbe9617b347aa1bb4670cae16bb591
142 Risk Score

Malware Insights

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

The VBA macro executes upon opening the document, as indicated by the Document_Open heuristic. It constructs a batch file named 'god.bat' in the public documents directory. This batch file contains a command to download an executable from 'http://s1ecur.x24hr.com/a/ConsoleApp.exe' and save it as 'pastok.exe', which is then executed. This indicates a downloader pattern aiming to fetch and run a second-stage payload.

Heuristics 5

  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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
eef09886af1dfd47a7f02ee58f0cf81633fb59d54b4c9fbed49793e56c7be66f
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1028 bytes