Translate

Showing posts with label password. Show all posts
Showing posts with label password. Show all posts

Saturday, January 28, 2017

Web developers/ Students don't save your plain password in the database. There exists a chance for HACKING!

Web developers/ Students don't save your plain password in the database. There is a chance for HACKING!

Last week, I had checked a couple of companies website's source codes to shield them from hacking. It  has been seen that, they are using plain password (as shown in the screenshot below) in their database. That is you can see the password of all registered users in the database using any database tool like PHPMYADMIN, SQLYOG etc. It can be noted that many users, using the same username and password for logging into multiple websites like gmail, onlinesbi etc. Thus hackers can easily enter into multiple website using your username and password which was stolen from a less secured website. So I recommend all of my readers to use different usernames and passwords in different websites.



Now we can come to our topic. From time to time, servers and databases are stolen or compromised by hackers all over the world. With this in mind, it is important to ensure that some important user data, such as passwords, cannot be recovered. In this tutorial , I will explain how hash technique helps us to escape from these situations.
Hashing converts a piece of data (either small or large), into a relatively short piece of data such as a string or an integer.
Normally, all famous hashing algorithms are "one-way" algorithms means, it will convert your information (say password) into a string with some alphanumeric characters. md5(), crc32() etc are widely using hashing functions.

In PHP, there are many built in functions for hashing and its format is very simple compared to other programming languages.
An example PHP hash function is md5(). Please use this code for md5 hashing

From the screenshot, it is clear that the md5 function will convert the information into 32 character hexadecimal number (Number 0,1,2,3,4,5,6,7,8,9 and characters A,B,C,D,E,F). One hexadecimal character can be represented using 4 bits (ie 1=0001, and A=1010) thus md5 result set dimension is 128 bit.
You cannot reconstruct the original information (pravysoft calicut) from  the result (00d79e8e609cfbdf5b75d80fdef96fb4). 

[Note: Actually there are some hacking strategies to break/interpret md5, but that is out of scope of this tutorial, Ofcourse you can send me a request to know that techniques!!].

User Registration and Login Steps

Now we can check the user registration steps
1. User fills their information in the registration form
2. It is better to use password fields type as password (<input type="password" >)
3. Submitted data is received by the web-server
4. Convert submitted password to md5 code. Discard original password, it will not use anywhere!
5. Save this md5 data in the corresponding field in the database


Now we can check the steps for user login process
1. The registered user now type username and password in the login window.
2. The submitted password is converted to md5 code using md5 function.
3. The code will compare the usernames as well as md5 code based passwords.
5. If they match, it will grant access to the user.

Thus if any hacker stolen the database they will only get Md5 version of the password only. Not their original secret password!!. Thus the users are protected from password hijackers.

But there are also some chances for hacking the password encrypted using hashing algorithm. For showing a demo I am using another hashing function crc32() [md5 code width is 128 character, so for simulation it will take some time, the crc32() use only 32bits for decryption thus its simulation will complete faster]


The screenshot below shows the result of the above code.



From the screenshot it is clear that, the hash code of the string "PravySoft Calicut" is -332908207. Ofcourse a hacker who has stolen the database cannot recover the string ( "PravySoft Calicut" ) from this number (-332908207). But he can login to the website using another password and that hack is explained below. As you know that cr32 using 32 bit encoding, thus it has only 2 to the power 32 (2^32) combinations only. Thus there is a chance for another string to produce the same hash code i.e -332908207. So if you know any other string which has the same hash code (say a duplicate) can be used to login to the website. Use following code for finding duplicate string

<?php
set_time_limit(0);
$var = 0;
while (true)  //infinite loop
{
 $current_value=crc32(base64_encode($var));
 echo "<br>checking value=".$current_value;
    if ($current_value == -332908207)
    {
        echo "duplicate string is ".base64_encode($var);
        exit;
    }
     $var++;
}
?>



 It will take some time to get the duplicate key/string , after getting the duplicate key you can check the hash code of that duplicate key and hash code of your string are equal. (i.e It is same as that of the hash code of the example string "PravySoft Calicut"). Thus you can access to the website using this duplicate key without knowing original string.

How you can escape from this type of hacking. Better idea is to don't use low-range hashing algorithm like crc32. It is better to use Md5() or sha1() algorithms, They have 128 bit and 160 bit hash codes respectively, Thus finding a duplicate key is very difficult and it will take very long time to get duplicate key.

Some hacking sites are keeping large number of duplicate keys to decode the hash code (Hash code database size is in the range of petabyte, ie 1000 terabyte= 1 peta byte). So hackers can find duplicate keys of some hashcodes very easily [ I am not discussing the websites they store this data(I believes that it is unethical )]. It is also a major problem for web developers to protect their website from unauthorized access. So in the next section we will discuss, how you can block duplicate key access to your websites.

It is the time for a small tea!!, I will explain some-other security issues and  ways and means to protect your site from hacking, see you soon in the next post!!

Thursday, August 2, 2012

PravySoft Portable Keylogger



Note: Hacking is a crime. Don't use this tutorial to hack innocent people. I am sharing it for educational purpose only and to show internet banking is not safe and our personal computer is a loop hole . I (Praveen Thappily)will not be responsible for any damage done by you. This software is capable to store username and password of users.Firefox,opera,Google chrome, internet explorer etc are supported.

 PravySoft Portable Keylogger



Dear friends

Here I am introducing a tool which is used for storing all keystrokes  typed by you silently. You can store all information including usernames and passwords which is typed by our victim during the execution of the software! . You don’t want to install this software, ie this is a portable one, just copy and paste this software . You can use it from pendrive also. File size < 1 MB.





Where is the stored information?
  • Stored information is saved at notepad named “pravysoft.txt” which will automatically develop during the execution time.


Where is PravySoft.txt situated?
  • At the same directory where your  file is stored.


How to protect innocent people?
  • This tool shows a warning for every 100 keystrokes.
  • User can see that message .
  • Some letters are not stored (Software filtering used)


Full version features?
  • No user warning
  • No Tray icon
  • Completely hidden
  • Key strock emailing facility
What should you do while online transactions?
  • Please don't use public network.(Net cafe,College networks)
  • Please remove all external media such as Pen drives, External Hard disks etc
  • Use virtual keyboard (available in some websites, Still not secure)
  • Check your website address the prefix should be "https" instead of "http" 

How to get full version and source code?
  • You can email me about your purpose with this tool.

          info.pravysoft@gmail.com
This is a hidden tool , How to stop it?
  • Just use Task manager and Click on End task to stop this tool

Please don't use this tool or similar tool for hacking sites like SBI, PNB, ICICI, FACEBOOK, GMAIL etc. Its a crime for getting imprisonment.


Want to know more about this tool contact me



Download copy of silent keystroke saver for free







News of this software was published on Famous newspaper MALAYALA MANORAMA
Please read the news
Malayala Manorama News Calicut electronics and software project center
Add caption

Sunday, October 16, 2011

PravySoft Portable Folder lock free download


PravySoft proudly presents Folder lock with active shield.You can save your valuable documents with the help of this tool.






Main features of this software are

1.The data will be password protected.
2.Un deletable data protection (With the help active shield,prevents unauthorized deletion )
3.Portable tool so you don't have to install this software
4.Open source,If you need source code please contact me
5.Small size <1 MB
6.Free of cost. No evaluation problem
7.You can freely distribute this software

At first you need to set a password for your shield

After that you can see a folder ' My secure folder' in My documents folder as shown the figure below

You can change your password any time.If you Locked the folder,The folder become invisible and you can delete the folder with this software. simple deletion not works in this folder.


If you find any bug or if you need source code please contact me
google@pravysoft.co.cc

or visit
http://pravysoft.eu5.org

http://pravysoft.blogspot.com




 

Saturday, September 18, 2010

Firefox Password Silent Saver

FireFox Password HACKER
PLEASE USE THIS TOOL FOR EDUCATION PURPOSE ONLY

                       Hi Here I am introducing a software, which will store all username and password of the user who uses Mozilla Firefox browser  (Without showing popup button like below). With the help of this software we can hack user name and password of users.
                     In Firefox, even if you have the option “Security Remember passwords for sites” checked in Tools > Options, the browser will still display a notification bar at the top that asks “Do you want Firefox to remember the password for “Username” on website.com?” with three buttons “Remember”, “Never for This Site” and “Not Now”. If user pressed on "Remember" button password will store on firefox database and we can see the password. If user preseed other button we will not get his/her password.
                            My idea is to block this message box(see above) and click on Remember Button. The first thing that came to my mind was perhaps there is an addon that can do this but I couldn’t find any addon that can make Firefox auto save password without prompting. After spending nearly 2 hours researching on how Firefox saves the password, I managed to find a way on how to make Firefox save the login information to the Firefox Saved. So I am created this software.Please dont use this tool for hacking confidential data(s). Please use this tool for education purpose only

Steps
1) Download and Install PravySoft Firefox Hacker software.(Don’t change installation path)

2) Restart Firefox
3) Open Tools menu of Firefox

4) Select Security Tab
5) click on saved Password Button as shown in the figure


6) There you can see a window

7) You Completed you can see password, username and website address of users)


For source code please email me pravymon@gmail.com or visit http://pravysoft.eu5.org

Now i am finalizing my blog content .This software is the best tool to hack GMAIL,YAHOO,REDIFFMAIL passwords.I think you got the answer for the question  how to hack your friends username and password.


After effects
1. I got many congratulations from all over the world.
2. Firefox realised the bug, And added new secure structure for its new edition to prevent my hacking.(But dear friends I believes some  more loop holes are there for firefox, But for security purpose I am not including that problems here, If you want to know more just contact me with your profile, PravySoft team will answer all of your queries)
3. Many famous software like tuneup utilities will give warning if you are not setted your Master password for firefox