Code Monkey home page Code Monkey logo

sixnet-9ms's Introduction

Sixnet ET-9MS Hacking

Getting started

So you want to mangle packets using a Sixnet ET-9MS network switch. Great.

Prerequisites:

  • ELDK 4.1 from Denx - download from here: ftp://ftp.denx.de/pub/eldk/4.1/arm-linux-x86/distribution/README.html . We installed this on Fedora Core 7, which worked well.
  • Libpcap headers from Libpcap 0.9.4. Other versions may work, unless there was an API change.
  • libswm.so and libswfile.so from your network switch (see how to retrieve these files in the 'rooting' section below).

Rooting your switch

To make changes to your switch firmware, you first need to root your switch.

The best way to root the switch is to use a directory traversal bug in the web server interface.

We have included root.tar.gz file in the /exploit/ directory. Upload this file. It will create a backdoor account in the switch with username 'backdoor' and password 'dblabs'.

You may then telnet or SSH to the switch and will have a root shell.

Retrieving libswm and libswfile

These shared libraries are stored in /usr/lib/ . I recommend transferring them off of the switch using netcat:

# cd /usr/lib

# nc 4444 < libswm.so.1.4.0

# nc 4444 < libswfile.so

Set up a netcat listener on port 4444 on your workstation to receive the files:

$ nc -l -p 4444 > libswm.so

$ nc -l -p 4444 > libswfile.so

Compiling and linking

The following exports are needed to successfully compile the swm-test.c program (TODO)

sixnet-9ms's People

Contributors

reidmefirst avatar

Stargazers

5l1v3r1 avatar

Watchers

 avatar James Cloos 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.