EvilZone

Programming and Scripting => Projects and Discussion => Topic started by: Chef on June 19, 2013, 05:59:02 AM

Title: Coding a keylogger help
Post by: Chef on June 19, 2013, 05:59:02 AM
I heard you can code a basic key logger by your self using hook API.


Where should i go to find how to code w/ this?




Thanks :)
Title: Re: Coding a keylogger help
Post by: Zesh on June 19, 2013, 06:26:39 AM
Learn a programming language.
Title: Re: Coding a keylogger help
Post by: Kulverstukas on June 19, 2013, 06:29:46 AM
Learn C/++, learn Win32API. For C/++ there are many books around here, for Win32API: http://msdn.microsoft.com/en-US/
Title: Re: Coding a keylogger help
Post by: xC on June 19, 2013, 03:22:29 PM
If it is user-mode API hooking you are interested in here is a nice article that got me started when I was first looking into it myself.

http://www.codeproject.com/Articles/2082/API-hooking-revealed (http://www.codeproject.com/Articles/2082/API-hooking-revealed)
Title: Re: Coding a keylogger help
Post by: Chef on June 20, 2013, 06:58:45 PM
Learn a programming language.


I know that's the first thing on the agenda. Plus everyone on EZ preaches "learn a programming language" like the damn bible. ;D

What is the next step after knowing a programming language?
Title: Re: Coding a keylogger help
Post by: ande on June 20, 2013, 07:22:04 PM

I know that's the first thing on the agenda. Plus everyone on EZ preaches "learn a programming language" like the damn bible. ;D

What is the next step after knowing a programming language?

After actually knowing a language like C or C++ or both, you should know the next step. Basically you learn the language, start some projects and solve them by reading and asking around.
Title: Re: Coding a keylogger help
Post by: Chef on June 20, 2013, 11:01:41 PM
Okay I see. Thanks for answering my question as I was definitely unsure.
 
What programming language should I learn?
C and C++ seem to be pretty important. How do I go about learning them?
~Chef
Title: Re: Coding a keylogger help
Post by: ande on June 20, 2013, 11:18:09 PM
Okay I see. Thanks for answering my question as I was definitely unsure.
 
What programming language should I learn?
C and C++ seem to be pretty important. How do I go about learning them?
~Chef

If you think you are up for it, I would go C/++ and Assembly in combination with Python or Perl(or both), PHP and bash. That will take you like 5 years. Have fun. No seriously tho, that wont be over in a day or even 50. Work your way up and learn what you need to learn because of your projects, not because you are reading a book from a to z.

Personally I rarely use anything else than PHP and C++ but the occasional Perl, Python, javascript, bash and even C# do happen.

Maybe the most important thing to learn is to program, not to write syntax. Learning how to write correct and good code takes ages. Learning how to write in a correct syntax is easy.

http://www.learncpp.com/ and http://www.cplusplus.com/doc/tutorial/ (the two very first results at google for "learn c++") should be enough for now.


Cheers.
Title: Re: Coding a keylogger help
Post by: Chef on June 20, 2013, 11:22:41 PM
If you think you are up for it, I would go C/++ and Assembly in combination with Python or Perl(or both), PHP and bash. That will take you like 5 years. Have fun. No seriously tho, that wont be over in a day or even 50. Work your way up and learn what you need to learn because of your projects, not because you are reading a book from a to z.

Personally I rarely use anything else than PHP and C++ but the occasional Perl, Python, javascript, bash and even C# do happen.

Maybe the most important thing to learn is to program, not to write syntax. Learning how to write correct and good code takes ages. Learning how to write in a correct syntax is easy.

http://www.learncpp.com/ and http://www.cplusplus.com/doc/tutorial/ (the two very first results at google for "learn c++") should be enough for now.


Cheers.

Very useful and I had no idea it takes that long to grasp a fluent understanding of this!

What do you mean by use what I'm learning/beginning to learn on projects of my own?
This seems vital as hell to a full understanding! -Basically how do I start a project?(I'm sure I will figure that out once I begin learning C++ lol)
Title: Re: Coding a keylogger help
Post by: ande on June 20, 2013, 11:37:03 PM
Very useful and I had no idea it takes that long to grasp a fluent understanding of this!

What do you mean by use what I'm learning/beginning to learn on projects of my own?
This seems vital as hell to a full understanding! -Basically how do I start a project?(I'm sure I will figure that out once I begin learning C++ lol)

Like I tried to say. Learning programming takes years, learning programming concepts, architecture and design. Learning how a programming language works is pretty easy. Its like learning a new language. Learning how to write an understandable sentence takes.. Not that long. But learning how to write a native and fluent sentence takes a looong time.

A project can be anything. What do you want to write? Start small. A calculator. File splitter. File merger. List sorter and so on.
Title: Re: Coding a keylogger help
Post by: Chef on June 20, 2013, 11:41:14 PM
Ah I see. Thanks for opening up my view of what a programming language is.
 
So basically, once I begin developing a understanding of C++ on my own I will figure out how to make calculator, file splitter, keylogger, etc?
 
~Chef
Title: Re: Coding a keylogger help
Post by: ande on June 20, 2013, 11:47:31 PM
So basically, once I begin developing a understanding of C++ on my own I will figure out how to make calculator, file splitter, keylogger, etc?

Yeah more or less. What I really meant was that you can use those ideas as your projects/goals and go from there. Instead of reading a book from a to z, you learn by doing. Much easier, better and more fun. Of course reading a few pages wont hurt either.
Title: Re: Coding a keylogger help
Post by: Chef on June 20, 2013, 11:49:20 PM
Well I will begin by reading that website learncpp.com then try to apply it on my own projects.
I will keep you updated how this goes.  :P
Title: Re: Coding a keylogger help
Post by: str0be on June 21, 2013, 07:41:02 AM
Relevant: Teach Yourself Programming in Ten Years (http://norvig.com/21-days.html).
Title: Re: Coding a keylogger help
Post by: googlebot on June 21, 2013, 10:38:51 AM
First you need a lot of computer related knowledge, how stuff works. Not every experienced / or not.. programmer is able to code such things.


I've been working with some cpp programmer (which was head programmer), and he's a better programmer than myself but he wasn't able to create keyloggers etc..


It's just different from person to person. So I'm just incopetent in creating business software.. malware in <3..