Skip to main content

OXO Scanner Orchestrator for the Modern Age.

Project description

PyPI version Downloads Ostorlab blog Twitter Follow

OXO Scan Orchestration Engine

OXO is a security scanning framework built for modularity, scalability, and simplicity.

OXO Engine combines specialized tools to work cohesively to find vulnerabilities and perform actions like recon, enumeration, and fingerprinting.

Main oxo

Key Features

  • Modular & Scalable: Easily combine multiple specialized agents to perform comprehensive scans.
  • Broad Asset Support: Scan anything from IP addresses and domains to mobile applications (Android, iOS, HarmonyOS) and API schemas.
  • Agent Store: Access a growing library of community and official agents for popular security tools.
  • Extensible: Built-in support for creating and publishing your own agents using a simple Python-based framework.
  • API First: Features a GraphQL API for easy integration into CI/CD pipelines and other automated workflows.

Requirements

Docker is required to run scans locally. To install Docker, please follow these instructions.

Installing

OXO ships as a Python package on PyPI. To install it, simply run the following command if you have pip already installed.

pip install -U ostorlab

Getting Started

OXO ships with a store that boasts dozens of agents, from network scanning agents like Nmap, Nuclei, or Tsunami, web scanners like ZAP, web fingerprinting tools like WhatWeb and Wappalyzer, DNS brute-forcing tools like Subfinder and Dnsx, malware file scanning like VirusTotal, and much more.

To run any of these tools combined, simply run the following command:

OXO CLI is accessible using the oxo or ostorlab commands.

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

This command will download and install the following scanning agents:

It will scan the target IP address 8.8.8.8.

Agents are shipped as standard Docker images.

Scan Management

To check the scan status, run:

oxo scan list

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

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

To stop a running scan, run:

oxo scan stop --scan-id <scan-id>

Docker Image

To run oxo in a container, you may use the publicly available image and run the following command:

docker run -v /var/run/docker.sock:/var/run/docker.sock ostorlab/oxo:latest scan run --install --agent agent/ostorlab/nmap ip 8.8.8.8

Notes:

  • The command starts directly with: scan run, this is because the ostorlab/oxo image has oxo as an entrypoint.
  • It is important to mount the Docker socket so OXO can create agents on the host machine.

On-Prem Scanner Logs

When running OXO as an on-prem scanner, use --persist-logs to write scanner logs to disk:

oxo scanner --scanner-id <scanner-uuid> --persist-logs

By default, logs are written to ~/.ostorlab/scanner.log. To choose another file:

oxo scanner --scanner-id <scanner-uuid> --persist-logs --log-file /var/log/ostorlab/scanner.log

To change the persisted log verbosity:

oxo scanner --scanner-id <scanner-uuid> --persist-logs --log-level DEBUG

Assets

OXO supports scanning multiple asset types, allowing for comprehensive security coverage across different platforms and protocols.

Category Asset Description
Network ip IP address or IP range (v4 and v6).
domain-name Domain name.
Web link Web link, accepting a URL, method, headers, and request body.
api-schema API schema (OpenAPI, GraphQL, etc.).
Mobile android-apk / android-aab Android package files (.APK, .AAB).
android-store Android app in the Google Play Store.
ios-ipa iOS package file (.IPA).
ios-store iOS app in the Apple App Store.
ios-testflight iOS app in TestFlight.
harmonyos-apk / harmonyos-hap HarmonyOS package files.
Other file Generic file.
phone-number Phone number.
agent Meta-scanning of an agent.

The Store

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

Store

Publish Your First Agent

To write your first agent, you can check out a full tutorial here.

The steps are basically as follows:

  • Clone a template agent with all files already set up.
  • Change the template_agent.py file to add your logic.
  • Change the Dockerfile by adding any extra building steps.
  • Change the ostorlab.yaml by adding selectors, documentation, image, and license.
  • Publish it on the store.

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

Build

Ideas for Agents to Build

Implementations of popular tools such as:

  • semgrep for source code scanning.
  • nbtscan: Scans for open NetBIOS name servers on your target’s network.
  • onesixtyone: Fast scanner to find publicly exposed SNMP services.
  • Retire.js: Scanner detecting the use of JavaScript libraries with known vulnerabilities.
  • snallygaster: Finds file leaks and other security problems on HTTP servers.
  • testssl.sh: Identifies various TLS/SSL weaknesses, including Heartbleed, CRIME, and ROBOT.
  • TruffleHog: Searches through Git repositories for high-entropy strings and secrets, digging deep into commit history.
  • cve-bin-tool: Scans binaries for vulnerable components.
  • XSStrike: XSS web vulnerability scanner with generative payload.
  • Subjack: Subdomain takeover scanning tool.
  • DnsReaper: Subdomain takeover scanning tool.
  • Gitleaks: SAST tool for detecting and preventing hardcoded secrets.
  • ffuf: Fast web fuzzer written in Go.
  • Gobuster: Tool used to brute-force URIs, DNS subdomains, and more.

Credits

As an open-source project in a rapidly developing field, we are always open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.

We would like to thank the following contributors for their help in making OXO a better tool:

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-2.5.0.tar.gz (9.1 MB view details)

Uploaded Source

Built Distribution

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

ostorlab-2.5.0-py3-none-any.whl (10.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ostorlab-2.5.0.tar.gz
  • Upload date:
  • Size: 9.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ostorlab-2.5.0.tar.gz
Algorithm Hash digest
SHA256 112d3bc613bc658f406b6783da585b3daef9b11f492b5de925e27cee06e1668b
MD5 90e235542fc098dc8175bd2a0933f95b
BLAKE2b-256 2428df92e73e1814d46e14da7d733c8cd79bd5bb763c5a15f56188029cea5368

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ostorlab-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ostorlab-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68285f357bc24659bada3e19ebb5edb07b41a38ef547dfc2c38b3a7cb5745e2c
MD5 222ec38b79f160f4940f3edf2c70b7dc
BLAKE2b-256 7b7f81be5d93c2237b9f93e67bf0ad1db981a7f4184da31bd5908dcd759e30b8

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