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

Static analysis result for SHA-256 1406cc18e61c8d32…

MALICIOUS

Office (OOXML) / .DOCX

124.0 KB Created: 2020-04-07 18:55:00 UTC Authoring application: Microsoft Office Word 14.0000
MD5: a2359ad0252bc2f78b3d135d2e45c59b SHA-1: 1243fc0161ac2b99bbd09a53b10f06e6898e5788 SHA-256: 1406cc18e61c8d32e4a4df9e6db21d6163926e2401bd342c501aa18f87ab8011
310 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1059.003 Windows Command Shell

The sample is a malicious OOXML document containing VBA macros. The AutoOpen macro displays a fake error message and then proceeds to execute a command via cmd.exe. The autoclose macro is designed to execute a command constructed from environment variables and a string literal, likely to download and execute a second-stage payload.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Win.Malware.Agent-7761629-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Malware.Agent-7761629-0
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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 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 http://oscqa.com/dksfjvsd.exe
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas
    • http://schemas.openxmlformats.org/markup-compatibility/2006
    • http://schemas.openxmlformats.org/officeDocument/2006/relationships
    • http://schemas.openxmlformats.org/officeDocument/2006/math
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
    • http://schemas.openxmlformats.org/wordprocessingml/2006/main
    • http://schemas.microsoft.com/office/word/2010/wordml
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroup
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInk
    • http://schemas.microsoft.com/office/word/2006/wordml
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShape

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
6a777abbae4f819a4de06d5b703cfffaf592f194936215f7fc55910c12ecd2a8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2486 bytes
vbaProject_00.bin
406bc6ded1d8cce4d2a6681499e4bb869758fd008f37e62d5e7832cb9d6be03a
vba-project OOXML VBA project: word/vbaProject.bin 88576 bytes