MALICIOUS
224
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The sample is identified as malicious by ClamAV with the signature 'Doc.Dropper.Agent-7481782-0'. Static analysis reveals the presence of a VBA macro with an AutoOpen function, which is a common technique for executing malicious code upon opening the document. The macro utilizes CreateObject, indicating an attempt to instantiate and run objects, likely to download and execute a second-stage payload. The presence of a legacy WordBasic auto-exec marker further supports the malicious intent.
Heuristics 8
-
ClamAV: Doc.Dropper.Agent-7481782-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-7481782-0
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen 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.
-
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)
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) | 59079 bytes |
SHA-256: a6050f195b3b2d12867725d405d3fdfda3576523f8e0648ec991fa25981e135a |
|||
|
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
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
Dim Dequl As Variant
Function CutBookName(openFileName As String) As String
Dim oenPos As Long ' ??????
Dim bookName As String
'??? ?????????????
YenPos = InStrRev(openFileName, " ")
'???????
bookName = Mid(openFileName, YenPos + 1)
CutBookName = bookName
End Function
'????????????
Function GetTodayCol() As Long
Dim cl As Variant
Dim todayCol As Long
Application.ScreenUpdating = False
For Each cl In ThisWorkbook.Worksheets(WS_PLOT).Range("C3", "AU3")
If ThisWorkbook.Worksheets(WS_PLOT).Range("A1").Value = cl.Value Then
todayCol = cl.Column
Exit For
End If
Next
Application.ScreenUpdating = True
If todayCol = 0 Then
MsgBox "??????????????"
Else
GetTodayCol = todayCol
End If
End Function
Sub Import_ProA()
Dim todayCol As Long
Call BeginDialog("?????????????????", "??????????")
Application.ScreenUpdating = False
Application.CutCopyMode = False
Dim openFileName As String
Dim openBookName As String
Dim shNameIn As String
Dim lastRow As Long
Application.StatusBar = "?? ???????????..."
openFileName = Application.GetOpenFilename("Microsoft Excel,*.csv?")
openBookName = CutBookName(openFileName)
'???????????
If openFileName <> "False" Then
Call ?????
Workbooks.Open openFileName
If Workbooks(openBookName).Sheets(1).Range("A2") = "" Then
lastRow = 2
Else
lastRow = Workbooks(openBookName).Sheets(1).Range("A1").End(xlDown).Row
End If
'???????????????
If Workbooks(openBookName).Worksheets(1).Range("A1").Value = "??No" And _
Workbooks(openBookName).Worksheets(1).Range("B1").Value = " ???" And _
Workbooks(openBookName).Worksheets(1).Range("C1").Value = " ??" Then
ThisWorkbook.Worksheets(WS_BUGLIST_A).Range("A2", "AL" & lastRow).Clear
Workbooks(openBookName).Worksheets(1).Range("A2", "AL" & lastRow).Copy _
Destination:=ThisWorkbook.Worksheets(WS_BUGLIST_A).Range("A2", "AL" & lastRow)
Else
MsgBox "?? ???????????????" & vbLf & "ProjectA??? ????????????"
Application.StatusBar = False
Application.DisplayAlerts = False
Workbooks(openBookName).Close SaveChanges:=False
Exit Sub
End If
Workbooks(openBookName).Close SaveChanges:=False
MsgBox "?? ??????????
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.