Affichage des articles dont le libellé est exploit. Afficher tous les articles
Affichage des articles dont le libellé est exploit. Afficher tous les articles

RouterSploit - Router Exploitation Framework

The RouterSploit Framework is an open-source exploitation framework dedicated to embedded devices.


It consists of various modules that aids penetration testing operations:
  • exploits - modules that take advantage of identified vulnerabilities
  • creds - modules designed to test credentials against network services
  • scanners - modules that check if target is vulnerable to any exploit

Installation

Requirements

  • gnureadline (OSX only)
  • requests
  • paramiko
  • beautifulsoup4
  • pysnmp

Installation on Kali

git clone https://github.com/reverse-shell/routersploit
cd routersploit
./rsf.py

Installation on Ubuntu 16.04

sudo apt-get install python-dev python-pip libncurses5-dev git
git clone https://github.com/reverse-shell/routersploit
cd routersploit
pip install -r requirements.txt
./rsf.py

Installation on OSX

git clone https://github.com/reverse-shell/routersploit
cd routersploit
sudo easy_install pip
sudo pip install -r requirements.txt
./rsf.py

Update

Update RouterSploit Framework often. Project is under heavy development and new modules are shipped almost everyday.
cd routersploit
git pull

Usage

root@kalidev:~/git/routersploit# ./rsf.py 
______ _ _____ _ _ _
| ___ \ | | / ___| | | (_) |
| |_/ /___ _ _| |_ ___ _ __\ `--. _ __ | | ___ _| |_
| // _ \| | | | __/ _ \ '__|`--. \ '_ \| |/ _ \| | __|
| |\ \ (_) | |_| | || __/ | /\__/ / |_) | | (_) | | |_
\_| \_\___/ \__,_|\__\___|_| \____/| .__/|_|\___/|_|\__|
| |
Router Exploitation Framework |_|

Dev Team : Marcin Bury (lucyoa) & Mariusz Kupidura (fwkz)
Codename : Wildest Dreams
Version : 1.0.0

rsf >

1. Exploits

Pick the module

rsf > use exploits/
exploits/2wire/ exploits/asmax/ exploits/asus/ exploits/cisco/ exploits/dlink/ exploits/fortinet/ exploits/juniper/ exploits/linksys/ exploits/multi/ exploits/netgear/
rsf > use exploits/dlink/dir_300_600_rce
rsf (D-LINK DIR-300 & DIR-600 RCE) >
You can use the tab key for completion.

Download and learn more..

~ mercredi 27 juillet 2016 0 commentaires

Commix: Command Injection Exploiter

Commix a short form for Command Injection Exploiter is an environment that web developers, penetration testers and even security researchers can use to test web applications in order to find bugs or vulnerabilities.

Commix is written in python programming language. That helps to find vulnerabilities related to command injection attacks. In Command injection attack the goal is to execute arbitrary commands on the host operating system via a vulnerable application. These attacks are possible when an application passes unsafe user supplied data (forms, cookies, HTTP headers etc.) to a system shell.



The arbitrary commands will be executed on successful command injection attack through vulnerable application. The features available in Commix include a set of options for specifying which parameters should be injected and to append the injection payloads. User can also define data in POST request as well as employ injection payload suffix and prefix string to exploit the target.

Moreover, it supports base64 encoding for multiple injection techniques (eval-based, time based or file based).

Requirements 

Python version 2.6.x or 2.7.x is required for running this program.

Supported Platform

• Linux
• Mac OS X
• Windows (Experimental)

Installation 

Download commix by cloning the Git repository:

git clone https://github.com/stasinopoulos/commix.git commix

Commix comes packaged on the official repositories of the following Linux distributions:

• ArchAssault
• BlackArch
• Kali Linux
• BackBox
• Weakerthan

Commix also comes pre-installed, on the following penetration testing frameworks:

• The Penetration Testers Framework (PTF)
• CTF-Tools
• PentestBox
• PenBox
• Katoolin

Usage

To get a list of all options and switches use:

python commix.py -h

So, do you want to get some ideas on how to use commix? Have a quick look of all available options and switches here.




~ lundi 18 juillet 2016 0 commentaires

Send Exploit Links Using Google’s URL

Now redirecting any website using Google’s URL become easy, new exploit of Google let you redirect to your desired web address.

Google's redirect exploit is very popular in the world of hacking. We can generate link that seems like simple Google link but when user click on it, he will be redirected to our desired web page which may contain spam and other exploits.



You can simply create your own redirect exploit without using any tool or any programming language.

Today we are going to learn how we can create this exploit using a simple method,

Step 1: Go to Google.com

Step 2: Now in Search box, type: sitein:your website link
        Example: sitein:ehacking.net

Step 3:        You will get search results; right click on search result topic with your website link.

Step 4:         Now, Copy Link Location.

Step 5:         Now paste that link, that link will work to redirect anyone to your website.

That link will redirect you to your webpage. You can use this trick to redirect someone to your created spam or exploit or malicious webpage.


~ lundi 4 juillet 2016 0 commentaires

New Developments in the BREACH Attack

2013 was the year when BREACH attack was introduced to Black Hat USA that is still a serious attack vector that exploited compression to compromise SSL connections.

In this talk, methods are proposed to practically extend the attack against the most commonly used encryption ciphers. Command-and-Control technique is described to exploit plain HTTP connections in a persistent manner. Statistical methods are also presented that can be used to bypass the noise present in block ciphers as well as noise present in web applications. Moreover, Parallelization and optimization techniques are also explored.

Furthermore, talk is closed by proposing novel mitigation techniques. Finally the tool implementation and experimental results on popular web services is shown.



~ mercredi 22 juin 2016 0 commentaires

Linux Weaknesses Making It Easier To Get Exploited

Today we will discuss four weaknesses in current Linux and PaX ASLR design and implementation.

1) Too low entropy.
2) Non-uniform distribution.
3) Correlation between objects.
4) Inheritance.

The new technique for exploiting the correlation and weakness is presented, which can bypass full ASLR Linux in 64-bit architecture system in less then a second. A deep analysis of these weaknesses enabled to propose new ASLR design, a concept named as ASLR-NG. This will overcome all the current ASLR’s weaknesses including PaX solution.  Finally presents ASLRA, a tool to analyze the ASLR entropy of Linux.




~ jeudi 16 juin 2016 0 commentaires

How to Setup the Environment for Exploit Writing

As an infosec student, professional and practicer; you might have used many exploits during the pentesting process. But, have you ever tried writing an exploit by yourself, if not; then think about it. Writing an exploit needs deep understanding of the system/application and its flaws. Exploit is just like a piece of software that takes advantage of a vulnerability or flaw exists in the system. The objective of the exploit is to take control of the system.

In order to write exploits, you need to have a deep understanding of programming languages, memory management, assembly language, buffer and many other concepts of computing.


Let's start a series of tutorials that discuss the exploit writing, this videos have been created by duckademy; so here we go:

  

~ vendredi 26 juin 2015 0 commentaires

Anatomy of Exploit - World of Shellcode Part 1

The content has been created by floriano, he reserved all the rights.

Introduction On Exploits


Nowadays the word exploit is becoming frightened, thousands of peoples that are in field of IT should(is a must) know how to make a exploit or even how to defend by eexploits.Out there are hundreds of exploits that are published in several websites like exploit-db.com, secunia.com 1337day.com etc.Exploitation means using a program routine or a 0day attack to own the OS or crashing the program.Exploiting a program is a clever way of getting the computer to do what you want it to, even if the currently running program was designed to prevent that actions.It can do only what you have programmed to do.To get rid of exploit you should learn assembly languageas it is the language wich can talk directly to the kernel, C,c++,Perl, Python programming wich by system calls() we can call the kernel.For me those languagesare enough but since the Computer are in evolution you should not stop learning other programming language.



In this paper i wont publish no exploit but to explain the make of it, the importance of it, and clearing some misunderstanding in our mind, in our brain, so when we read a source code should not become confused.But someone  in IRC asked to me how many types of exploit do we have.In reality there are  too many types of exploits but i will mention the most important exploits that are used todays.


Remote exploits


Exploits can be developed almost at any operation system, but the most comfortable OS is Linux and Windows todays.I dont know about Windows cuz we need to install tools like microsoft visual c++,python 2.7 or perl and using them in CMD.But in Linux the gcc, as, ld are the GNU defaults compilers.
 
In Linux you should have learnt sockets to get a routine and get the work done. We have the shell wich is too important to program an exploit.But in this section the purpose is understanding the remote exploits and creating the basic of it.
 
Getting rid of the vulnerability of the program you want or the system you want  to get prigileges on the System.Here we go in the Art of Fuzzing wich we send  many characters to overflow or to flood and crash the Program.But how do we know what is the address of the eip, to get exploit it in way ret2eip wich means ret2eip=Return the Address of eip.Im explaining the steps:

[Step One]

Before you develop any exploit, you need to determine whether a vulnerability exists in the application. This is where the art of fuzzing comes into play.

Since it is remote we can't know the address of register in wich we crashed the program.

This step is getting a better fuzzer like Spike and Metasploit.When the fuzzer will be stopped we only get the length of the char's.

[Step Two]

Get on work with fuzzer.Practice it.Run it.In this step we ran the fuzzer and what we get only the length of the chars but to exploit a program we need eip.

Length(X1h21hsdpgm234jlasn356kklasdn432210ifaslkj4120sd .................) etc. We only have the length.

[Step Three]

We download the program in our system and test it with the fuzzer.As the target is 127.0.0.1 we launch a debugger like Ollydbg and we will watch what will happen when the fuzz will start.The program will be overflowed and the eip will be on red line.Here we got what we wanted to have.We got the eip, now what.

[Step Four]

Prepare the shellcode.What is shellcode?-Shellcode is made in assembly language with instructions to get the shell with system calls like execve or execl.


To be Continued........

~ mercredi 3 juin 2015 0 commentaires

[EXPLOITS] Drupal 7.xx SQL Injection


Drupal 7.xx SQL Injection Vulnerability
This exploit add a new Drupal administrator account (preserving original) via Sql Injection.

Requirements
OR
In this tutorial, i'm just going to show you how to exploit using our Drupal Auto Exploiter since it is fast and easy.

 Steps
      1- Download the auto exploiter from the given link
      2- Extract and run it
 
      3- Find your target on Google by using this dork
      4- Choose any site, paste it in exploiter and click EXPLOIT

      5- If the site is vulnerable, you will see something like this
 
      6- Click the given login URL and login with the username and password given.

Having Problems?

Feel free to read the Frequent Asked Questions(FAQs) by clicking on HELP

 


Videos

Downloads
Python
Exploit Script.py
Drupal Auto Exploiter

~ mercredi 31 décembre 2014 0 commentaires