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.4.0.tar.gz (55.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.4.0-py3-none-any.whl (116.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ps_banshee-1.4.0.tar.gz
  • Upload date:
  • Size: 55.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.4.0.tar.gz
Algorithm Hash digest
SHA256 2a79d5b371a759156eba49699ddc1117ff11998e5345317c9fa0e6d2c7abf28d
MD5 dc22082ca33e34d1d7265b26f0fb43eb
BLAKE2b-256 11f35385c29c92225d47278d9809db1ec61bda585482ad37099c31f6445682c1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ps_banshee-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 116.1 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfe1f9dda2f4a26f5643a983327ffc98440ed5de131bbd49ded512c1007e91ae
MD5 ea9c049a5409352722163950d1c78e85
BLAKE2b-256 e8a819244758830e501f5b300aba671560afb1ac7b6cd107ad111bc4386875f7

See more details on using hashes here.

Provenance

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