Skip to main content

PS Banshee is a command line tool used to access Recorded Future Intelligence. PS Banshee is designed to get you working quickly with Recorded Future.

Project description

PS Banshee

PS Banshee is a command-line interface (CLI) tool designed to provide quick and efficient access to Recorded Future Intelligence. Built for security professionals, PS Banshee helps streamline investigations and automate common security operations tasks.


Key Features

  • E-mail (EML) enrichment
  • IOC lookup and search
  • Packet capture (pcap) enrichment
  • Recorded Future Alert search, lookup, update and export
  • Recorded Future Detection Rules (YARA, Snort, Sigma) search and download
  • Recorded Future Entity search and lookup
  • Recorded Future List & Watch List management
  • Recorded Future Playbook Alert search, lookup, update and export
  • Recorded Future Risk List download, and creation

Installation

PS Banshee is available on PyPI and can be installed using pip or pipx.

Note: PS Banshee requires Python 3.10 or later (up to 3.13).

Recommended: pipx (isolated environment)

To install globally, run:

pipx install ps-banshee

Note: If you don't have pipx installed, see the installation guide.

Alternative: pip (current environment)

To install in the current environment, run:

pip install ps-banshee

Dependencies

pipx will automatically resolve all Python dependencies.
If you want to use the pcap command, you will also need:

  • tshark 3.0.0 or later

Command Auto Completion

After installing PS Banshee, you can enable command auto completion:

banshee --install-completion

Restart your shell to complete the installation. You can now use TAB to auto-complete commands.

Usage

To see the list of available commands, run:

banshee -h

Authorization

PS Banshee reads your Recorded Future API key from the RF_TOKEN environment variable (recommended) or from the -k / --api-key flag on each command.

Option 1: Set RF_TOKEN (recommended)

macOS / Linux

Current shell only:

export RF_TOKEN=<your_api_key>

Persist for future shells (zsh — adjust to ~/.bashrc for bash). Open a new shell after running this (or run source ~/.zshrc to apply in the current shell):

echo 'export RF_TOKEN=<your_api_key>' >> ~/.zshrc

Windows (PowerShell)

Current session only:

$env:RF_TOKEN = '<your_api_key>'

Persist for future sessions (open a new PowerShell after running this):

setx RF_TOKEN <your_api_key>

Windows (Command Prompt)

Current session only:

set RF_TOKEN=<your_api_key>

Persist for future sessions (open a new Command Prompt after running this):

setx RF_TOKEN <your_api_key>

Option 2: Pass with -k per command

banshee -k <your_api_key> <command> <sub-command> <arguments>

This works on any platform, but is more verbose and the key may land in shell history.

Proxies

If you are behind a proxy, set the HTTP_PROXY and HTTPS_PROXY environment variables.

To disable SSL verification, use the -s flag:

banshee -s ca rules

Command Help

All commands support the --help (-h) option:

banshee -h
banshee ca --help
banshee ioc lookup --help
banshee list bulk-add -h

Support

Submit a support request for help alternatively reach out to support@recordedfuture.com.


PS Banshee is developed and maintained by the Recorded Future Professional Services Cyber Security Engineers 🚀

Project details


Download files

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

Source Distribution

ps_banshee-1.3.1.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

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

ps_banshee-1.3.1-py3-none-any.whl (113.9 kB view details)

Uploaded Python 3

File details

Details for the file ps_banshee-1.3.1.tar.gz.

File metadata

  • Download URL: ps_banshee-1.3.1.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ps_banshee-1.3.1.tar.gz
Algorithm Hash digest
SHA256 df84014ca525c8a83b9d67b4d7a1b0d3265ad9018b3b4b6a01e8e78fab0cab0d
MD5 78953146abe9433e29e5fe3a26d95a15
BLAKE2b-256 fbf0a1dccca2236b0cb7222c7beb46901966c75d3fd38e11937125dd8f76e16f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ps_banshee-1.3.1.tar.gz:

Publisher: tag_and_release.yml on RecordedFuture-ProfessionalServices/ps-banshee

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ps_banshee-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: ps_banshee-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 113.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ps_banshee-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf0693a5fb0339fd647b690a15670dd2f9af0f9c761b4c9b0100ac6b0539b6d8
MD5 fe331e6c05afe427d3b965c1769f3485
BLAKE2b-256 33a0733f71aa73e2c9efd23b60a61255cbf6323e374527f8790a3e18cbd9b1d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ps_banshee-1.3.1-py3-none-any.whl:

Publisher: tag_and_release.yml on RecordedFuture-ProfessionalServices/ps-banshee

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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