smartinstall

package
v1.4.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package smartinstall detects Cisco Smart Install protocol (port 4786).

Cisco Smart Install is a plug-and-play configuration protocol for Cisco switches. It is critically dangerous when exposed — an attacker can extract the running config (including credentials) or overwrite it entirely, without any authentication.

CVE-2018-0171: Remote code execution via Smart Install. CISA has published multiple advisories warning about exposed Smart Install.

Detection sends the standard 24-byte Smart Install probe and validates the 24-byte response per the Cisco-Talos smi_check specification.

Index

Constants

View Source
const (
	SMARTINSTALL = "smart-install"
	DefaultPort  = 4786
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SmartInstallPlugin

type SmartInstallPlugin struct{}

func (*SmartInstallPlugin) Name

func (p *SmartInstallPlugin) Name() string

func (*SmartInstallPlugin) PortPriority

func (p *SmartInstallPlugin) PortPriority(port uint16) bool

func (*SmartInstallPlugin) Priority

func (p *SmartInstallPlugin) Priority() int

func (*SmartInstallPlugin) Run

func (p *SmartInstallPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*SmartInstallPlugin) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL