Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 2.14 KB

python_code_examples.md

File metadata and controls

25 lines (17 loc) · 2.14 KB

Examples Python target files

Basic RAT example project

  • Basic obfuscation

  • Defined length of random strings generated to 32 chars - replace all names of variables/classes/functions

    • python3 intensio_obfuscator.py -i obfuscation_examples/python/basic/input/basicRAT-example -o obfuscation_examples/python/basic/output/basicRAT-example -mlen lower -ind 4 -rts --excludewords exclude_examples/exclude_words_by_user.txt
  • Intermediate obfuscation

  • Defined length of random strings generated to 64 chars - replace all names of variables/classes/functions - padding random python scripts - replace all files names

    • python3 intensio_obfuscator.py -i obfuscation_examples/python/basic/input/basicRAT-example -o obfuscation_examples/python/basic/output/basicRAT-example -mlen medium -ind 4 -rts --excludewords exclude_examples/exclude_words_by_user.txt -ps -rfn
  • Advanced obfuscation

  • Defined length of random strings generated to 128 chars - replace all names of variables/classes/functions - padding random python scripts - replace all files names - replace all chars by their hexadecimal value

    • python3 intensio_obfuscator.py -i obfuscation_examples/python/basic/input/basicRAT-example -o obfuscation_examples/python/basic/output/basicRAT-example -mlen high -ind 4 -rts --excludewords exclude_examples/exclude_words_by_user.txt -ps -rfn -rth