Learn how to convert your Python code to run as an EXE on Windows 11. The code will run on Windows without Python installed. So, you think you need Python installed to run Python code on Windows 11? Well, think again. You also think that Windows 11 real time protection will protect you against malicious code? Well think again! Warning: Don't download software that you don't trust. Only download software from reputable software developers and those you trust. // MENU // 0:00 ▶ Introduction: Warning 2:03 ▶ Windows 11 setup: Python not installed, Windows version, anti-virus 3:12 ▶ Demo of python code running on Windows 11: 5:42 ▶ Demo of WiFi code 6:47 ▶ Nuitka installation steps 10:27 ▶ Compile Python code 13:52 ▶ Run compiled code on Windows 11 14:25 ▶ Be aware of Python requirements that you need to install // SCRIPTS // Python key: davidbombal.wiki/pythonkeys Python WiFi: davidbombal.wiki/pythonwifi // PDF Instructions// Download here: davidbombal.wiki/pythoncompile // SOCIAL // Discord: discord.com/invite/usKSyzb Twitter: twitter.com/davidbombal Instagram: instagram.com/davidbombal LinkedIn: www.linkedin.com/in/davidbombal Facebook: facebook.com/davidbombal.co TikTok: tiktok.com/@davidbombal KZbin: kzbin.info // SPONSORS // Interested in sponsoring my videos? Reach out to my team here: sponsors@davidbombal.com Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place on any websites. Please note that links listed may be affiliate links and provide me with a small percentage/kickback should you use them to purchase any of the items listed or recommended. Thank you for supporting me and this channel!
@rangersmyth3 жыл бұрын
Thank you David for this big eye-opener! Stay safe and keep up the great work.
@jk_tecs3 жыл бұрын
You great Sir, I really wanna know how I can access and operate my laptop virtually like you do using your MAC ((disclaimer:: I don't have any hac5 keylogger))
@davidbombal3 жыл бұрын
I'm using VNC. I demonstrate how in videos on my channel like this: kzbin.info/www/bejne/o3rHd2qBaLOgotk
@jk_tecs3 жыл бұрын
Thanks, Much Just watched it and got what I wanted. Never knew it was so simple!!
@rangersmyth3 жыл бұрын
@@jk_tecs I am trying to get the code to work on linux, but is this code just for windows? As I have a Win10 PC, and did you have to remane the .ps to .wpy? This is actually my first day coding python!
@satyajeetghorpade79753 жыл бұрын
EVERYONE follows "this is only for educational purpose" 🤣🤣
@davidbombal3 жыл бұрын
Yes. Do not get into trouble!
@satyajeetghorpade79753 жыл бұрын
My dignity and my faith in you does not allow me to do malicous works
@TheBenJiles2 жыл бұрын
Great stuff. I also found that hex encoding the python keylogging script first before pasting it into a file circumvents Defender's Real-Time Protection. Then just assign a variable to decode the hex to utf-8 string. Then run exec on the variable. It's simple but runs the malicious python without being caught by Defender.
@laaawwrrryyyyyy Жыл бұрын
care to elaborate? can pm
@vasu5688 Жыл бұрын
I have some doubts can u help me..?
@jaimerosariojusticia3 жыл бұрын
So if you disable Windows Antivirus, you only stop the Windows intrusiveness on your system. That's why you cannot trust your own "system protection features" . Thanks again, David Bombal, for another great content video. Always learning something new.
@alexdonofrio61403 жыл бұрын
THIS
@davidbombal3 жыл бұрын
Windows Real Time protection stops a lot of nonsense. I wouldn't recommend turning that off.
@alexdonofrio61403 жыл бұрын
@@davidbombal it does but when I'm working with stuff I'm aware is for exploits I don't need AV slowing me down, when I download cracked software from TPB I don't need that headache.
@ghostofdre3 жыл бұрын
Also a very good reason to use a seperate 2 factor auth. Even with signed code from a trusted developer we are all 1 malicious supply chain attack away from being compromised.
@sujonalmamun3 жыл бұрын
This is amazing and dangerous at the same time. Thank you so much sir.
@davidbombal3 жыл бұрын
Thank you!
@jcramond733 жыл бұрын
Many thanks David for the very informative episode, it is always appreciated. And G'day from Australia mate :)
@هردمبیل-ت2ش3 жыл бұрын
Thank you David, I am going to test it in my virtual environment and inform the family and friends.
@barkerdillinger4927 Жыл бұрын
Great video, building compiled python code was almost more interesting than the code itself. I knew it was possible to compile python code but never had time to research the process. That was a great introduction to a whole new functionality for my python code.
@moosematrix2 жыл бұрын
David this video was quality and I enjoy this type of series you’ve been doing the last few months!!
@hotdailymemes51292 жыл бұрын
Thanks for the lesson. Just for educational purposes, can you automate the python keylogger to run on one computer and send the keylogs to another computer. In a way such that you can handle security issues within your network. You can see which specific computer in your network was used to do something. I hope you understand what I'm trying to say
@ImagineIfNot3 жыл бұрын
Back at it again yayyyy! Thanks
@davidbombal3 жыл бұрын
Hope you enjoyed the video Vlad
@3rawkz3 жыл бұрын
The age of the electron and switch... I really hope that the skiddies of today adopt the white hat mind frame, content such as yours I believe goes a long way to that end.
@davidbombal3 жыл бұрын
Thank you. I hope people will learn to protect companies - as we need that.
@fuhkit74633 жыл бұрын
SKS, OCS, ROM
@juliusrowe93743 жыл бұрын
Very informative and great content David! I appreciate it!
@davidbombal3 жыл бұрын
Glad you enjoyed it!
@tianot36363 жыл бұрын
Can't wait to hear your thoughts about zero day vulnerability log4j
@tpwkpeace50113 жыл бұрын
thank you sir. I was making project on Keyogger and this and your old video helped me a lot.
@davidbombal3 жыл бұрын
Glad it helped!
@cravenmoorehead56573 жыл бұрын
David is the mister Rodgers of InFoSec
@sz30663 жыл бұрын
Its a great video !!! Thanks for spending your precious time making this video for us. There's a question actually, is this similar to pyinstaller ?
@davidbombal3 жыл бұрын
Thank you. I found that Windows removes software created with pyinstaller. So, I found that Nuitka is much better in my tests.
@sz30663 жыл бұрын
@@davidbombal much appreciate 🙏🏻
@nima8483 жыл бұрын
david you are the best i had this compiling problem i couldnt compile my python file (i created a face detector) thank you for the amazing video
@davidbombal3 жыл бұрын
Glad it helped!
@hamza77v3 жыл бұрын
Outstanding. Want more stuff like this
@wally193 жыл бұрын
Hey David! I love your content. In my humble opinion you don't need to repeat things so many times like "I'm running W11" or "AGAIN, do not use this for malicious purposes, the code is for educational purposes only, so don't use it for something malicious" I Know man, you said that like 5 times, go on... not sure if this is bodering only me or not but I wanted to tell you that. Thanks for sharing!
@lancemarchetti86732 жыл бұрын
Repition is important, because some people are hard of hearing...by choice. Hence, repeat...repeat...repeat.
@daniocampo19923 жыл бұрын
Aah I needed this a lot for some scripts! Thank you good sir!
@ashraf_dz47693 жыл бұрын
Thank you so much..You are simply the best!
@davidbombal3 жыл бұрын
Thank you! And you're welcome!
@numberiforgot3 жыл бұрын
Python truly is the infosec ops professional’s best friend. I have yet to find something it can’t do.
@jk_tecs3 жыл бұрын
Here comes my awaited video. I've really been longing to run my first EXE app and this tutorial will come in handy for that. Thanks, much #MyTechnologyTutor
@davidbombal3 жыл бұрын
You're welcome!
@pela29233 жыл бұрын
Was waiting for this video... finally😌🥳
@davidbombal3 жыл бұрын
Hope you enjoy the video!
@swatishaw13513 жыл бұрын
Thank you man i really appreciate you did a thing that most people didnt! thx bro i needed this for longg
@davidbombal3 жыл бұрын
Glad you found the video useful!
@manojkothwal35863 жыл бұрын
This is amazing ,wonderful and dangerous at the same time 😳.
@hel-per83102 жыл бұрын
Hi, very good video! I've a question. I've noticed that the keylogger doesn't log the admin password that is required for installing softwares for example, and that made me feel safe. Now, this is a simple script, so can it be updated to log also these hidden keys or is it not possible? Thanks for answer and i'm sorry for my English that isn't very good 😅
@ed10262 жыл бұрын
By the Python WiFi File i get this error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x81 in position 76: invalid start byte. Can someone help me please.
@999Wayno3 жыл бұрын
Another great video! Can you do one on dns poisoning how it works and how we can protect ourselves from it?
@davidbombal3 жыл бұрын
Great suggestion!
@OurTechPlanet3 жыл бұрын
Congrats on making it to 800K :) Trying to follow in your footsteps 😀
@naufalnoumi85243 жыл бұрын
david, as you mention before, i check the version instalation of nuitka on powershell but nuitka not found and shown this kind of text ( The term 'nuitka' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. ) how to solve this problem? thankyou for your contribution for community
@zxletul2 жыл бұрын
i did same all step by step and still got that error that Nuitka not found.... dang.
@xavierdubruille3 жыл бұрын
It's also easy (using a tool) to append your malicious executable to an other legit one . So you may think you're launching a real/known program that is working exactly as expected but ... will also execute a malicious code that no one will ever suspect 😱
@davidbombal3 жыл бұрын
Agreed.
@friedmule54033 жыл бұрын
The worst about that type of code is that extremely many commercial programs, do use keylogger-code to trigger events and so on, so it is not straight forward to detect a keylogger and then trigger. Even windows itself is using keyloggers to functioning. You do almost have to detect intend of the program:-)
@ra.bandar26003 жыл бұрын
This is a spectacular video, I do appreciate your great advice, you are teaching us something we don't know, you are right we must be aware of where we put our steps on.
@davidbombal2 жыл бұрын
Glad it was helpful!
@arjocelyntanjulio21243 жыл бұрын
hey david im not that expert in to this even knew very little but i do love ur videos..
@opekolawole94973 жыл бұрын
This is so much information ,thank you very much for this...
@thevault15753 жыл бұрын
hey why is FUD on windows 11 but not windows 10? what did they change about windows defender?
@guilherme50943 жыл бұрын
That was awesome, thanks David.
@tigreonice23393 жыл бұрын
@David Bombal Make a video how to protect your cellphone and notebook in case someone stole them. And what to do next if it happens Greetings
@polymorphism19663 жыл бұрын
Hi David is your Mac using the latest M1 processor?
@tarrylim7783 жыл бұрын
Wow I like this video, david is there any method download key logger in victim machine but key logger txt store back in attack machine just like a reverse shell reverse back to attack machine?
@_v0id3093 жыл бұрын
im having my exams going on nd i have 3 main exams continues your blessings will motivate me a lot sir ☺️🙃🙏
@davidbombal3 жыл бұрын
All the best
@boussaada1972 Жыл бұрын
نتمنى لك مزيد من التميز وشكرا على النصيحة (We wish you more excellence and thank you for the advice)
@vyasG3 жыл бұрын
Thank you for this great video. Highly valuable information. Really appreciate your efforts in creating a detailed document on top of the video and sharing it with us! Question: If this code was compiled for Linux distros/mac OS and run on them, would it be any secure than windows?
@davidbombal3 жыл бұрын
Thank you. Glad it was helpful Vyas. I would have to create specific code for Linux and macOS to test. This code would not work on either of those platforms.
@RainbowSheep_was_taken3 жыл бұрын
i literally have exams and i havent studied, just watching youtube. probably gonna regret this
@davidbombal3 жыл бұрын
Go and study!
@RainbowSheep_was_taken3 жыл бұрын
@@davidbombal i just started, thanks for the motivation
@killerx89023 жыл бұрын
Nothing to say. Great as always
@davidbombal3 жыл бұрын
Thank you so much 😀
@_v0id3093 жыл бұрын
hear we go again with a amazing video ❤️
@educastellini3 жыл бұрын
-Great content Professor David Bombal...!!! -People always ask me what is the best language to learn and I always return the question, "Best language for what...?". -C and C++ are the languages where OSs are usually written and even today code for devices such as IOTs is written in C (devices how run without a OS), as is the case with Arduino, and others. besides many backends and made in C or java. -Python is a scripting language and in the 90s when I learned to program I learned Assembly (Low level machine language) and C++ (which is a high level language), but scripting languages at that time when they emerged were called High High Level why they needed an OS running for them to run on top. -The teacher example uses a module that basically downloads the GCC C compiler and compiles it into the stand alone executable using the Python as source. - Interesting solution this module, the new Raspberry Pi, the Nano if I'm not mistaken, can compile not only from C but from a Python variant for micro devices. -Thank you very much for the knowledge...!!!
@chiranjeevinaidu36603 жыл бұрын
Really love your work keep it up sir 😉, ignore the haters and keep going.
@davidbombal3 жыл бұрын
Thank you so much 😀
@erhanertem1962 жыл бұрын
Did u try Kaspersky in your case. How did it respond as opposed to defender ?
@itamarshiponi87582 жыл бұрын
Because of people like you my python game is marked as a virus 😢
@AlphaCfter3 жыл бұрын
David sir.. A question: What if someone develop the same code for a linux distro like the .Deb or .rpm and if I try to execute it, will my distro stop it ? What's your views on it ? Btw Much ❤️ David sir.
@ravineemkarolijoshinainital3 жыл бұрын
No it won't.
@rx34432 жыл бұрын
The keylogger is detected by avast or windows defender david
@deadshot49673 жыл бұрын
Very knowledgeable video 📹 👌 .. I have request to tell something about CYBER SECURITY ....
@idhantsood11053 жыл бұрын
Great video, it's amazing that you are also up to date with the topics of your videos, that is why you made windows 11 as it is new and there are not many courses... Just amazing
@Nobody-tg2xr3 жыл бұрын
I once wrote a french input method, just used the same function as you are using right now. Same tech has different use.
@davidbombal3 жыл бұрын
Agreed. Not all code is malicious. Just depends how it is used.
@coding4well3 жыл бұрын
few modules that come with python the antivirus will detect as malware, that includes shutil, ctypes, sys, os, glob...of course is just happen when you convert it to .exe and as single file....David, do you use Pyinstaller?
@davidbombal3 жыл бұрын
In my tests, Windows sees code created with Pyinstaller as malware and removes it. This is why Nuitka was much better in my tests.
@coding4well3 жыл бұрын
@@davidbombal thanks :)
@CARLOSPH363 жыл бұрын
Excelente, contenido de gran calidad. Muchas gracias David.
@davidbombal3 жыл бұрын
Thank you very much!
@Vortex.vx-c5d75 ай бұрын
Keylogger code at 3:22
@Ortiz11303 жыл бұрын
Too crazy. Thank you for this
@davidbombal3 жыл бұрын
You're welcome!
@PlatinumVoid3 жыл бұрын
Its not necessarily a malware what did you just code... Because the output is stored locally to your computer, otherwise all of our coded programs would get deleted😅. Try exfiltrating the output from the same binary. For instance create a reverse shell or send it via post request to a server. It might pass in case of post request but thats an issue to demonstrate !!
@tojabdhei48813 жыл бұрын
Thanks for this content ❤️
@silvansommer46893 жыл бұрын
Do someone now how I can convert python file into macOS program but whitout py2app?
@MultiTadele3 жыл бұрын
Excellent presentation as usual. Thanks for the warning also. Could you please help me with this issue on windows "Your device is missing important security and quality fixes." ? I have tried all the means out there but couldn't get rid off it.
@lexsaintdry3 жыл бұрын
Terima Kasih Pak David, semoga ilmu anda dapat berguna untuk kami semuanya. 😇🙏🏼
@davidbombal3 жыл бұрын
Thank you
@wopmf4345FxFDxdGaa203 жыл бұрын
The problem is that if everything is made completely idiot proof, same time you make it very inefficient. Like the ability to get global keyevents is a useful feature for power tools that work when you give a key shortcut.
@inuinu9023 жыл бұрын
you can set defender to ignore folders from scanning is way better than disable the AV
@davidbombal3 жыл бұрын
I only disabled the AV so I could compile the code.
@khanalimphdpe1722 жыл бұрын
Good video. I have a different question. I created exe file using PyInstaller, it works fine in that computer. If I move that file to other computer regardless of windows or Mac, the exe file is considered as security thread. What I can do to resolve this issue.
@Jinkle3 жыл бұрын
Thanks for the information bro.
@ashurdawood61913 жыл бұрын
Thank you very much you might have saved life's with this vid
@getalife66543 жыл бұрын
Thank you for posting this yt video 😁
@cyberus15 Жыл бұрын
Not saying that it's hard to evade Windows Defender, but why should it flag it in the first place if your scripts aren't sending the data outside? it's a local keylogger and a local wifi passwords revealer.
@omkar5223 жыл бұрын
Videos great btw I’m just curious about that folder named “zz stuff” which was in downloads folder what’s in that i maybe wrong but zz sound kinky tbh
@prajwalsananse68193 жыл бұрын
Which best antivirus software at an affordable price for system
@sosekhamed57023 жыл бұрын
I love this 👍🏼 thank you
@davidbombal3 жыл бұрын
You're welcome!
@ali0ghanem3 жыл бұрын
thx Mr.David plz more and more and we need about android and ios thx again you are the best
@davidbombal3 жыл бұрын
You're welcome!
@prakhars9623 жыл бұрын
Just a little query. Do you like windows 11? cuz I still use windows 10.
@danieldolen19453 жыл бұрын
Can you do a video on wifiphisher? I found that wifiphisher awhile back and worked really good.
@KulwantSingh-xr4si3 жыл бұрын
Why jump between Powershell and CMD? Don't the perform the same task?
@everetteberhardt56293 жыл бұрын
damn we love you David, Keep this stuff up bud gooddddd warning
@davidbombal3 жыл бұрын
Thank you!
@christopherwilson67243 жыл бұрын
Where do your ideas come from? You hear about it or just wonder what would happen if I compiled a keylogger?
@DCR6003 жыл бұрын
The term nuitka is not recognized as the name of a cmdlet, function scri.....
@naufalnoumi85243 жыл бұрын
me too, idk how to solve this problem....
@ujjwalsingh51883 жыл бұрын
I have a question : If any software started it should have access to our keyboard for input and it should also able to store that for further use , but is it possible to send that information to someone else's pc without caught by antivirus ? SORRY FOR BAD ENGLISH 😅
@sufianiskandar35863 жыл бұрын
how does the keylogger work remotely if we want to use it practically though?
@Alain9-12 жыл бұрын
do you have courses in udemy or coursera ?
@tyrichamshon2000 Жыл бұрын
i was trying to compile a simple profram and the video starts like this😂😂
@andreyshishkin49583 жыл бұрын
So, all files from the Internet must be run and checked in a virtual machine and only there, not in host OS.
@toromac97863 жыл бұрын
David: Don't download software David downloads software As I was thinking this, I noted that there were MD5 values to allow verification of the download. Maybe a quick video on what this MD5 value is is and how to use would be a good idea?
@davidbombal3 жыл бұрын
Don’t download random stuff 😀
@ihyth43253 жыл бұрын
Sir can you please explain about log4j vulnerability
@davidbombal2 жыл бұрын
See my latest video. I show log4j with minecraft.
@khalilsworld82662 жыл бұрын
can the key logger that actually receives data from the target be only ran on Linux? Or can it be ran on windows as well
@sergiomancia9479 Жыл бұрын
I cannot get the version of nuitka it shows this: nuitka : The term 'nuitka' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + nuitka --version + ~~~~~~ + CategoryInfo : ObjectNotFound: (nuitka:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@tigreonice23392 жыл бұрын
If you run the exe file. What you can do to not have the keylogger anymore? Or works only while exe file is open?
@sledgeHammerRulez3 жыл бұрын
I did the same test (compiled python code) but it was a (lets encrypt) certificate updating program (as an extension to a monitor software) and windows defender suddenly deleted(!) my program. I had to white list is to keep it usable.
@originals27473 жыл бұрын
Keep up the good work : ) love your videos
@davidbombal3 жыл бұрын
Glad you like them!
@mahirfr3 жыл бұрын
We are getting a lot educated from tech channels than school
@davidbombal3 жыл бұрын
Glad to hear you are finding the content useful 😄
@mahirfr3 жыл бұрын
@@davidbombal You're both humble and great teacher.
@Muziek374143 жыл бұрын
Does this method also work for powershell 2 EXE? Is everything compiled in a EXE just gonna run?
@XiangPlays2 жыл бұрын
Hi David! I have a problem with installing Nuitka
@justinreyes43992 жыл бұрын
Does it change the file signature every time you compile the same script?