Summary
In this chapter, we covered some of the basics of graph and knowledge databases, as well as how mapping out the homefield can be useful for red teaming, threat hunting, security analysts, and other stakeholders.
Using practical examples, we explored the Neo4j graph database system. We learned about nodes and relationships and how to create, update, and delete objects in the database. Additionally, we discussed details of index optimization. Then, we spent some time learning how to query for objects and properties.
In the next chapter, we will continue where we left off and walk through a practical case study to learn how to import information from another data source, such as AWS. We will also dive into one of the most important parts of red teaming: we will talk about Hunting for Credentials in detail.