Coder Social home page Coder Social logo

siet's Introduction

SIET

Smart Install Exploitation Tool

Cisco Smart Install is a plug-and-play configuration and image-management feature that provides zero-touch deployment for new switches. You can ship a switch to a location, place it in the network and power it on with no configuration required on the device.

You can easy identify it using nmap: nmap -p 4786 -v 192.168.0.1

This protocol has a security issue that allows:

  1. Change tftp-server address on client device by sending one malformed TCP packet.

  2. Copy client's startup-config on tftp-server exchanged previously.

  3. Substitute client's startup-config for the file which has been copied and edited. Device will reboot in defined time.

  4. Upgrade ios image on the "client" device.

  5. Execute random set of commands on the "client" device. IS a new feature working only at 3.6.0E and 15.2(2)E ios versions.

All of them are caused by the lack of any authentication in smart install protocol. Any device can act as a director and send malformed tcp packet. It works on any "client" device where smart install is enabled. It does not matter if it used smart install in the network or not.

Confim from vendor: https://tools.cisco.com/security/center/content/CiscoSecurityResponse/cisco-sr-20170214-smi https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20160323-smi

Slides: https://2016.zeronights.ru/wp-content/uploads/2016/12/CiscoSmartInstall.v3.pdf

This simple tool helps you to use all of them.

USAGE

You can use it for password recovery of for unlock cisco switch when no password provided.

Example: sudo python siet.py -g -i 192.168.0.1

-t test device for smart install.

-g get device config.

-c change device config.

-C change multiple device configs.

-u update device IOS.

-e execute commands in device's console.

-i ip address of target device

-l ip list of targets (file path)

--thread-count number of threads to be spawned

UPDATES

New option "-C". You can place configs into the 'tftp/conf' directory following the naming convention of ip.conf, ie: 192.168.10.1.conf. A target ip list "-l" must be used in conjunction with this option, the name of the conf corresponds to it's target destination.

New option "-l". You can use list of ip addresses for getting configuration file.

Fix bug with incorrect test of device.

If you are thinking about what to do with the copied configuration files, you can try our new tool for their analysis: https://github.com/cisco-config-analysis-tool/ccat

siet's People

Contributors

arjunv avatar jtesta avatar sab0tag3d avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.