Skip to content

nollium/bloodowned

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bloodowned

bloodowned is a command-line tool to mark, unmark, and list users as "owned" in a BloodHound Neo4j database.

Features

  • ✨ Mark users as owned in BloodHound
  • 🗑️ Unmark users (remove owned status)
  • 📋 List all owned users
  • 🔎 Search for owned users by pattern
  • 🔧 Script-friendly output when piped

Installation

Using pipx (Recommended)

pipx install git+https://github.com/nollium/bloodowned.git

Using pip

git clone https://github.com/nollium/bloodowned.git
cd bloodowned
pip install .

Usage

Mark a user as owned

bloodowned BIT200293
bloodowned BIT200293@DOMAIN.COM
bloodowned -t 'bolt://localhost:7687' -p 'password' BIT200293

Unmark a user (remove owned status)

bloodowned -d BIT200293
bloodowned -d BIT200293@DOMAIN.COM

List all owned users

bloodowned -l
bloodowned -l | grep ADMIN  # raw output when piped

Search for owned users

bloodowned -s BIT200
bloodowned -s admin

Options

  • <user_principal_name>: The user to mark/unmark/search as owned (e.g., 'user@domain.com' or 'USER'). Optional when using -l.
  • -t, --target: Neo4j URI. (Default: bolt://localhost:7687)
  • -u, --user: Neo4j username. (Default: neo4j)
  • -p, --password: Neo4j password. (Default: exegol4thewin)
  • -d, --delete: Unmark the user as owned (remove owned status)
  • -l, --list: List all users marked as owned
  • -s, --search: Search for owned users matching the identifier
  • --no-color: Disable colored output

Examples

bloodowned administrator
bloodowned administrator@contoso.local
bloodowned -d administrator@contoso.local
bloodowned -l
bloodowned -l | wc -l
bloodowned -s admin
bloodowned -t bolt://192.168.1.100:7687 -p 'password' administrator
bloodowned --no-color administrator

About

Manage owned users in BloodHound from CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages