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.0.tar.gz (53.7 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.0-py3-none-any.whl (113.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ps_banshee-1.3.0.tar.gz
  • Upload date:
  • Size: 53.7 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.0.tar.gz
Algorithm Hash digest
SHA256 21476d4747fafcbb9c144936265d604afc0c6d54bad7e3aa24f144ce6ee4a3eb
MD5 f3f1f4095cf31381f1c53afcc1648196
BLAKE2b-256 444c00a7a470f5328420a1d3b1a1c77fc16cc6d7d7a47cbf9cc3f4dabb89c3c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ps_banshee-1.3.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: ps_banshee-1.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83ca6b435117aba51be0da4c6e401d06d6179bd231ca264cbb3ea9f8bb333fa5
MD5 e6cc9eb65e4a1309a252588d3cfacf9a
BLAKE2b-256 0a259991096e2b33d05e20adac2cefccf55cfe8b58900e58c7aece089ef1664f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ps_banshee-1.3.0-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