Astsu: Network Scanning Tool

Last Release: 10/24/2020     Last Commit: 10/24/2020

Astsu: Network Scanning Tool

Astsu is a network scanning tool which can be used to perform basic network reconnaissance tasks. It has been developed in Python 3 using the Scapy packet manipulation tool. 

Astsu: Network Scanning Tool 

Astsu performs three major tasks. The first function is the ability to scan common ports and check whether they are open or not. If a port is open, the tool will then use nmap to check the service being run on the port. The second ability of Astsu is to discover hosts operating on the network. It does this by using the routers IP to map all possible IP’s and then send packets to each IP and wait for a response. The last objective which Astsu achieves is the ability to determine the Operating System of a host on a network. It does this by analyzing a packet received from the target for the OS details.

A great option of this tool is that the user can choose the network protocol to use in the scan. In addition to this, the user can also define how long the tool should wait before it timeouts.

Features:

  • Perform basic network reconnaissance with this tool
  • Scan the ports of a target IP address and check which ports are open or closed and what services are running on them
  • Discover the hosts in a network
  • Scan a host for the Operating System
  • Can be used in the reconnaissance phase of a penetration test
  • Option to use a stealth scan method to hide the user’s identity
  • Option to scan a range of ports or scan all the ports

Supported Platforms:

  • Linux 
  • Windows 

Requirements:

  • Python 3

Install

Clone the GitHub repo: 

$ git clone https://github.com/ReddyyZ/astsu.git

Linux

Navigate to the working directory and run the following commands: 

$ apt-get install python3 
$ chmod +x * 
$ python3 -m pip install -r requirements.txt 
$ python3 install.py 

Windows

Run the following commands:

$ python3 -m pip install -r requirements.txt 
$ python3 install.py 

Astsu Usage

Enter the following command: 

$ astsu 

Available Options

kali@kali:~/astsu$ astsu
usage: 
        astsu.py -sC 192.168.0.106
        astsu.py -sA 192.168.0.106

ASTSU - Network Tool

positional arguments:
  Target

optional arguments:
  -h, --help            show this help message and exit
  -sC, --scan-common    Scan common ports
  -sA, --scan-all       Scan all ports
  -sO, --scan-os        Scan OS
  -sP SCAN_PORT [SCAN_PORT ...], --scan-port SCAN_PORT [SCAN_PORT ...]
                        Scan defined port
  -d, --discover        Discover hosts in the network
  -p {ICMP,UDP,TCP}, --protocol {ICMP,UDP,TCP}
                        Protocol to use in the scans. ICMP,UDP,TCP.
  -i INTERFACE, --interface INTERFACE
                        Interface to use
  -t TIMEOUT, --timeout TIMEOUT
                        Timeout to each request
  -st, --stealth        Use Stealth scan method (TCP)
Documentation Box
Download Box