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

Static analysis result for SHA-256 f4c12b05e03c0db9…

MALICIOUS

Office (OLE) / .DOC

112.0 KB Created: 2018-05-13 02:56:00 Authoring application: Microsoft Office Word
MD5: e46b5a0c61ef3c54fb67f6419c72ff02 SHA-1: 190ec427bba0bd405f6ba57570c90164e0d48f4e SHA-256: f4c12b05e03c0db9d8c601f49707f92d6029d2a38a24841f9b8b86bf217f22c6
600 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1204.002 Malicious File

The sample contains VBA macros with an AutoOpen function that utilizes WScript.Shell to execute a PowerShell command. This command is obfuscated and contains a URL, indicating it's designed to download and execute a second-stage payload. The presence of PowerShell and WScript.Shell references, along with the obfuscated shell command pointing to a suspicious URL, strongly suggests a downloader attack pattern. The ClamAV detection 'Doc.Downloader.Pwshell-10001336-0' further supports this assessment.

Heuristics 14

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • Obfuscated VBA Shell command with URL critical OLE_VBA_OBFUSCATED_SHELL_URL
    VBA macro invokes Shell with command text assembled through decoder or string-manipulation functions and includes a URL. This is a high-confidence downloader/dropper pattern, stronger than Shell or URL evidence on their own.
  • ClamAV: Doc.Downloader.Pwshell-10001336-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Pwshell-10001336-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
  • 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.
  • Visible LOLBin command execution instruction high SE_LOLBIN_RUN_COMMAND
    Document contains instructions or visible command text involving Windows script/execution tools such as PowerShell, mshta, cmd, rundll32, or regsvr32
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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://3xploit.xyz
    • http://schemas.openxmlformats.org/drawingml/2006/main
    • http://schemas.openxmlformats.org/officeDocument/2006/bibliography
    • http://schemas.openxmlformats.org/officeDocument/2006/customXml

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
e20ce589599e4a864b6cfad70830d7bbe0629d3f644e721c91cf5c5f8a446f91
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2905 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains a PowerShell -EncodedCommand style payload. Carved artifact contains 3 shell/COM execution token(s). Carved artifact contains 1 long base64-like blob(s). Carved artifact contains 18 Chr/ChrW string-construction calls. Carved macro source contains an auto-exec entry point and execution/download terms.