Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 ef6af0b4aa1c11a0…

MALICIOUS

Office (OOXML)

25.2 KB Created: 2021-01-13 03:26:20 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-01-23
MD5: 3bd6f258aa1077f94f79729809f6fbf5 SHA-1: a86e1b050ed8d19769f92a07c9e811ade82381f8 SHA-256: ef6af0b4aa1c11a079bb7e561486ac6fbce4d82cb8dc73d44ab8887259d564a5
128 Risk Score

Heuristics 4

  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
    Matched line in script
        Set s = CreateObject("WsCrip" & "t." & "Sh" & "ell")
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
        Set s = CreateObject("WsCrip" & "t." & "Sh" & "ell")
  • Auto_Open macro low OLE_VBA_AUTO
    Auto_Open macro
    Matched line in script
    Sub Auto_Open()

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) 1564 bytes
SHA-256: c80cd4df9453c6220a4f71cf0689b521d8e867e8f0b91292c05dbffce4a12b9f
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub Macro1()
Attribute Macro1.VB_ProcData.VB_Invoke_Func = " \n14"
'
' Macro1 Macro
'

'
    Range("F9").Select
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
Sub Auto_Open()
    Call zaqwsx
End Sub

Sub zaqwsx()
    Dim c As String
    Set s = CreateObject("WsCrip" & "t." & "Sh" & "ell")
    s.Run Chr(99) & Chr(97) & Chr(108) & Chr(99)
End Sub

Attribute VB_Name = "Chart1"
Attribute VB_Base = "0{00020821-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 = "Chart2"
Attribute VB_Base = "0{00020821-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 = "Sheet3"
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 22016 bytes
SHA-256: 5cc2010a2a55e35360506c8e9d301f0921a9596c277fe0ce84cf8c2d76a7b753