scantron v1.44 releases: A distributed nmap scanning framework
Scantron is a distributed nmap scanner comprised of two components. The first is a master node that consists of a web front end used for scheduling scans and storing nmap scan targets and results. The second component is an agent that pulls scan jobs from the master and conducts the actual nmap scanning. A majority of the application’s logic is purposely placed on the master to make the agent(s) as “dumb” as possible. All nmap target files and nmap results reside on master and are shared through a network file share (NFS) leveraging SSH tunnels. The agents call back to master periodically using a REST API to check for scan tasks and provide scan status updates.
Scantron is coded for Python3.6+ exclusively and leverages Django for the web front-end, Django REST Framework as the API endpoint, PostgreSQL as the database, and comes complete with Ubuntu-focused Ansible playbooks for smooth deployments. Scantron has been tested on Ubuntu 18.04 and may be compatible with other operating systems. Scantron’s inspiration comes from:
Scantron relies heavily on utilizing SSH port forwards (-R / -L) as an umbilical cord to the agents. Either an SSH connection from master –> agent or agent –> master is acceptable and may be required depending on different firewall rules, but tweaking the port forwards and autossh commands will be necessary.
- Added support for scheduling hourly scans.
scan_scheduler.pylogic to handle new hourly scan frequency capability.
console/scan_scheduler_visualizer.pyto assist in visualizing scan start times.
/api/server_timeAPI endpoint to return a datetime string from the server to assist with scan scheduling.
- Added 2 different timezone settings in
timezone_server– Set this to be the timezone you want the server to be in, usually UTC.
timezone_django– Set this to be your local timezone. It makes dealing with dates, times, and scheduling easier.
retrieve_server_time()function to retrieve a datetime string of the server to assist with scan scheduling.
retrieve_all_masscan_targets_and_open_ports_from_scan_id()function to retrieve all the targets and open ports given a scan ID for masscan only.
- Added “pooled” as a valid
file_typefor some of the functions that retrieve scan files.
Copyright 2012-2013 Rackspace, Inc.