Warning! Python Remote Keylogger (this is really too easy!)

Sdílet
Vložit
  • čas přidán 8. 07. 2024
  • Create your own virtual machine on Linode with a 60-day $100 credit: davidbombal.wiki/linode
    If that link doesn't work for you, try this link: www.linode.com/lp/youtube-vie...
    Please note: Credits expire in 60 days. Big thanks to Linode for sponsoring this video!
    I wrote a Python program that saves keystrokes to a cloud server. I compiled the script to run on a Windows 11 computer with anti-virus enabled. May this be a warning to both you and your family. Don't download software that you don't trust. Only download software from reputable software developers and those you trust.
    Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place.
    // MENU //
    00:00 - Be careful what you download
    00:07 - Intro
    00:16 - How to capture keystrokes with Python
    00:41 - Keylogger demo
    03:30 - How to setup the keylogger
    10:34 - Conclusion
    // Code //
    Keylogger: github.com/davidbombal/python...
    Server: github.com/davidbombal/expres...
    // Video mentioned //
    Python keylogger bypasses Windows 11 Defender: • Python keylogger bypas...
    // SOCIAL //
    Discord: / discord
    Twitter: / davidbombal
    Instagram: / davidbombal
    LinkedIn: / davidbombal
    Facebook: / davidbombal.co
    TikTok: / davidbombal
    CZcams: / davidbombal
    // SPONSORS //
    Interested in sponsoring my videos? Reach out to my team here: sponsors@davidbombal.com
    python
    keylogger
    python keylogger
    windows 11
    windows 11 keylogger
    pyinstaller
    py to exe
    py exe
    python py to exe
    python exe
    compile python
    python compile
    python exe
    python convert to exe
    python convert py to exe
    python py exe
    python code
    windows
    windows 10
    anti virus
    real time protection
    windows anti virus
    windows real time protection
    windows 11 protection
    windows 11 python
    python compile
    compile python code
    compile python
    python windows
    windows python
    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!
    #python #keylogger #wifi
  • Věda a technologie

Komentáře • 412

  • @juliusrowe9374
    @juliusrowe9374 Před rokem +6

    Great tutorial David! Please keep them coming!

  • @l3chevalier
    @l3chevalier Před rokem

    Awesome video, thank you David 😊! Those PoCs are really good for us to build countermeasures to that kind of stuff. I got curious about python compilation actually, I've did some Python install before but never compiled it as a binary, will give it a try later.

  • @davidbombal
    @davidbombal  Před rokem +9

    Create your own virtual machine on Linode with a 60-day $100 credit: davidbombal.wiki/linode
    If that link doesn't work for you, try this link: www.linode.com/lp/youtube-viewers/?ifso=davidbombal
    Please note: Credits expire in 60 days. Big thanks to Linode for sponsoring this video!
    I wrote a Python program that saves keystrokes to a cloud server. I compiled the script to run on a Windows 11 computer with anti-virus enabled. May this be a warning to both you and your family. Don't download software that you don't trust. Only download software from reputable software developers and those you trust.
    Disclaimer: This video is for educational purposes only. I own all equipment used for this demonstration. No actual attack took place.
    // MENU //
    00:00 - Be careful what you download
    00:07 - Intro
    00:16 - How to capture keystrokes with Python
    00:41 - Keylogger demo
    03:30 - How to setup the keylogger
    10:34 - Conclusion
    // Code //
    Keylogger: github.com/davidbombal/python-keylogger
    Server: github.com/davidbombal/express-server-basic
    // Video mentioned //
    Python keylogger bypasses Windows 11 Defender: czcams.com/video/qaZ-IbssPDI/video.html
    // 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
    CZcams: czcams.com/users/davidbombal
    // SPONSORS //
    Interested in sponsoring my videos? Reach out to my team here: sponsors@davidbombal.com
    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!

    • @-nary-zy5jt
      @-nary-zy5jt Před rokem

      Dear David, I'm telling your her 🖐🏻😡.

    • @duckyblender
      @duckyblender Před rokem

      i think you forgot to pin this

    • @gtxgamer5025
      @gtxgamer5025 Před 11 měsíci

      But what if I don't have a python download??

  • @theteacheroldschool4013
    @theteacheroldschool4013 Před rokem +4

    thank you very much for this content, i love how you explain so good and simple to knowledge!

  • @duscraftphoto
    @duscraftphoto Před rokem +59

    Always great content! I've done something similar using SMTP to shoot over emails of the logged keystrokes on a timed interval. Love the use of a js server approach! About to jump into the code and have a look around. Keep up the amazing work and for making people aware of the real dangers that hide in plain site.

    • @davidbombal
      @davidbombal  Před rokem +3

      Thank you Dustin!

    • @duscraftphoto
      @duscraftphoto Před rokem

      @@davidbombal of course! Keep up the amazing work and keep inspiring people to learn!

    • @b1gbro398
      @b1gbro398 Před rokem

      Thanks Sir David for the knowledge on how we can secure our devices. Can this also be done on mobile devices?

    • @b1gbro398
      @b1gbro398 Před rokem

      @@wingit7335 how can it be like the deployment on windows, so that it is not easily detect as malicious software or how can it be deploy as an apk file?

    • @chrisremi1903
      @chrisremi1903 Před rokem

      @@davidbombal David great content thanks what about the update for the Kali Linux on Android

  • @djamarildo2010
    @djamarildo2010 Před rokem +4

    Amazing content David I like that you bring us the best reputable personalities in their speciality field so we can learn from the best no need for fancy botcamps😄 ✅🖥️🙏

  • @errollgnargnar9534
    @errollgnargnar9534 Před rokem

    Great video man. Love the server

  • @TheDirge69
    @TheDirge69 Před rokem +5

    Great content again. Reading the comments and your responses is very helpful in educating us, thanks!

  • @stunduptosee1073
    @stunduptosee1073 Před rokem

    Thank you for this informative and educational video!

  • @MrBitviper
    @MrBitviper Před rokem

    thanks for the awesome content David

  • @alezad57121
    @alezad57121 Před rokem

    Thank you for demonstrating this.

  • @kveldulfpride
    @kveldulfpride Před rokem +10

    Hey David, thanks for sharing this! I don’t suppose you could maybe consider a pivot into voice ? Enough material with that to keep you occupied. Could maybe lead back into security related items (wire shark and RTP streams).
    I know network engineers tend to grimace at voice, but steel yourself and think about it ;)

  • @JonnyClark
    @JonnyClark Před rokem

    Awesome video David !

  • @nobodyimportant8695
    @nobodyimportant8695 Před rokem +8

    This keylogger scripting technique through other scripting mediums has been around for years. Dave, you just made it worldwide for Python. Well done.

    • @dmail00
      @dmail00 Před rokem

      FFI and ctypes, it has been available for ages :)

    • @w.8329
      @w.8329 Před 7 měsíci

      @@dmail00it dosent work for me 😕

  • @Mr.Noob_T.I
    @Mr.Noob_T.I Před rokem +2

    one of the few channels that show content of relevance!!!!!! I wish you were my mentor... I managed to reproduce another keylogger on the desktop! it also prints every click along with a notepad with text captures and creates folders separated by date!!! finally I managed to reproduce your code and forward the log file to a server... thank you very much for sharing your knowledge!!!!!! I am a Programming and Information Security enthusiast🇧🇷

  • @DNOD1983
    @DNOD1983 Před rokem

    Thank you for your continued commitment to education.

  • @pcap_pirate960
    @pcap_pirate960 Před rokem +12

    I created a python key-logger like this couple years ago sending it to my free web hosting server. Awesome video.

    • @davidbombal
      @davidbombal  Před rokem +8

      Thank you! So many ways to do this.... it should really not be possible today, but is unfortunately.

    • @ThelegendarySonGoku
      @ThelegendarySonGoku Před měsícem

      can you teach me how to do it?

  • @colinrogers9927
    @colinrogers9927 Před rokem

    Awesome. Well done sir

  • @davidmckee533
    @davidmckee533 Před rokem

    Bad Mr Bombal Bad, keep the videos coming thank you learned alot!!

  • @lancemarchetti8673
    @lancemarchetti8673 Před rokem +1

    Great video...thanks David.

  • @aleksalukic1904
    @aleksalukic1904 Před rokem +1

    I started to smile after I saw the first thumbnail of this video. It was like Saurons Eye from the Lord of the Rings is watching you. And now it's like a Ringwraith.

  • @GameMachines1
    @GameMachines1 Před rokem

    whoop!
    Thanks David

  • @krishnasgamingotherstuff1450

    I've once used python on my PC to give a demo to my friends that how getting passwords is easy and asked them to avoid using internet cafes, as getting the key strokes is pretty easy. That was way back in 2015.

    • @w.8329
      @w.8329 Před 7 měsíci

      This seems complicated it’s not working for me

  • @mr.smithsmith71
    @mr.smithsmith71 Před rokem +4

    what about how to stop remote keyloggers? what antivirus or app can detect them?

  • @codewithgabriel4626
    @codewithgabriel4626 Před rokem +5

    This is awesome, it's more effective If the keylogger run as a daemon in the background and it is start running on system boot up

    • @davidbombal
      @davidbombal  Před rokem +9

      This is only a proof of concept and can improved in many ways. We didn't show everything here because of CZcams rule.

    • @JB-fh1bb
      @JB-fh1bb Před rokem

      @@davidbombal Now I’m curious: what didn’t you show (besides compile steps)?

    • @rabblegaming4815
      @rabblegaming4815 Před 5 měsíci

      ​@@davidbombalWhere can I learn and see everything, I am into python development. How do people like you learn? Everything nowadays is hidden either for going into courses and spending money or just people not to see and analise.

  • @martinsmatthew4983
    @martinsmatthew4983 Před rokem

    Worked , thanks a lot!

  • @rubberduck6961
    @rubberduck6961 Před rokem +2

    What would happen if the target is typing in another layout or language

  • @accountoneripley7631
    @accountoneripley7631 Před rokem

    Hello, what program do you use to record the windows desktop?

  • @kekeke7815
    @kekeke7815 Před rokem

    Are the sample softs there when you open the software or do you have to download them from sowhere

  • @SumanRoy.official
    @SumanRoy.official Před rokem +20

    Things that can be improved, make the script work like a blind shell, like not including the ip address in the program itself, instead we will initiate a call to the program via some authentication, also encrypted data transfer is necessary to avoid AV detection.

    • @Leto2ndAtreides
      @Leto2ndAtreides Před rokem +8

      Probably just meant to be an example of something super simple.

  • @homeoffice3524
    @homeoffice3524 Před rokem +3

    This is one of the most complex python keyloger ever. I can do the same with aprox 20 lines of code without any extra software or anything.

    • @trif169
      @trif169 Před rokem

      So how’s it complex lmao

  • @cyberdevil657
    @cyberdevil657 Před rokem +28

    Haha I love this content David! I am doing the 30 day challenge of networkchuck right now the juniper ccna

    • @tehczavier
      @tehczavier Před rokem +2

      Nice. How is the Juniper cert program?

    • @cyberdevil657
      @cyberdevil657 Před rokem +4

      @@tehczavier It's good so far I scored 100% on module 1, but to be fair I already have a network background:). It's great for people who are starting out

  • @gerry2345
    @gerry2345 Před rokem

    I like this vid. Good insight.

  • @Spitfire_Cowboy
    @Spitfire_Cowboy Před rokem +9

    Rather than outputting to a text file, you could use a nosql db and output the processes running at the time of the key logging to have a better picture of what the target is using at the time they are typing.

    • @davidbombal
      @davidbombal  Před rokem +12

      We decided against doing that here to keep things simple. This is a proof of concept and can be improved in many ways. We can code in many other options, but this is for educational purposes only and not to build malware.

    • @Spitfire_Cowboy
      @Spitfire_Cowboy Před rokem +2

      @@davidbombal agreed. I actually like the simple poc. It leaves alot of potential open that could be touched on or brainstormed or discussed in general. Especially if talking about major nation state adversaries and their toolsets to gain access to sensitive western critical infrastructure systems. Or general minor ransomware criminal groups with their initial access brokers.

  • @majiddehbi9186
    @majiddehbi9186 Před rokem +8

    Hello Mr Bombal it seems that python is great langage to learn thx for u re constant effort God bless u

  • @muhammadusama8261
    @muhammadusama8261 Před rokem

    finally great video

  • @appher
    @appher Před rokem

    Thank you so much you really help me :)

  • @aniketsharma7333
    @aniketsharma7333 Před rokem +1

    Great video sir :)

  • @razashah2611
    @razashah2611 Před rokem +1

    More videos like this but easy one's please for beginners.

  • @Hubert4515
    @Hubert4515 Před rokem

    awesome tutorial!

  • @ahmedmedhat2894
    @ahmedmedhat2894 Před rokem

    Wow thx for warning us about that :)

  • @fyzzlefry
    @fyzzlefry Před rokem

    Thanks for this. Ill fire up a demo for our monthly meeting.

    • @davidbombal
      @davidbombal  Před rokem

      Hopefully they learn from this video 😀

  • @kuntrasha
    @kuntrasha Před 5 měsíci

    I am ok with python code but I have no idea about C code. When you say you used a C compiler to compile it does that mean you can compile python code in C compilers or did you have to use C code to make it work? Thanks for the video.

  • @nachosncheez2492
    @nachosncheez2492 Před rokem +1

    Nice video, if i was do it this i would use sockets for real time communication and a common port such as 443 + inject a binary blob into memory for a listener to setup a shell, that the program can load using a pointer. easy web c&c.

  • @amrelaal30
    @amrelaal30 Před rokem

    More than perfect 👍

  • @cruzalex9662
    @cruzalex9662 Před rokem

    Really nice sir

  • @maximedemontbron5179
    @maximedemontbron5179 Před 2 měsíci

    Hi David, just wondering if there's a way to encrypt the keylogged traffic / passwords as I'm sending them to my linode. Maybe I want to test this with my own passwords but I don't want the connection to be readable by eavesdroppers.

  • @alerivsm
    @alerivsm Před rokem

    It works! Thanks a lot.

  • @shinobishredz
    @shinobishredz Před rokem

    Amazing stuff

  • @edwinmurugu2438
    @edwinmurugu2438 Před rokem +2

    Just the title!! Hahaa this is why I joined your army

  • @TioGu76
    @TioGu76 Před rokem

    Awesome video David, but, how can we prevent our machines from these tools?

  • @srijan.76448
    @srijan.76448 Před rokem

    Will this program run on nay windows version or it is specified only for windows 11 ?

  • @weedogo5559
    @weedogo5559 Před rokem

    Spyware are shown in procexplorer? like sketchy process running. Or they are just not visible?

  • @richieheins6825
    @richieheins6825 Před rokem

    We dont deserve you David. Thank you so much!

  • @Jingizz
    @Jingizz Před rokem +3

    Ive tried to do it. Only one issue: when I run the compiled keylogger.exe it opens an empty command prompt, when I close it, it will close the keylogger as well. Idk how to make it so it opens stealthy as yours.

    • @Savage-en1ms
      @Savage-en1ms Před rokem

      You need to set compiler flag "-mwindows" to remove the UI element of your application. Other ways include setting the main window handle hidden on init.

  • @guilherme5094
    @guilherme5094 Před rokem

    Awesome👍

  • @kianrees8142
    @kianrees8142 Před rokem

    How can i send the keylogging data to my own server. Do i just open a port on my server like 8080 shown in the scipt and add my server ip in the scipt too?

  • @ForwardEngineering
    @ForwardEngineering Před rokem

    Can this be done within windows and to keylog another windows machine? I don't really want to spin up a entire Linux vm just for logging.

  • @mcmaly86
    @mcmaly86 Před rokem

    YO THANK YOU SO MUCH

  • @wiktormigaszewski8684
    @wiktormigaszewski8684 Před měsícem

    I need an example file of someone who wrote a longer text (a story or a masters thesis) - is there any such public repository?

  • @realJaycelee
    @realJaycelee Před rokem +1

    Do you have any recommendations on books in Computer Science? I want to learn Computer Science before JavaScript and Python.

    • @hartatociptajaya
      @hartatociptajaya Před rokem +2

      it is not books but you can easily find resources on harvard CS50 and Freedcodecamp channel.

    • @realJaycelee
      @realJaycelee Před rokem

      @@hartatociptajaya Thank you, I know some of the Free courses require a text book. Have to look into this one, because a couple people recommend this course.

    • @catatafish22
      @catatafish22 Před rokem +2

      You’re probably putting the horse before the cart if you do that… if you want a bit of an overview on some computer science, there’s a vid called ‘the art of code’ on CZcams.
      Learning a simple language like python is much easier than learning computer science. Walk before you run!

    • @realJaycelee
      @realJaycelee Před rokem

      @@catatafish22 Wouldn't it be the other way around? I want to learn the basics of computer science in order to have the fundamentals and when I go to learn a language I'll know how the computer functions, instead of just following examples that I have no idea why I'm doing what I'm doing.

  • @jamalyarfoor5798
    @jamalyarfoor5798 Před rokem +1

    I'm new. What does he mean when he says we? Is there a team who worked on this?

  • @charlesyaw6514
    @charlesyaw6514 Před rokem

    Dave could you create a GNS3 topology for key logging?

  • @loficafechill
    @loficafechill Před rokem +1

    in other words this can also bypass a separate firewall? wow this is crazy stuff.

  • @MalMilligan
    @MalMilligan Před rokem

    Brilliant. (As usual).

  • @phucnguyenhong8761
    @phucnguyenhong8761 Před rokem

    sir can you please tell me if i need to NAT port to sending logs through WAN?

  • @jackson32
    @jackson32 Před rokem

    Can this keylogger program be put in non executable files like PDF files, pictures, videos etc?

  • @mahendrasharma4041
    @mahendrasharma4041 Před rokem +1

    i m from india ....your content is great ...... really

  • @220VolT
    @220VolT Před rokem

    UAC doesn't popup at all when you execute?

  • @vivekkumar-gs9lp
    @vivekkumar-gs9lp Před rokem +1

    sir why dont you create a structured course on various language which is in demad in copporate sector....beleive me your channel will boom

  • @technip7378
    @technip7378 Před rokem +1

    Big fan

  • @zahidjaan1319
    @zahidjaan1319 Před rokem

    Thank U Sir !

  • @mariostheocharous3469
    @mariostheocharous3469 Před rokem +2

    Make a video to show us how to create own server to save the data without Linode, please??
    Thank you David for the fantastic videos!!

  • @naimurX
    @naimurX Před rokem +1

    Can you make this on replit online code editor

  • @f.s9027
    @f.s9027 Před rokem

    I started making soft recently, I was wondering if you wanna do any features.

  • @schwingedeshaehers
    @schwingedeshaehers Před rokem

    may add -y to the install script in the install lines (and merge the lines)

  • @PaunMaxim1
    @PaunMaxim1 Před rokem

    Thank you!

  • @komenanfrancois3037
    @komenanfrancois3037 Před rokem

    Thanks for all.

  • @alidanish6263
    @alidanish6263 Před rokem

    Great Content! I am a big fan. I did all of this and windows defender did not detected it but when i sent it to my friend to check it out by uploading it to google drive. When he downloaded it windows defender picked it up. Is there something i can do to avoid this?

  • @cruzalex9662
    @cruzalex9662 Před rokem

    Please how did you get it to run in the background

  • @nsxkkxlnmiyo8722
    @nsxkkxlnmiyo8722 Před 9 měsíci

    does it uniquely work on windows 11? what about other versions of windows?

  • @Foiliagegaming
    @Foiliagegaming Před rokem

    set up a small local server that is running on cellular network and have it set up on the local network then forward the traffic from there.

  • @robgomez9208
    @robgomez9208 Před rokem

    Will clean reeboot help?

  • @mohamednarhmouche364
    @mohamednarhmouche364 Před rokem +1

    if you want you can also create a python scripting course on youtube

  • @stephenpeters4393
    @stephenpeters4393 Před rokem

    Thanks David!
    This is great content as usual.
    since 'this' runs on the background would it probably make the PC a bit slower and hence call the attention of the user to something wrong with the pc operation

  • @HarmfullAdvocado
    @HarmfullAdvocado Před 4 měsíci

    Hey what server do u use, i can't find one

  • @dreamscapeshomesolutions7888

    Hi, David. What would you recommend for scanning pdf's and images for rats and loggers? These day's many of us download quite a number of pdf's for education and images for our own curating.

    • @dreamscapeshomesolutions7888
      @dreamscapeshomesolutions7888 Před rokem

      Comments like this from , text me "@ the official blah blah blah" seem like a game best played later. ; - )

  • @yasashikunizam1311
    @yasashikunizam1311 Před rokem

    what if we run this file as a script on the AD .... and it will automatically run right? fun but scarry ...

  • @Electro-tw9um
    @Electro-tw9um Před 5 měsíci

    So recompiling PyInstaller bypasses Defender, but wouldn't SmartScreen block the EXE as it is unknown (if it was real malware and actually was downloaded from the Internet by "your victim")?

  • @millymichael4701
    @millymichael4701 Před rokem +1

    David, you said you were going to show us how to capture a handshake with Kali Linux installed on our android phones.

    • @jesseclutterbuck6617
      @jesseclutterbuck6617 Před rokem

      you cant. android dosnt surport monator mode also you need to send a deauth packet to the target to catch the handshake. and the handshake uses encryption. use a laptop and a 64bit version of kali

  • @boomshoot4789
    @boomshoot4789 Před 6 měsíci

    Should I use the public IP in order to connect to the server?

  • @sithumgimhan7650
    @sithumgimhan7650 Před 2 měsíci

    Does this detectable in a mcAfee endpoint security

  • @IronMechanic7110
    @IronMechanic7110 Před rokem

    Very nice video i did this with a mail.

  • @ProffesionalPigeon
    @ProffesionalPigeon Před měsícem

    do you have to use a virtual machine?

  • @Blackstone_yt
    @Blackstone_yt Před 7 měsíci

    will it always add space EX: you log into one site then another theres and theres no space input

  • @mkledits3679
    @mkledits3679 Před rokem

    Will EDR not detect this kind of activity? since EDR is based on anamolies I'm pretty sure it will catch as suspicious no?

    • @hoelesswithoutthem
      @hoelesswithoutthem Před rokem

      Hey, I'm new here and building this project for my own working but I need help the files that he mentioned and the steps are updated and now I'm stuck can anyone here help me out?

  • @Mysterykingdom
    @Mysterykingdom Před rokem

    How would you detect this

  • @sreyneatdet6346
    @sreyneatdet6346 Před rokem +5

    Someone said this virus is undetectable ! So funny maybe they are recently using windows 7 !

  • @morleytechtv7749
    @morleytechtv7749 Před rokem +2

    Windows Defender can detect it now,

  • @hoelesswithoutthem
    @hoelesswithoutthem Před rokem

    @davidbombal Hey, I'm new here and building this project for my own working but I need help the files that he mentioned and the steps are updated and now I'm stuck can anyone here help me out?