Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Ethical hacking Tips (http://www.go4expert.com/articles/ethical-hacking-tutorials/)
-   -   TIP: Solution for Hacking Through the Clipboard (http://www.go4expert.com/articles/tip-solution-hacking-clipboard-t3397/)

Sanskruti 14Mar2007 17:47

TIP: Solution for Hacking Through the Clipboard
 

Clipboard hacking



Ever wondered why you can not copy password from password field.....????? Answer is because of possibility of getting your password hacked through the Clipboard!!!!!

How this Clipboard Hack is done?



Every time you copy text using CTRL+C or CTRL+Insert, it gets stored in the Clipboard. And then from Clipboard it can be easily retrieved over the internet by using simple code in JavaScript and ASP or CGI or PHP etc.

How this Clipboard Hack is done?



This is the JavaScript source code to get the text from your Clipboard:
Code: JavaScript

<Script Language="JavaScript">
var clipboardText = clipboardData.getData("Text");
alert(clipboardText);
</Script>

How to prevent Clipboard Hack?

1. Go to internet options->security
2. Press custom level
3. In the security settings, select disable under Allow paste operations via script.
This makes contents on Clipboard safe and you are ready to surf the internet without fear. However, it is recommended not to keep sensitive data (such as passwords, credit card numbers, PIN etc.) in the clipboard while internet is on. It is very easy over the internet to extract the text stored in the clipboard to steal your sensitive information.

spetah247 27Apr2007 19:16

Re: TIP: Solution for Hacking Through the Clipboard
 
hello Sanskruti, am peter i must say i appriciate you sharing your knowledge here.....i realy dont know where to go to perform the java scrpt source code to extract the text store in the clipboard.. pls advise...am a newbie here and hacking has been my hobby just to improve my self...

jdawg5 13Jun2007 06:44

Re: TIP: Solution for Hacking Through the Clipboard
 
hi sanskruti...

i am not a hacker... but i believe i have BEEN hacked through this clipboard thing...
i'm not very good with computers... so where do i need to go to see my "internet options" so i can stop this?

if you could please let me know, i would be sooooo happy!

thank you!

shabbir 13Jun2007 08:52

Re: TIP: Solution for Hacking Through the Clipboard
 
The option is available under the Tools menu in IE 6

Asiadeep 16Jun2007 11:41

Re: TIP: Solution for Hacking Through the Clipboard
 
Great contribution man. Its kinda freaky that these things can actually still happen. I've just changed my settings already. Thanks!

89shadow 25Jul2007 05:18

Re: TIP: Solution for Hacking Through the Clipboard
 
thanx 4 update

Peter_APIIT 5Aug2007 13:34

Re: TIP: Solution for Hacking Through the Clipboard
 
How about Mozilla Firefox ?

adithespeedy 22Feb2008 20:21

Re: TIP: Solution for Hacking Through the Clipboard
 
was ossom


All times are GMT +5.5. The time now is 10:31.