Ditto: A PowerShell and JavaScript Obfuscator
Detection stack
- AIDR
- Alert
- ETL
- Query
Summary
Ditto is an open-source tool built to obfuscate PowerShell and JavaScript code through a range of customizable impostor profiles. It uses tree-sitter parsers to apply multiple obfuscation methods, including string manipulation, variable renaming, and arithmetic transformations. The tool also supports selective obfuscation within individual scripts through dedicated directive comments.
Investigation
Not Specified
Mitigation
Not Specified
Response
Not Specified
Attack Flow
We are still updating this part.
Detections
Possible Powershell Obfuscation Indicators (via powershell)
31 Aug 2026