Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 529b4cf50c2d0a28…

MALICIOUS

Office (OOXML)

236.8 KB Created: 2018-02-22 20:04:00 UTC Authoring application: Microsoft Office Word 14.0000 First seen: 2021-05-29
MD5: 2c869f6d6bc135ac7b811cd1b716c2aa SHA-1: 23be44033cbc11126834a223ec2fbf6a9e7fc6c0 SHA-256: 529b4cf50c2d0a288389e7cc4743bf21d7d58294e164fb7cf9ecce7073622fef
224 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment

The sample is an OOXML document containing VBA macros, specifically an Auto_Close macro that calls the Shell() function. This indicates the document is designed to execute arbitrary code upon opening or closing, a common technique for dropping secondary payloads. The ClamAV detection 'Doc.Dropper.Agent' further supports this dropper functionality. No specific family could be identified due to the generic nature of the macro.

Heuristics 7

  • ClamAV: Doc.Dropper.Agent-6474867-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6474867-0
  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close macro
  • 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 info 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.
  • 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.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 140877 bytes
SHA-256: 453f40145d94c61aa4c8a81707fd05ef627a5fdd69567d39465699cc64fd09bf
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 82 long base64-like blob(s).
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Attribute VB_Name = "Module1"

Attribute VB_Name = "Module2"
Function PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP(PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP, PPPPPPPPPPPPPPPPPPP, PPPPPPPPPPPPPPPPPPPPPPPPPPPPPP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"
  PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP = PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP + "PPPPPPPP"
  PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP = PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP + "PPPPPPPPPP"
  PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP = PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP + "PP"
  PPPPPPPPPPPPPPPPPPPPP
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 164352 bytes
SHA-256: 490ab751f2ae596634e87e81eebe3f0181475fa359b5de6e7711220ef14ab478
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 82 long base64-like blob(s).