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

Static analysis result for SHA-256 171d8ac6ea329c8b…

MALICIOUS

Office (OLE) / .DOC

224.0 KB Created: 2021-09-13 12:48:00 Authoring application: Microsoft Office Word First seen: 2021-09-23
MD5: 5aae0a90a38ba094af7a73bfbf269f05 SHA-1: 1546a11e61620008d5e9c5a54f789bfdf44825b6 SHA-256: 171d8ac6ea329c8b61dd5bf9161c908345799d378669a7375800261429e47bc3
450 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample contains VBA macros that utilize WScript.Shell and Shell() calls, indicating an attempt to execute arbitrary code. The presence of AutoOpen and Document_Open macros suggests automatic execution upon opening the document. The script likely downloads and executes a second-stage payload from one of the embedded URLs.

Heuristics 12

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • ClamAV: Doc.Downloader.Valyria-10019379-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Valyria-10019379-0
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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 https://photosavi.com/felEBrSlmEZh/090921.gif
    • https://tailorind.com.pk/mQpdqR5tB/090921.gif
    • http://pinakidigital.com/B9PFQzrssU/090921.gif
    • https://stuffiknow.in/i51MJMPHGRx/090921.gif
    • https://aartieeabhjeet.com/pFtq7BmoxM/090921.gif
    • http://ns.adobe.com/xap/1.0/
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/photoshop/1.0/
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
7bc4c51c0fd15efe0f8006a1f193823d23ab7095653e107fec6218b63d81e70c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 15691 bytes