Writing a Basic Keylogger in Python | Python for Cybersecurity Project 2

preview_player
Показать описание
NOTE: This program is for education purposes only.
Project 2 of The Complete Python Project for Cybersecurity involved me taking an attempt in creating a keylogger within Python. Well, it's a basic keylogger which has it's limitations, but still an opportunity to build something malicious within Python. Here's what you need to know about the video...

Building a keylogger is rather easy. Now this totally depends on what type of keylogger you are creating and how sophisticated you desire to make it. The more sophisticated it is, the better chance you are to have accurate results.

This particular keylogger had it's limitations, as outlined in the last part of the video. The three key limitations to this keylogger included:
1) The amount of emails being received per set amount of time
3) This is a 'local keylogger', meaning you have already have access to target victim before deploying this program

Great lessons learned here in Project 2. I would highly advise you look into creating a keylogger, even if it's basic, as this type of challenge will help you with reading documentation and deployment of the code.

Important Timestamps:
0:00 - Introduction & Background into where I am at within the overall project
1:25 - Briefly walk through the brainstormed plan and sketch
3:20 - Keylogger intro and project kick-off
3:43 - Explain my first step, which was creating an overall structure
4:45 - Introduce my second step, which was the execution phase
6:19 - Finish the keylogger & walk through basic functionality behind program
8:24 - Concluding thoughts on project and transition into Level 3
Courses & Resources Mentioned:

Join the Email List for More Information and Exclusive Updates!

Follow Me:

Join the Discord Server:

Have questions, concerns, comments?:

Gear:

Songs Used:
V.I.P.N - EPIC CLOUD TRAP BEAT No Copyright Trap
DRUMKEYZ - SPLASH FREE TRAP BEAT No Copyright Trap
Chill & Relaxing Lo-Fi Hip-Hop Instrumental Warm Nights
Рекомендации по теме
Комментарии
Автор

My man wearing an under armor under a polo. Legend

LukatheDoodle
Автор

Knowledge never ends, I'll take that course right away, thank you.

gabrielhernandez
Автор

I really like your series and approach. I'm older and am interested learning new things. You make it fun and interesting. Thanks Grant!

williamsteary
Автор

Kind of interesting, reminds me when I used dark comet rat what they do is capture the instance of what the user is typing on for example chrome and read the html header of the website (eg. Facebook Login) and organize it within a text file so you would get a context of what the user is typing. Kinda overkill for you though but if you want to spice things up that’s a thing to look into. If you want to build a genuine keylogger have it upload a text document to a server rather than a email.

YUNGSVGE
Автор

I love how you edited everything to the beat.... 🔥🔥🔥Big up

Jabs

toptenstopten
Автор

cool man. an entertaining coding vid. throw in a meme review from time to time and i'll keep watching!

JeffPeebles
Автор

As Always Awesomeee Video Bro 💯🔥
Everytime I Watch your Video it's Like a fuel to My Machine, So Inspiring Loved It Bro!!
##--200% motivated 😅--##
Thanks for the Cool and Informative Stuff..👍🏻🙏🏻

Atmanirbhar_Nooob
Автор

One little advice. If you want to make your program parallel, use processes, not threadings :)

sashaha
Автор

I’ll suggest you to put windows function that basically means every time the victim’s open up a window it’ll write the window name down in the log file and it’ll change every time ...
For example:
[Google Chrome - Facebook Login]: some text....
Also you could add a function that will show the exact time he wrote it down.
I’ll be more then happy to help you :)

thki
Автор

Same name and same hand writing!
Can the logged keys be saved as a txt file, then sent like every one hour or so.
Can the logger be in a .bat file then saved in the system's environment variable, that way the script can be running in the background without the subject seeing the terminal.

Finally, nice video and I am really excited and waiting for the part two. 😉

nowyouknow
Автор

Fact:
Coffee in the morning is helping to focus on the code.

BTW nice vid!

alonreshetnik
Автор

How about having the keylogger create a logfile, in which all logged keystrokes are in chronological order, and then send it to your pc in an intervall? YOu wouldnt receive as much mails

kronroyal
Автор

Error in code file keylogger line39 send_off says the send_mail function has no return

daanbreur
Автор

I love your videos, keep it up you're my inspiration <3

jpp
Автор

I'm learning Python and when I see him I think how can they do so much with what I'm learning. Lol.

jacklack
Автор

Hey grant..
I am kind of beginner in hacking and security field...kind of bcoz I know basics of all things...as well as advance use of 1-3 tools...how would u recommend me to start everything nicely and well mannered? suggest *kind of* roadmap....I know their isn't a map but u can tell how ur gone....I am really passionate about it...plz reply...
Thank you

ankurtiwari
Автор

Cool! I have also written a keylogger tutorial!

AnalystRising
Автор

Brother I am done with security + and studying for cysa+ is there any other cert I should study for, i am in my 4th year bachelors CS

akshattyagi
Автор

Make Russian subtitles - really want to know
please!

incodieincodie
Автор

hahhhahaahha Im not Done Watching the Vid ..I laughed when u say "Same Shirt"..

georgemavimbela