jq

Parsing BloodHound Data
User Object Queries with jq
jqTo list out the keys inside of a JSON object:
Go into the list based on the key (we only care about data here):
Dump all of the usernames:
Dump all users that are currently enabled:
Show all usernames and descriptions for disabled/enabled users (check for passwords in the description field!):
Enabled users, where the description is populated with something:
If you need to convert something from a number to a string, use (.value|tostring).
(.value|tostring).Show all enabled users and their lastlogin value (if it’s 1, the account hasn’t been logged into and you should target it for password spraying!):
lastlogin value (if it’s 1, the account hasn’t been logged into and you should target it for password spraying!):Computer Object Queries with jq
jqGather hostnames and their operating system:
Show all hosts that are not running Windows 10 Pro:
Unsupported Operating Systems
Every machine has a password in AD that corresponds to the computer object.
Last updated