Skip to content

Instantly share code, notes, and snippets.

@stikos
Last active February 9, 2019 19:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stikos/5228db0426a902e8833e7d73d67ec102 to your computer and use it in GitHub Desktop.
Save stikos/5228db0426a902e8833e7d73d67ec102 to your computer and use it in GitHub Desktop.
Final Report of PyPen GSOC 2018

This is a final report of the work which was done as part of the PyPen GSOC 2018 Project.

Abstract

Development of a Python library for penetration testers. The library will include a set of tools for performing the basic tasks for attacking a remote host. It will include reconnaissance tools such as modules that will be able to collect data for a specific target either through the web or through user input. Moreover, other tools will be developed to create custom dictionaries for username and password attacks. Other attack techniques that will be supported include DoS attack, BruteForce attack as well as Inclusion attack. The library will also include various statistical functions for extracting additional information from a captured host.

Documentation

There's a detailed documentation section for each module of this project. It contains information regarding:

  • requirements
  • installation
  • usage
  • examples
    The documentation of the project can be found in it's respective Wiki page

Work

This project consists of three main modules:

  • User Reconnaissance & Information Gathering. This module's purpose is to gather information about Facebook users with public information on their profiles, and to create a collection of that information, which will be used in a dictionary attack.
  • Target System Reconnaissance & Information Gathering. A set of functions have been developed in order to get useful information for a target system such as open ports, OS info etc.
  • Attack PenTest Tools. A set of simple tools that try to take advantage of any information gathered with the use of our User Reconnaissance module and Target System Reconnaissance module, in order to succeed in some basic attack techniques.
    All of the project objectives were completed and the work that has been done is briefly described below:

Progress

The progress of the projects can be seen here, through my GitHub repository commits

Timeline

A rough timeline of the project can be found here, under Menu > Activity or in this Google Sheet

Deliverables

The deliverables of this project are the three modules, as described above:

Future Work

Possible additions or improvements to this project could be the following:

  • An SSH bruteforce module (brutSSH.py), similar to bruftp.py
  • The improvement of pydos_scapy.py, as it is not very effective at the moment, plus the improvement of the simple socket implementation, in order for the script to be cross platfrom and not depend on hping3
  • An extension of the User Reconnaissance module so that it covers a wider variety of social networks, such as Instagram, Twitter, LinkedIn etc.
  • A distributed, online password cracking module, based on our User Reconnaissance data, that will possibly use spoofed IPs to ensure a large number of attempts.

Disclaimer

The purpose of this library is educational, for Penetration Testing and Ethical Hacking and under no circumstances for malicious actions. It's use will comply to all current data protection legislation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment