1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

TIP: Solution for Hacking Through the Clipboard

Discussion in 'Ethical hacking Tips' started by Sanskruti, Mar 14, 2007.

  1. Sanskruti

    Sanskruti New Member

    Joined:
    Jan 7, 2007
    Messages:
    108
    Likes Received:
    17
    Trophy Points:
    0
    Occupation:
    Software Consultant
    Location:
    Mumbai, India

    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:
    <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.
     
  2. spetah247

    spetah247 New Member

    Joined:
    Apr 23, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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...
     
  3. jdawg5

    jdawg5 New Member

    Joined:
    Jun 13, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    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!
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    The option is available under the Tools menu in IE 6
     
  5. Asiadeep

    Asiadeep New Member

    Joined:
    May 25, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Great contribution man. Its kinda freaky that these things can actually still happen. I've just changed my settings already. Thanks!
     
  6. 89shadow

    89shadow New Member

    Joined:
    Jul 24, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    NIGHT AUDITOR
    Location:
    CHINCHPOKLI
    thanx 4 update
     
  7. Peter_APIIT

    Peter_APIIT New Member

    Joined:
    Apr 11, 2007
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Student
    Location:
    Malaysia
    How about Mozilla Firefox ?
     
  8. adithespeedy

    adithespeedy New Member

    Joined:
    Jun 16, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0

Share This Page