klezVirus / inceptor

Template-Driven AV/EDR Evasion Framework
Other
1.6k stars 263 forks source link

ModuleNotFoundError: No module named 'obfuscators.powershell.chameleon.chameleon' #4

Closed fuzz-security closed 3 years ago

fuzz-security commented 3 years ago

PS C:\Users\test\Desktop\inceptor\inceptor> python3 .\inceptor.py Traceback (most recent call last): File "C:\Users\test\Desktop\inceptor\inceptor\inceptor.py", line 12, in from generators.PowerShellArtifactGenerator import PowerShellArtifactGenerator File "C:\Users\test\Desktop\inceptor\inceptor\generators\PowerShellArtifactGenerator.py", line 9, in from obfuscators.powershell.Karmaleon import Karmaleon File "C:\Users\test\Desktop\inceptor\inceptor\obfuscators\powershell\Karmaleon.py", line 6, in from obfuscators.powershell.chameleon.chameleon import Chameleon ModuleNotFoundError: No module named 'obfuscators.powershell.chameleon.chameleon'

klezVirus commented 3 years ago

Hi fuzz-security, I guess you forgot the --recursive flag.

Whoever reading this message: check the install section.

git clone --recursive https://github.com/klezVirus/inceptor

If you haven't clone with recursive, you can still fix it, with this:

cd inceptor\inceptor\obfuscator\powershell
git clone https://github.com/klezVirus/chameleon

After that, you will probably need to fix the .gitmodule file as windows usually use the "\" path divider instead of "/".