MALICIOUS
324
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The sample is a malicious Office document containing VBA macros. The macros utilize `GetObject` and `CreateObject` to interact with WMI, specifically launching `Win32_Process` to execute commands. This is a common technique for downloading and executing further malicious payloads. The ClamAV detection name 'Xls.Downloader.Sload-9786292-0' also suggests a downloader functionality.
Heuristics 10
-
ClamAV: Xls.Downloader.Sload-9786292-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Downloader.Sload-9786292-0
-
VBA macros detected medium 5 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATEVBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
GetObject call high OLE_VBA_GETOBJGetObject 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.
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
-
Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGEOne or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
-
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 In document text (OLE body)
- https://www.maxmind.com/geoip/v2.1/city/me�In document text (OLE body)
- https://www.maxmind.com/en/locate-my-ip-addressIn document text (OLE body)
- https://www.maxmind.com/geoip/v2.1/city/meIn 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) | 131008 bytes |
SHA-256: 61d1e7753e28a29d5921e702938ca4b18762e12d7a328239996a9773a3f1b281 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 2 long base64-like blob(s).
|
|||
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
Attribute VB_Name = "Module1"
Private Const CP_UTF8 As Long = 65001
#If Win64 Then
Private Declare PtrSafe Function WideCharToMultiByte Lib "kernel32" (ByVal CodePage As LongPtr, ByVal dwFlags As LongPtr, ByVal lpWideCharStr As LongPtr, ByVal cchWideChar As LongPtr, lpMultiByteStr As Any, ByVal cchMultiByte As LongPtr, ByVal lpDefaultChar As LongPtr, ByVal lpUsedDefaultChar As LongPtr) As LongPtr
Private Declare PtrSafe Function MultiByteToWideChar Lib "kernel32" (ByVal CodePage As LongPtr, ByVal dwFlags As LongPtr, lpMultiByteStr As Any, ByVal cchMultiByte As LongPtr, ByVal lpWideCharStr As LongPtr, ByVal cchWideChar As LongPtr) As Long
#Else
Private Declare Function WideCharToMultiByte Lib "kernel32" (ByVal CodePage As Long, ByVal dwFlags As Long, ByVal lpWideCharStr As Long, ByVal cchWideChar As Long, lpMultiByteStr As Any, ByVal cchMultiByte As Long, ByVal lpDefaultChar As Long, ByVal lpUsedDefaultChar As Long) As Long
Private Declare Function MultiByteToWideChar Lib "kernel32" (ByVal CodePage As Long, ByVal dwFlags As Long, lpMultiByteStr As Any, ByVal cchMultiByte As Long, ByVal lpWideCharStr As Long, ByVal cchWideChar As Long) As Long
#End If
Sub HW_AllStocksAnalysis()
yearValue = InputBox("What year would you like to run the analysis on?")
Worksheets("Challenge_All Stocks Anlysis").Activate
Range("A1").Value = "All Stocks (" + yearValue + ")"
'Create a header row
Cells(3, 1).Value = "Ticker"
Cells(3, 2).Value = "Total Daily Volume"
Cells(3, 3).Value = "Return"
'declare 4 arrays
Dim tickers(12) As String
Dim volume(12) As String
Dim startingPrices(12) As String
Dim endingPrices(12) As String
'create index variable
Dim tickerIndex As Integer
Worksheets(yearValue).Activate
RowCount = Cells(Rows.Count, "A").End(xlUp).Row
'(1)the outer loop for index from 0 to 11
tickerIndex = 0
Worksheets(yearValue).Activate
For tickerIndex = 0 To 11
'(2)the main loop for stock data
Worksheets(yearValue).Activate
For j = 2 To RowCount
'retrieve ticker name and start price for each tickerIndex and store them in arrays
If Cells(j, 1).Value <> Cells(j - 1, 1).Value Then
tickers(tickerIndex) = Cells(j, 1).Value
startingPrices(tickerIndex) = Cells(j, 6).Value
End If
'(3)a nested loop for retrieving TotalVolume for each volume array
Worksheets(yearValue).Activate
TotalVolume = 0
For x = 2 To RowCount
If Cells(x, 1).Value = tickers(tickerIndex) Then
TotalVolume = TotalVolume + Cells(x, 8).Value
End If
Next x
volume(tickerIndex) = TotalVolume
'retrieve and store ending price in array as well as increment tickerIndex for next loop
If Cells(j + 1, 1).Value <> Cells(j, 1).Value Then
endingPrices(tickerIndex) = Cells(j, 6).Value
tickerIndex = tickerIndex + 1
End If
Next j
Next tickerIndex
'(4)store all informations collected in a output worksheet
Worksheets("Challenge_All Stocks Anlysis").Activate
For i = 0 To 11
Cells(i + 4, 1).Value = tickers(i)
Cells(i + 4, 3).Value = endingPrices(i) / startingPrices(i) - 1
Cells(4 + i, 2).Value = volume(i)
Next i
'formatting
Worksheets("Challenge_All Stocks Anlysis").Activate
Range("A3:C3").Font.Bold = True
Range("A1").Font.FontStyle = "Bold"
Range
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.