Skip to main content

Ostorlab Agent and Extensibility CLI and SDK

Project description

PyPI version Downloads Ostorlab blog Twitter Follow

Ostorlab Open-Source Security Scanner

Scan Run

The Sales Pitch

If this is the first time you are visiting the Ostorlab Github page, here is the sales pitch.

Security testing requires often chaining tools together, taking the output from one, mangling it, filtering it and then pushing it to another tool. Several tools have tried to make the process less painful with limited success. Ostorlab addresses the same challenge by simplifying the hardest part and automating the boring and tedious part.

To do that, Ostorlab focuses on the following:

  • Ease of use with simple one command-line to perform all tasks
  • Developer Experience through project documentation, tutorials, SDK and templates
  • Scalability and Performance by using efficient serialisation format and proven industry standard for all of its components

To do that, Ostorlab ships with:

  • A simple, yet powerful SDK to make simple cases effortless while supporting the complex one, like distributed locking, QPS limiting, multiple instance parallelization ...
  • A battle-tested framework that has been powering Ostorlab Platform for years and used to perform complex dynamic analysis setup and demanding static analysis workloads running on multiple machines.
  • Performant and scalable design, thanks to the use of message queue with dynamic routing, binary and compact message serialisation with protbuf, universal file format using docker image, resilient thanks to docker swarm mode to cite a few
  • A store of agents that make is to use and discover tools to add your toolset
  • An automated builder to take the hassle away of building and publishing.
  • A GUI to prepare and write down your tool collection setup
  • Focus on documentation, multiple tutorials and upcoming videos and conference presentations
  • A ready to use one-click template repo to get started.

Requirements

For some tasks, like running scans locally, Docker is required. To install docker, please see the following instructions.

Installing

Ostorlab is shipped as a Python package on Pypi. To install, simply run the following command if you have pip already installed.

pip install -U ostorlab

Getting Started

To perform your first scan, simply run the following command:

ostorlab scan run --install --agent agent/ostorlab/nmap --agent agent/ostorlab/openvas --agent agent/ostorlab/tsunami --agent agent/ostorlab/nuclei ip 8.8.8.8

This command will download and install the following scanning agents:

  • agent/ostorlab/nmap
  • agent/ostorlab/tsunami
  • agent/ostorlab/nuclei
  • agent/ostorlab/openvas

And will scan the target IP address 8.8.8.8

To check the scan status:

ostrlab scan list

Once the scan has completed, to access the scan results:

ostorlab vulnz list --scan-id <scan-id>
ostorlab vulnz describe --vuln-id <vuln-id>

The Store

Ostorlab lists all agents on a public store where you can search and also publish your own agents.

Store

In addition, the store, a graphical agent group builder is also available to compose multiple agents and see how they would interact with each other.

Store

The builder also helps with generating the agent group YAML file to set special arguments that can be passed to agents to control their behavior.

Build

Publish your first Agent

To write your first agent, check out the full tutorial here.

Once you have written your agent, you can publish it on the store for others to use and discover it. The store even handles agent building and will automatically pick up new releases from the git repo.

Build

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ostorlab-0.2.4.tar.gz (205.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ostorlab-0.2.4-py3-none-any.whl (465.8 kB view details)

Uploaded Python 3

File details

Details for the file ostorlab-0.2.4.tar.gz.

File metadata

  • Download URL: ostorlab-0.2.4.tar.gz
  • Upload date:
  • Size: 205.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ostorlab-0.2.4.tar.gz
Algorithm Hash digest
SHA256 9534b930437753f1e2028aa2940bbc827f420288ca015c22e3d6ddc616e5e952
MD5 6d6cade04e703860c528d8ea7393b590
BLAKE2b-256 2819ce8d295cad82e3cbd9af9f3bb0d4dab7c5aa8839961f9908ec6d21e305bd

See more details on using hashes here.

File details

Details for the file ostorlab-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: ostorlab-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 465.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for ostorlab-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bc83e2cfac78ee5892312eda1255e95fa00ebe97d590a4d38a1cd3565701680b
MD5 3f07b496cca5bc07dc631e33f8f3e8bc
BLAKE2b-256 6ae712ebf2485082b1c224beb48def81408880a75e7fec08172acae341876e3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page