tiagorlampert / CHAOS

:fire: CHAOS is a free and open-source Remote Administration Tool that allow generate binaries to control remote operating systems.
MIT License
2.37k stars 524 forks source link

persistence failed #17

Closed Robiii97 closed 3 years ago

Robiii97 commented 7 years ago

Chaos is working great is use it to transfer music and pictures from my nethunter phone to my desktop pc. the only issue iam having is that it keeps saying persistence failed when i try to enable it and it also makes my command terminal all bugged it stops responding to commands and i must reinstall the payload for it to work again. I tried to disable persistence and reenable it but doesnt work

tiagorlampert commented 7 years ago

What is your version of Windows?

Robiii97 commented 7 years ago

I tried it on multiple versions of windows 10 pro,home 64bit

tiagorlampert commented 7 years ago

Try run the executable generated as administrator. Maybe it don't have permissions for do that.

What is the letter of the partition your Window is installed? C?

Robiii97 commented 7 years ago

I aready tried administrator didnt work either. yes it is c:/

tiagorlampert commented 7 years ago

I did the test here, and it's not working on Windows 10. CHAOS uses a method to install on startup that does not require administrative permissions, but it does not work in Windows 10 (i tested on Windows 7 and it's working). The problem is that depending on how I change it to install it in initialization, it will be required to run always with administrative permissions.

The command to install at startup is as follows: _REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /V "Microsoft Corporation" /t REG_SZ /F /D %SYSTEMDRIVE%\ProgramData\RANDOM\payload.exe_

I'll be seeing the best way to do this, so I'm going to update the code.

Thanks for feedback!

tiagorlampert commented 7 years ago

While I do not update the code, you can copy the executable to the following path:

%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

Robiii97 commented 7 years ago

Thanks alot. This project is awesome :)

Robiii97 commented 7 years ago

Thank you. will it take a while for the code to get updated? and also what are your plans for the future? with this project? Will you add more features? Curious =)

tiagorlampert commented 7 years ago

About more functionalities: https://github.com/tiagorlampert/CHAOS/issues/13

Now i'm pretty busy with academic project. But i'll update you as soon as i can.

tiagorlampert commented 7 years ago

Hello, i did the test again here on my Windows 10, and it's working. Do you could test again please?

Check if you don't any antivirus on your system then can block the payload. Ps: i have disabled Windows Defender on my system.

Robiii97 commented 7 years ago

i got to test it on 1 machine and it worked. also can you enable dns usage?? when i try it now it says invalid lhost it only accepts ip's

tiagorlampert commented 7 years ago

The way CHAOS works, i can't implement it. You can only use IP address.

NonElite commented 7 years ago

just edit the code instead of limiting to 15 characters make it like 50 and then you can use a hostname dns instead of an ip

tiagorlampert commented 7 years ago

Hello, I was seeing the documentation and it seems that passing the hostname in the IP place is to work, like you said. But I couldn't test it. Did you get a test to see if it works?

devocator commented 5 years ago

just edit the code instead of limiting to 15 characters make it like 50 and then you can use a hostname dns instead of an ip

I aggree with this idea. Please try to do it when you are available. Thx in advance.

devocator commented 5 years ago

Hello, I was seeing the documentation and it seems that passing the hostname in the IP place is to work, like you said. But I couldn't test it. Did you get a test to see if it works?

I have tested it and I can say it works.

tchach0 commented 5 years ago

[?] The information above is correct? (y/n): y

[*] Compiling... [!] File not found! There's a problem with compiling.

[i] Press [ENTER] key to continue...

tiagorlampert commented 5 years ago

Did you get all dependencies? Make sure to follow all steps. https://github.com/tiagorlampert/CHAOS#how-to-install

tchach0 commented 5 years ago

i try all step by step but when i try to make generate ................ -- windows

?] The information above is correct? (y/n): y

[*] Compiling... [!] File not found! There's a problem with compiling.

[i] Press [ENTER] key to continue...

tchach0 commented 5 years ago

go get golang.org/x/sys/windows this cmd not run

tiagorlampert commented 5 years ago

Could you send a screenshot? Do you have installed all the dependencies described in README?

tiagorlampert commented 3 years ago

I'm closing this old issue. If the problem persist, please open a new issue.