- This topic has 24 replies, 2 voices, and was last updated 4 years, 3 months ago by Diego Pérez.
- AuthorPosts
- August 9, 2020 at 6:34 pm #43910sultandParticipant
Dear Diego,
Thank you for your reply, I look forward to hear from you.
SultanD
August 11, 2020 at 5:30 am #43989Diego PérezModeratorHi Sultand!
I tested your code and work as expected! The persistent function you wrote worked fine, I just have to disable permanently defender and it worked. I didn’t change anything in it but the credentials for the email, by the way remove the file that has your email credentials from dropbox, we never know.
I compile it from kali without issues. The command used for permanently disable defender is: (You have to open a command prompt as Administrator)
REG ADD “HKLM\SOFTWARE\Policies\Microsoft\Windows Defender” /v DisableAntiSpyware /t REG_DWORD /d 1 /f
You can reboot from the windows menu, just click the windows icon in bottom left corner and select restart, then this time defender will be disabled by default.
Hope it helps!
DiegoAugust 13, 2020 at 10:09 pm #44131sultandParticipantDear Diego,
I followed your instruction and tried to permanently disable defender and I got error message, I then use windows security to disable the real-time protection and try to run the keylogger and I am still get a fatal error detected ‘failed to execute script zlogger’
Can you make a short video showing me how you are able to make the keylogger persistent, it will really help me because this is the most important thing for me in this course.
Once again thank you for your time and efforts.
Sultan.
August 14, 2020 at 2:57 am #44134Diego PérezModeratorHi!
As mentioned before I dind’t changed anything in your code, it actually works. I just compiled it in kali. Which commands are you using for compiling it?
I think the error is there.Let me know.
DiegoAugust 14, 2020 at 10:25 pm #44188sultandParticipantAugust 15, 2020 at 7:12 am #44195Diego PérezModeratorHi!
Which file is zlogger.py? Is it the one calling the class? Because the ones you shared had a different name so don’t exactly know.Let me know.
DiegoAugust 15, 2020 at 8:22 am #44199sultandParticipantHi Diego,
Yes the zlogger.py is the one calling the class.
Can you show me how you complied it and it worked for you.
Thank you
Sultand
August 16, 2020 at 3:21 am #44217Diego PérezModeratorHi!
Yeah, the files you shared were labeled Keylogger_1.py, which has the class, and Keylogger_2.py which is the one who call the class.
So I put them in the same directory, change the call inside Keylogger_2.py to call the proper Keylogger_1.py class, then enter my email credentials in the script and finally run the command:wine /root/.wine/drive_c/Python27/Scripts/pyinstaller.exe Keylogger_2.py –onefile –noconsole
Then I sent the executable inside the dist directory and it worked.
Hope it helps!
DiegoAugust 16, 2020 at 11:01 pm #44270sultandParticipantHi Diego,
The files i shared with you is labeled keylogger.py which has the class and zlogger.py is the one that calls the class. For me it also in the same directory but giving me fatal error.
My problem is only when i want to make it persistent because before then, it worked fine.
Please can you make a quick short video showing how you made yours persistent so that I can follow your steps.
Thank you.
Sultand
August 17, 2020 at 3:23 am #44281Diego PérezModeratorHi!
As mentioned I only used your code, compiled it in kali and ran it in windows. There’s no trick or anything extra. Just disable defender before running it and make shure your windows machine has internet access.
Maybe try with this article to permanently disable defender:
https://www.windowscentral.com/how-permanently-disable-windows-defender-windows-10Hope it helps!
Diego - AuthorPosts
- You must be logged in to reply to this topic.