Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
InvisibilityCloak — Kit d'obfuscation de preuve de concept pour outils de post-exploitation en C# | Kitploit
Outils/GitHubGitHub/h4wkst3r/invisibilitycloak
Post-ExploitationRed TeamingDéveloppement de Charges Utiles
GitHubh4wkst3r/invisibilitycloak

InvisibilityCloak

Kit d'obfuscation de preuve de concept pour outils de post-exploitation en C#

Voir le dépôt
632190il y a 4 ansVérifié par Kitploit

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager

InvisibilityCloak

Boîte à outils d'obfuscation de preuve de concept pour les outils de post-exploitation en C#. Elle effectuera les actions suivantes pour un projet Visual Studio C#.

  • Modifier le nom de l'outil
  • Modifier le GUID du projet
  • Obfusquer les chaînes compatibles dans les fichiers de code source en fonction de la méthode d'obfuscation saisie par l'utilisateur
  • Supprime les commentaires sur une ligne (ex: // ceci est un commentaire)
  • Supprime l'option de chaîne PDB pour l'assembly .NET de version release compilée

Article de blog: https://securityintelligence.com/posts/invisibility-cloak-obfuscate-c-tools-evade-signature-based-detection

Chaînes candidates non obfusquées

Les chaînes candidates suivantes ne sont pas incluses dans l'obfuscation

  • Chaînes de moins de 3 caractères
  • Chaînes utilisant l'interpolation de chaîne (par ex., Console.WriteLine($"Hello, {name}! Today is {date.DayOfWeek}, it's {date:HH:mm} now.");)
  • Les instructions case car elles doivent être des valeurs statiques
  • Les variables const car elles doivent être des valeurs statiques
  • Les chaînes dans les signatures de méthode car elles doivent être des valeurs statiques
  • Ligne avec " => " utilisée dans une instruction switch et doit être une valeur statique.
  • is dans une instruction if lors d'une comparaison car les valeurs comparées doivent être statiques
  • Chaînes à l'intérieur d'expressions régulières
  • Les chaînes override car elles doivent être des valeurs statiques
  • Les cas particuliers aléatoires suivants pour les chaînes, car ils ont causé des problèmes lors du codage/décodage
    • Chaîne commençant ou se terminant par '
    • ""' dans la ligne
    • + @" dans la ligne
    • """ dans la ligne
    • "" dans la ligne
    • Encoding.Unicode.GetString dans la ligne
    • Encoding.Unicode.GetBytes dans la ligne
    • Encoding.ASCII.GetBytes dans la ligne
    • Ligne commençant par " et se terminant par ")]. Cela est généralement utilisé pour les commutateurs de ligne de commande et doit être une valeur statique.

Informations de prise en charge

  • Windows
  • Linux (systèmes basés sur Debian)
  • Python3

Arguments/Options

  • -d, --directory - répertoire où se trouve votre projet Visual Studio
  • -m, --method - méthode d'obfuscation (base64, rot13, reverse)
  • -n, --name - nom de votre nouvel outil
  • -h, --help - menu d'aide
  • --version - obtenir la version de l'outil

Utilisation/Exemples

Exécuter InvisibilityCloak avec obfuscation des chaînes

Obfuscation de chaîne Base64

python InvisibilityCloak.py -d /path/to/project -n "TotallyLegitTool" -m base64

python InvisibilityCloak.py -d C:\path\to\project -n "TotallyLegitTool" -m base64

Obfuscation de chaîne ROT13

python InvisibilityCloak.py -d /path/to/project -n "TotallyLegitTool" -m rot13

python InvisibilityCloak.py -d C:\path\to\project -n "TotallyLegitTool" -m rot13

Obfuscation de chaîne inversée

python InvisibilityCloak.py -d /path/to/project -n "TotallyLegitTool" -m reverse

python InvisibilityCloak.py -d C:\path\to\project -n "TotallyLegitTool" -m reverse

Exécuter InvisibilityCloak sans obfuscation des chaînes

python InvisibilityCloak.py -d /path/to/project -n "TotallyLegitTool"

python InvisibilityCloak.py -d C:\path\to\project -n "TotallyLegitTool"

Statistiques de détection basée sur les signatures

Le tableau ci-dessous montre les statistiques de détection basée sur les signatures entre les versions non obfusquées et obfusquées de 20 outils C# publics populaires avec InvisibilityCloak.

Ceci est spécifiquement pour Microsoft Defender (version gratuite), et exact au 14 avril 2022.

Statistiques de taille des outils C# compilés

Le tableau ci-dessous montre les tailles de fichiers de 20 outils C# publics populaires entre les versions non obfusquées et obfusquées en utilisant InvisibilityCloak avec diverses méthodes d'obfuscation de chaînes.

Feuille de route

  • Ajouter la prise en charge des projets C# avec plusieurs fichiers de projet C# (solutions multi-projets)
  • Prise en charge de l'obfuscation des noms de variables et des noms de méthodes
Télécharger l’outil
OutilLienNon obfusquéObfusqué avec InvisibilityCloak
ADCSPwnhttps://github.com/bats3c/ADCSPwnDétectéNon détecté
Certifyhttps://github.com/GhostPack/CertifyDétectéNon détecté
Farmerhttps://github.com/mdsecactivebreach/FarmerDétectéNon détecté
Rubeushttps://github.com/GhostPack/RubeusDétectéDétecté
SafetyKatzhttps://github.com/GhostPack/SafetyKatzDétectéNon détecté
Seatbelthttps://github.com/GhostPack/SeatbeltDétectéNon détecté
SharpClipboardhttps://github.com/slyd0g/SharpClipboardNon détectéNon détecté
SharPersisthttps://github.com/mandiant/SharPersistNon détectéNon détecté
SharpExechttps://github.com/anthemtotheego/SharpExecDétectéNon détecté
SharpGPOAbusehttps://github.com/FSecureLABS/SharpGPOAbuseDétectéNon détecté
SharpHoundhttps://github.com/BloodHoundAD/SharpHoundNon détectéNon détecté
SharpLoggerhttps://github.com/djhohnstein/SharpLoggerDétectéNon détecté
SharpMovehttps://github.com/0xthirteen/SharpMoveDétectéNon détecté
SharpRDPhttps://github.com/0xthirteen/SharpRDPDétectéDétecté
SharpSecDumphttps://github.com/G0ldenGunSec/SharpSecDumpDétectéNon détecté
SharpUphttps://github.com/GhostPack/SharpUpNon détectéNon détecté
SharpViewhttps://github.com/tevora-threat/SharpViewDétectéNon détecté
SharpWMIhttps://github.com/GhostPack/SharpWMIDétectéNon détecté
StandInhttps://github.com/xforcered/StandInDétectéNon détecté
WireTaphttps://github.com/djhohnstein/WireTapNon détectéNon détecté
OutilLienNon obfusquéObfuscation de chaîne ROT13Obfuscation de chaîne Base64Obfuscation de chaîne inversée
ADCSPwnhttps://github.com/bats3c/ADCSPwn718 KB728 KB722 KB720 KB
Certifyhttps://github.com/GhostPack/Certify170 KB198 KB178 KB176 KB
Farmerhttps://github.com/mdsecactivebreach/Farmer13 KB17 KB14 KB13 KB
Rubeushttps://github.com/GhostPack/Rubeus418 KB605 KB469 KB455 KB
SafetyKatzhttps://github.com/GhostPack/SafetyKatz714 KB716 KB948 KB715 KB
Seatbelthttps://github.com/GhostPack/Seatbelt543 KB904 KB618 KB608 KB
SharpClipboardhttps://github.com/slyd0g/SharpClipboard6 KB7 KB6 KB7 KB
SharPersisthttps://github.com/mandiant/SharPersist231 KB281 KB248 KB243 KB
SharpExechttps://github.com/anthemtotheego/SharpExec30 KB57 KB36 KB34 KB
SharpGPOAbusehttps://github.com/FSecureLABS/SharpGPOAbuse70 KB98 KB79 KB76 KB
SharpHoundhttps://github.com/BloodHoundAD/SharpHound880 KB897 KB885 KB883 KB
SharpLoggerhttps://github.com/djhohnstein/SharpLogger19 KB27 KB20 KB20 KB
SharpMovehttps://github.com/0xthirteen/SharpMove41 KB100 KB50 KB49 KB
SharpRDPhttps://github.com/0xthirteen/SharpRDP322 KB346 KB326 KB325 KB
SharpSecDumphttps://github.com/G0ldenGunSec/SharpSecDump42 KB55 KB45 KB43 KB
SharpUphttps://github.com/GhostPack/SharpUp35 KB50 KB40 KB39 KB
SharpViewhttps://github.com/tevora-threat/SharpView719 KB856 KB742 KB738 KB
SharpWMIhttps://github.com/GhostPack/SharpWMI53 KB92 KB62 KB61 KB
StandInhttps://github.com/xforcered/StandIn162 KB294 KB197 KB189 KB
WireTaphttps://github.com/djhohnstein/WireTap282 KB292 KB285 KB284 KB