
Ofuscador de Scripts PowerShell Simple y Potente

Invoke-Stealth es un ofuscador de scripts de PowerShell simple y potente.
Esta herramienta te ayuda a automatizar el proceso de ofuscación de cualquier script escrito en PowerShell con diferentes técnicas. Puedes usar cualquiera de ellas por separado, juntas o todas secuencialmente con facilidad, desde Windows o Linux.
*Requerido para usar todas las funcionalidades
Se recomienda clonar el repositorio completo o descargar el archivo zip. Puedes hacerlo ejecutando el siguiente comando:
git clone https://github.com/JoelGMSec/Invoke-Stealth.git
También puedes descargar la versión limitada de la siguiente manera:
powershell iwr -useb https://darkbyte.net/invoke-stealth.php -outfile Invoke-Stealth.ps1
.\Invoke-Stealth.ps1 -help
Info: This tool helps you to automate the obfuscation process of
any script written in PowerShell with different techniques
Usage: .\Invoke-Stealth.ps1 script.ps1 -technique Chimera
- You can use as single or separated by commas -
Techniques:
· Chameleon: Substitute strings and concatenate variables
· BetterXencrypt: Compresses and encrypts with random iterations
· PyFuscation: Obfuscate functions, variables and parameters
· ReverseB64: Encode with base64 and reverse it to avoid detections
· PSObfuscation: Convert content to bytes and encode with Gzip
· All: Sequentially executes all techniques described above
Warning: The output script will exponentially multiply the original size
Chameleon & PyFuscation need Python3 to work properly
Técnicas: · Chameleon: Sustituye cadenas y concatena variables · BetterXencrypt: Comprime y encripta con iteraciones aleatorias · PyFuscation: Ofusca funciones, variables y parámetros · ReverseB64: Codifica en base64 y lo invierte para evitar detecciones · PSObfuscation: Convierte contenido a bytes y codifica con Gzip · All: Ejecuta secuencialmente todas las técnicas descritas anteriormente
Advertencia: El script de salida multiplicará exponencialmente el tamaño original Chameleon y PyFuscation necesitan Python3 para funcionar correctamente
https://darkbyte.net/ofuscando-scripts-de-powershell-con-invoke-stealth
Este proyecto está licenciado bajo la licencia GNU 3.0 - consulta el archivo LICENSE para más detalles.
Este script ha sido creado y diseñado desde cero por Joel Gámez Molina // @JoelGMSec
Algunos módulos utilizan código, scripts y herramientas de terceros, en particular:
• Chameleon de klezVirus --> https://github.com/klezVirus/chameleon
• BetterXencrypt de GetRektBoy724 --> https://github.com/GetRektBoy724/BetterXencrypt
• PyFuscation de CBHue --> https://github.com/CBHue/PyFuscation
• PSObfuscation de gh0x0st --> https://github.com/gh0x0st/Invoke-PSObfuscation
Este software no ofrece ningún tipo de garantía. Su uso es exclusivo para entornos educativos y/o auditorías de seguridad con el consentimiento correspondiente del cliente. No soy responsable de su mal uso ni de cualquier posible daño causado por el mismo.
Para más información, puedes encontrarme en Twitter como @JoelGMSec y en mi blog darkbyte.net.
Puedes apoyar mi trabajo comprándome un café: