Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 2f2fd3c6aa2b10e8…

MALICIOUS

Office (OOXML)

7.00 MB Created: 2021-07-20 16:11:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: 6473cf53a7602cdcd8507f469ec523e2 SHA-1: 5813366ffefaf30bb2f6f8dcaf617deebc5cf239 SHA-256: 2f2fd3c6aa2b10e8d5fb3629ac13b8184ab5e9dab8bb09461fdb5e0b4e9f0a3a
290 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1204.002 Malicious File

The sample is a malicious OOXML document containing VBA macros. The AutoOpen macro is designed to download a file from 'https://raw.githubusercontent.com/xampla/m4lw4re/main/malware.exe' and save it as 'malware.exe' in the user's Pictures directory. It then executes this downloaded file using the Shell() function. This behavior is indicative of a dropper or downloader.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • ClamAV: Doc.Dropper.Agent-6412232-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6412232-1
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • 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://raw.githubusercontent.com/xampla/m4lw4re/main/malware.exe

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
1776b371961f728d319794125b2af7af9a131a29a750c154db0dc8f5b429541a
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1075 bytes
vbaProject_00.bin
c3a104b2a906379cb8531aca62e07aa6ac1f127a3ac77a9f533de430e3bbf70f
vba-project OOXML VBA project: word/vbaProject.bin 8388608 bytes