SkyScalpel is an open-source framework for JSON policy parsing, obfuscation, deobfuscation, and detection in cloud environments.
It provides flexible and highly configurable mechanisms to handle JSON-level obfuscation, IAM policy transformations, and the detection of evasive obfuscation techniques in cloud security contexts.
Built on a custom C# JSON tokenizer and syntax tree parser, SkyScalpel offers unique insights into how obfuscated cloud policies (e.g. IAM policies) can evade detection and empowers defenders to surgically detect and neutralize these obfuscation techniques.
The framework also integrates a PowerShell wrapper to enhance usability through pipeline capabilities and command chaining.
Import-Module ./SkyScalpel.psd1
PowerShell 7.1
.NET 6.0 (LTS)
Interactive mode is a colorful, menu-driven experience found in the Invoke-SkyScalpel
function (which also supports non-interactive capabilities via its own built-in CLI).
It is designed to promote exploration of all available functions with colored highlighting applied to amplify the important details returned from each function.
There is also some special animated ASCII art in this function, so we recommend giving it a whirl first.
Menu exploration supports full regex and basic wildcards, with special automated menu traversal options defined by **
, ***
and ****
commands. You can always type HELP
or TUTORIAL
for more guidance.
At any point the full details of each layer of obfuscation or deobfuscation can be viewed, copied or fully exported out of the interactive menu.
SkyScalpel also has full CLI support displayed in the same menu, so interactive mode can be used to “create obfuscation recipes” that can easily be exported into simple 1-liner commands.
For more information click here.
In 2025 I wanted to try something new. In addition to a traditional 100 days…
presenterm lets you create presentations in markdown format and run them from your terminal, with…
Jailbreak is an attack that prompts a language model to give actionable responses to harmful…
The main philosophy of HASH is to be easy to configure and flexible to mimic…
SECurityTr8Ker is a Python application designed to monitor the U.S. Securities and Exchange Commission's (SEC)…
ripgrep is a line-oriented search tool that recursively searches the current directory for a regex…