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

Static analysis result for SHA-256 04fa2ec3d0efb179…

MALICIOUS

Office (OLE) / .DOCX

162.7 KB Created: 2021-01-04 16:15:00 Authoring application: Microsoft Office Word
MD5: 62744a2c2eb3359a9bc60ed0ac77da5d SHA-1: 5a1be61928f7707213ae518575e7af30919ae0a1 SHA-256: 04fa2ec3d0efb179ea69fc29e6c0e6daa8b409de0bf51e4a9c67d150a1bd3b23
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1105 Ingress Tool Transfer

The sample contains a VBA macro that is triggered by the Document_Open event. This macro uses obfuscated string concatenation to instantiate the 'Scripting.FileSystemObject' and proceeds to create multiple files on the filesystem, such as 'X:\LuIIO\zUSvuJZ.anUcEiFX'. This behavior is indicative of a downloader or initial staging component of a larger malware infection.

Heuristics 7

  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
  • ClamAV: Doc.Downloader.EmotetRed02224-9938637-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetRed02224-9938637-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.
  • 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
b7c08445609ad3b9c2a0766b1423df26453c524cbf6c8eca0da53a1732c00612
vba-macro oletools.olevba.extract_macros (decoded VBA source) 7252 bytes