Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c5b744628512a98e…

MALICIOUS

Office (OOXML)

11.1 KB Created: 2015-06-05 18:19:34 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-11-23
MD5: aeebc1749ae848767dc7c4f4035cf0cc SHA-1: 19cf0e008be1718e2430cda99abae860b0e1d820 SHA-256: c5b744628512a98e26fa58825d7255bfc1350bec2bc83aa9adefc9f48b63963f
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1203 Exploitation for Client Execution

The sample is an OOXML document containing a VBA macro with an Auto_open subroutine. This subroutine directly calls the Shell() function to execute the command 'rundll32.exe powrprof.dll, SetSuspendState Sleep'. This indicates an attempt to execute a secondary payload or perform an action on the system, likely for malicious purposes.

Heuristics 4

  • 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_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) 761 bytes
SHA-256: ee350a90c88da1dcc6f28bf62e42d8c0daa9f817e402367dcf563774c883cb1e
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Workbook______________"
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 = "Worksheet______1"
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

Attribute VB_Name = "Module1"
Sub Auto_open()
    
  Shell "rundll32.exe powrprof.dll, SetSuspendState Sleep"
  
  
End Sub
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 10752 bytes
SHA-256: 0ddd049fe511784dfba72d62e6fa274d2738709b85f052a66b7bd528d3bc03df