Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

ANTI keylogger


  • Please log in to reply
5 replies to this topic
tkunovsky
  • Members
  • 15 posts
  • Last active: Mar 03 2012 03:15 PM
  • Joined: 05 Sep 2010
Hi, here is very easy ANTI keylogger. I test it on Stealth Keylogger 3.1.

SetTimer, Write, 10

Loop
{
  Input, UserInput, C T0.01, {Backspace}
  buffer := buffer UserInput
}


Write:
  if buffer <>
  {
    SendPlay %buffer%
    buffer =
  }
return


*~SC00E::send {Backspace}


blondedude092
  • Members
  • 77 posts
  • Last active: Oct 15 2015 04:51 PM
  • Joined: 07 Jan 2009
dude this completely doesn't let you type at all...

widow
  • Guests
  • Last active:
  • Joined: --

dude this completely doesn't let you type at all...

Works here.

WinXP SP3 english

Zaelia
  • Members
  • 754 posts
  • Last active: Jan 17 2015 02:38 AM
  • Joined: 31 Oct 2008
Hum I have a lot of doubts... I think it's works for emulation or windows message, but not for "physical" key or low level hook.
However it's cool to have a basic anti-keylogger like your script !
#Persistent 
hKbdHook := DllCall("SetWindowsHookEx", "int", 0x0D, "uint", RegisterCallback("LowLevelKeyboardProc"), "uint", 0, "uint",0) 
OnExit, UnhookKeyboardAndExit 
Return 

LowLevelKeyboardProc(nCode, wParam, lParam) { 

log := "code " nCode " | state " wParam " " (wParam = 0x100 ? "Down" : wParam = 0x101 ? "Up" : "Sys") 
log .= "`nVK " NumGet(lParam+0) " | SC " NumGet(lParam+4) 
log .= "`nflag " NumGet(lParam+8) " " ((NumGet(lParam+8) & 0x80) ? " Up" : " Down") 
log .= ((NumGet(lParam+8) & 0x1) ? " Ext" : "") ((NumGet(lParam+8) & 0x10) ? " Inj" : "") ((NumGet(lParam+8) & 0x20) ? " Alt" : "") 
log .= "`ntime " NumGet(lParam+12) " | info " NumGet(lParam+16) 
tooltip % log 

return DllCall("CallNextHookEx", "uint", 0, "int", nCode, "uint", wParam, "uint", lParam) 
} 

UnhookKeyboardAndExit: 
DllCall("UnhookWindowsHookEx", "uint", hKbdHook) 
ExitApp


Morpheus
  • Members
  • 475 posts
  • Last active: Oct 21 2014 11:08 AM
  • Joined: 31 Jul 2008

dude this completely doesn't let you type at all...


That would do the trick, wouldn't it? :lol:

Andrew Lu
  • Members
  • 58 posts
  • Last active: Jan 28 2011 10:09 PM
  • Joined: 17 Jul 2010
^ LMAO.

Anyway, cool script! I doubt it'd work on any serious keyloggers, but it's really cool that you can write such a simple script to foil more basic keyloggers.