🚀 Treasure Trove
If you’re one of the curious security ninjas, this is the place to discover useful offensive and defensive security resources. Here’s a selection of Blue Team and Red Team tools and resources this week.
Blue Team
chainguard-dev/osquery-defense-kit: Production-ready detection & response queries for osquery. The detection queries are formulated to return zero rows during normal expected behavior, so that they may be configured to generate alerts when rows are returned.
How Security Professionals are Being Attacked - A study of malicious CVE proof of concept exploits in GitHub: PoCs for exploits are often shared on platforms like GitHub. However, there’s no guarantee that the PoCs are trustworthy, and don’t contain additional functionality. This academic paper reviewed PoCs shared on GitHub for known vulnerabilities discovered in 2017-2021, and found 4,893 malicious repositories out of 47,313 repositories that have been downloaded and checked (i.e., 10.3% of the studied repositories have symptoms of malicious intent).
peasead/elastic-container: Stand up a 100% containerized Elastic stack, TLS secured, with Elasticsearch, Kibana, Fleet, and the Detection Engine all pre-configured, enabled and ready to use, within minutes.
fox-it/dissect: An incident response framework built from various parsers and implementations of file formats. Dissect allows you to quickly gain access to forensic artefacts, such as Runkeys, Prefetch files, and Windows Event Logs. Works in the same way regardless of the underlying container, filesystem, or OS.
Red Team
evilsocket/jscythe: Abuse the Node.js inspector mechanism to force any Node.js/Electron/v8 based process to execute arbitrary JavaScript code even if their debugging capabilities are disabled, by Simone Margaritelli. Works on Discord, Slack, etc.
RedTeamPentesting/kbtls: A library for creating mutually trusted client and server certificates based on a pre-shared connection key.
Building a Red Team Infrastructure: Secure Systems Engineering GMBH’s André Tschapeller explores the essential components needed for robust red teaming infrastructure. This post provides an overview of the system as a whole then dives into each separate element, including the C2 infrastructure, HTTPS and DNS redirectors, and using GoPhish in conjunction with a postfix redirector for the phishing server.