🚀 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
facebookincubator/TTPForge: A framework created by Meta's Purple Team to facilitate the development, automation, and execution of Tactics, Techniques and Procedures (TTPs).
beruangsalju/shell-backdoor: A massive list of shell backdoors.
elastic/SWAT: A tool for simulating malicious behavior against Google Workspace, mapped against the MITRE ATT&CK framework.
How InfoSec uses the Elastic Stack for vulnerability management: How the Elastic Stack can be utilized as a data management platform for vulnerability management. Clement outlines the three main components of their vulnerability management architecture and explains how to automate the process of retrieving, enriching, and sharing scan results with different teams.
HashiCorp Vault Observability - Monitoring Vault at scale: Strategies for architecting a comprehensive Vault monitoring approach, including log analysis, telemetry analysis, and API and synthetic monitoring.
Red Team
OWASP/wrongsecrets: A vulnerable application that offers concrete instances of improper secret storage practices. A comprehensive collection of 35 challenges spanning Docker, Kubernetes, minikube, and various cloud providers (AWS, GCP, and Azure).
allpaca/chrome-sbx-db: A collection of Chrome Sandbox Escape POCs/exploits for learning.
onhexgroup/Vulnerable-WordPress: A collection of vulnerable WordPress plugins updated monthly that can be used for Nuclei template development, exploit development, or learning purposes.
Attacking JS engines: Fundamentals for understanding memory corruption crashes: Basic concepts of browser exploitation, focusing on Firefox's JavaScript engine, SpiderMonkey. Pedro also outlines concepts including heaps, garbage collectors, JIT compilers, and in-memory structures.
Stratus-red-team: Stratus-red-team is a tool for emulating offensive attack techniques in a controlled manner on cloud environments for the purpose of testing detection and response. Attacks are organized by cloud provider and category of attack. Each attack has a comprehensive wiki page with a MITRE ATT&CK mapping, description, and example detections. The recently released v2.9.0 includes new techniques for ransomware simulation.
📑 Blue Team MasterClass: Tutorials & Guides
Okta Cross-Tenant Impersonation: Prevention and Detection: In recent weeks, multiple US-based Okta customers have reported a consistent pattern of social engineering attacks against their IT service desk personnel, in which the caller’s strategy was to convince service desk personnel to reset all Multi-factor Authentication (MFA) factors enrolled by highly privileged users.
Threat actors are using social engineering to convince IT desk personnel to reset multifactor authentication (MFA) for highly privileged Okta enterprise accounts, gaining access to the cloud-based identity access management (IAM) service and moving laterally through targeted networks from there. Okta warns about how common this threat is and how to prevent it.
How to use KAPE for Digital Forensics on Windows: Cyberattacks are on the rise year-on-year and Attackers are using different techniques to clear the traces after the attacks. It’s essential to use the right tools and methods to identify attacks and prevent further attacks. Kroll Artifact Parser and Extractor (KAPE) parses and extracts Windows forensics artifacts. This tool significantly shortens the amount of time reaction to an incident needs, providing critical material from either a live system or a storage device prior to when the imaging process would finish.
KAPE serves two primary purposes, 1) collect files and 2) process the collected files as per the provided options. To perform a better analysis and collect Artifacts, get started with this post to understand the KAPE tool and see how it works.
🤖 LLMs + Attack & Defend
A framework to securely use LLMs in companies - Part 1: Overview of Risks
Part 1 of a multi-part series on using LLMs securely within your organisation. This post as part of a multi-blog series provides a framework to categorize risks based on different use cases and deployment type when using LLMs within your organization.
Depending on how the LLMs are deployed (training an in-house LLM v/s 3rd party LLMs) and how the LLMs are used (by individuals to supercharge their work v/s integrating with LLM APIs in applications), the risks LLMs pose will change. This post outlines key risks and helps prioritize them based on your organization’s use case.
Using LLMs to reverse JavaScript variable name minification: This post describes how to reverse minified JavaScript using LLMs like ChatGPT and llama2 while keeping the code semantically intact.
Unminify and prettify the code.
Ask the LLM to describe the intent and a better name for variables.
Use Babel to do the renaming, which can effectively rename a JavaScript variable within its scope by operating on the code's Abstract Syntax Tree (AST), preserving how the code works.