PATENT DOCUMENT

Abstract:
A method for implementing online anti-phishing, related to the field of information security, comprising: a browser loads an online anti-phishing control, the control acquires a blacklist and a whitelist, if a received URL of the browser is in the blacklist, the browser is stopped from loading, if the URL is in the whitelist, the browser is notified to load, and if the URL is neither in the blacklist nor in the whitelist, a determination is made on whether or not the URL of the browser satisfies a preset fuzzy match criterion, if same is satisfied, then a user is prompted of danger, when the user chooses to proceed, a preset account combination is acquired, when received keypress information is numerals and an input focus is an input box control, the keypress information is compared with the preset account combination, if both are identical then the user is prompted of danger, and either stop or load as chosen by the user. The method allows processing of the blacklist and the whitelist to be implemented and addition of fuzzy query, thus implementing processing of the blacklist and the whitelist, preventing a hacker from stealing banking information of the user by using a fraudulent URL identical to one in the whitelist, and enhancing security.

Full Description:
FIELD OF THE INVENTION 
       [0001]    The present invention relates to a method for realizing anti-phishing in internet, which belongs to the field of information security. 
         [0002]    PRIOR ART 
         [0003]    E-bank assistant is a software which is developed so as to invoke and download, in the form of software of embedded programming or by using a program, the software which is adapted for e-banks and certificates on the basis of an install software of widget automation, which is used by certificate drive of each manufacture, CSP software, E-bank and certificates, and related patches of Microsoft. 
         [0004]    An E-bank assistant integrates a drive of certificate, a CSP software, a widget and Microsoft-related patches of each manufacturer, the software will lead a user to install after the E-bank is downloaded and run by the user. The E-bank searches operating system of the computer, the drive of certificate and CSP according to a voucher number of U-key entered by the user, and the drive of certificate, the CSP and E-bank widgets are downloaded and installed step by step, and the user is prompted to download and install operating system patches, and to change IE settings. By the method, users just need one software tool for integration instead of downloading multiple software, thus, U-key is more usable. 
         [0005]    Phishing is an internet fraud, which means criminals swindle personal information, such as account numbers and passwords of banks or credit cards, by counterfeiting an URL address and content of its web page or by inserting dangerous HTML code in some web pages on a website by using bugs of sever program in a real website. 
         [0006]    In prior art, an anti-phishing widget is not safe enough, because the widget determines whether the conduct is a phishing through a black list and a white list sent by a sever, in this way, the widget cannot discriminate URL outside the black list or the white list, and via this bug, hackers will steal bank information of users. 
       SUMMARY OF THE INVENTION 
       [0007]    The object of the present invention is to provide a method for realizing anti-phishing in internet, which can manage black and white lists and add fuzzy query to protect the bank information of users from being stolen by counterfeiting URL similar to URL in the white list; thus, the method is more secure. 
         [0008]    Thus, the present invention provides a method for realizing anti-phishing in internet, which includes: starting an IE and loading an anti-phishing widget, in which the anti-phishing widget executes following steps: 
         [0009]    Step S 1 , obtaining, by the anti-phishing widget, a black list and a white list; 
         [0010]    Step S 2 , waiting, by the anti-phishing widget, for receiving URL of the IE, and determining the URL of the IE, preventing IE from loading the URL of the IE and returning to Step S 2  in the case that the URL of IE is in the black list; prompting the IE to loading the URL of the IE and returning to S 2  in the case that the URL of the IE is in the white list; executing Step S 3  in the case that the URL of the IE is neither in the black list nor in the white list; 
         [0011]    Step S 3 , determining, by the anti-phishing widget, whether the URL of the IE and the URL in the white list meet a preset vague match condition, if yes, executing Step S 4 ; otherwise, informing the IE to load the URL of the IE, and returning to Step S 2 ; 
         [0012]    Step S 4 , prompting, by the anti-phishing widget, that a user is conducting a dangerous operation, checking whether the user continues the operation, if yes, informing the IE to load the URL of the IE, and executing Step S 5 ; otherwise, preventing the IE from loading the URL of the IE, and returning to Step S 2 ; 
         [0013]    Step S 5 , obtaining, by the anti-phishing widget ,a preset account combination corresponding to URL, with which, the URL of IE meets the preset vague match condition; 
         [0014]    Step S 6 , waiting, by the anti-phishing widget, for receiving information of key entered by the user, when the information of key is entered by the users, determining whether the key is a number key, if yes, executing Step S 7 ; otherwise, continuing to execute Step S 6 ; 
         [0015]    Step S 7 , determining, by the anti-phishing widget, whether an input focus is an input widget, if yes, executing Step S 8 ; otherwise, returning to Step S 6 ; 
         [0016]    Step S 8 , obtaining, by the anti-phishing widget, the information of key entered by the user from the input widget, and determining whether the information of key conforms to the preset account combination, if yes, executing Step S 9 ; otherwise, returning to Step S 6 ; and 
         [0017]    Step S 9 , prompting, by the anti-phishing widget, that the user is conducting a dangerous operation, and checking whether the user continues the operation, if yes, informing IE to jump to a user access interface, and returning to Step S 2 ; otherwise, preventing the IE from loading the user access interface, and returning to Step S 2 . 
         [0018]    Preferably, Step S 1  specifically includes: the anti-phishing widget reading an install path from a registry, and obtaining the black list, the white list and the preset account combination from the install path, and saving them. 
         [0019]    Preferably, Step S 1  further includes: 
         [0020]    Step a 1 , determining, by the anti-phishing, whether any black list, white list and preset account combination exist under the install path, if yes, obtaining the black list, the white list and the preset account combination from the install path and saving them, and executing Step S 2 ; otherwise, executing Step a 2 ; and 
         [0021]    Step a 2 , informing, by the anti-phishing widget, a back-end service of E-bank assistant to download a black list, a white list and a preset account combination from a sever, and saving the black list, the white list and the preset account combination under the install path, and executing Step S 2 . 
         [0022]    Preferably, Step a 1  further may be: determining, by the anti-phishing widget, whether the black list, the white list and the preset account combination under the install path need to be updated, if yes, executing Step a 2 ; otherwise, obtaining the black list, the white list and the preset account combination from the install path, and saving them, and executing Step S 2 . 
         [0023]    Preferably, Step a 1  further may be: determining, by the anti-phishing widget, whether the black list, the white list and the preset account combination under the install path are interpolated, if yes, executing Step a 2 ; otherwise, obtaining the black list, the white list and the preset account combination from the install path and saving them, and executing Step S 2 . 
         [0024]    Preferably, Step a 2  specifically includes: 
         [0025]    Step b 1 , informing, by the anti-phishing widget, the back-end service of E-bank assistant to download the black list, the white list and the preset account combination from the sever; 
         [0026]    Step b 2 , notifying, by the back-end service of E-bank assistant, the sever to download the black list, the white list and the preset account combination after a notice for downloading sent by the anti-phishing widget is received by the back-end service of E-bank assistant; 
         [0027]    Step b 3 , obtaining, by the sever, an encrypted black list, an encrypted white list and an encrypted preset account combination after the notice for downloading sent by the back-end service of E-bank assistant is received by the sever, and sending them to the back-end service of E-bank assistant; 
         [0028]    Step b 4 , sending, by the back-end service of E-bank assistant, the encrypted black list, the encrypted white list and the encrypted preset account combination to the anti-phishing widget; 
         [0029]    Step b 5 , performing, by the anti-phishing widget, a preset decryption on the encrypted black list, the encrypted white list and the encrypted preset account combination after the encrypted black list, the encrypted white list and the encrypted preset account combination are received by the anti-phishing widget to obtain decrypted data; 
         [0030]    Step b 6 , cutting out, by the anti-phishing widget, a preset length of data from the decrypted data and making the preset length of data as a first digest value, and performing a digest algorithm on the other data in the decrypted data to generate a second digest value; 
         [0031]    Step b 7 , determining, by the anti-phishing widget, whether the first digest value equals the second digest value, if yes, saving the encrypted black list, the encrypted white list and the encrypted preset account combination under the install path, and executing Step S 2 ; otherwise, executing Step b 8 ; and 
         [0032]    Step b 8 , determining, by the anti-phishing widget, whether the notice for downloading is sent for preset times, if yes, ending the process; otherwise, executing Step b 1 ; 
         [0033]    obtaining the black list, the white list and the preset account combination from the install path and saving them, specifically is: obtaining the encrypted black list, the encrypted white list and the encrypted preset account combination from the install path, decrypting the encrypted black list, the encrypted white list and the encrypted preset account combination to obtain the black list, the white list and the preset account combination, and saving them. 
         [0034]    Preferably, Step S 1  specifically includes: obtaining, by the anti-phishing widget, a general black list, a general white list, a customized white list and a customized black list corresponding to information of each bank; 
         [0035]    Step S 2  specifically includes: the anti-phishing widget waiting for receiving the URL of the IE, and determining the URL of the IE, preventing the IE from loading the URL of the IE in the case that the URL of the IE is in the general black list or in the customized black list corresponding to information of each bank, and returning to Step S 2 ; informing the IE to load the URL of IE in the case that the URL of the IE is in the general white list or in the customized white list corresponding to the information of each bank, and returning to Step S 2 ; otherwise, executing Step S 3 ; 
         [0036]    in Step S 4 , after informing the IE to download the URL of the IE in the case that the user continues the operation when the anti-phishing widget prompts the user is undergoing dangerous operation, the process further includes: obtaining, by the anti-phishing widget, a URL in the white list, which and the URL of the IE meets the preset vague match condition, and determining the URL; obtaining a preset account combination corresponding to information of all banks in the case that the URL is in the general white list, and executing Step S 6 ; executing Step S 5  in the case that the URL is in the customized white list corresponding to the information of each bank; and 
         [0037]    Step S 5  specifically includes: the anti-phishing widget obtaining the bank information corresponding to the URL in the white list, with which, the URL of the IE meets the preset vague match condition, from a memory, and obtaining the preset account combination corresponding to the bank information. 
         [0038]    Preferably, Step S 1  specifically includes: the anti-phishing widget obtaining the customized white list and the customized black list; 
         [0039]    Step S 2  specifically includes: the anti-phishing widget waiting for receiving the URL of the IE and determining the URL, preventing the IE from loading the URL of the IE in the case that the URL of the IE is in the customized black list, and returning to Step S 2 ; informing the IE to load the URL of the IE in the case that the URL of the IE is in the customized white list, and returning to Step S 2 ; otherwise, executing Step S 3 ; and 
         [0040]    Step S 5  specifically is: the anti-phishing widget obtaining the bank information information corresponding to the URL in the customized white list, with which, the URL of the IE meets the preset vague match condition, and obtaining a preset account combination corresponding to the bank information. 
         [0041]    Preferably, preventing the IE from loading the URL of the IE specifically includes: the anti-phishing widget turning down a label page corresponding to the URL of the IE or setting the label page corresponding to the URL of the IE as a blank page. 
         [0042]    Preferably, Step S 6  specifically is: determining whether a difference of characters between the URL of the IE and the URL in the white list is not lager than a preset difference, if yes, the URL of the IE and the URL in white list meet the preset vague match condition, and executing Step S 4 ; otherwise, the URL of the IE and the URL in white list do not meet the preset vague match condition, informing the IE to load the URL of the IE, and returning to Step S 2 . 
         [0043]    Preferably, determining whether the difference of characters between the URL of the IE and the URL in the white list is not greater than the preset difference, specifically includes: 
         [0044]    Step  1 , obtaining, by the anti-phishing widget, unprocessed URL from the white list, and making the unprocessed URL as current URL; 
         [0045]    Step  2 , obtaining, by the anti-phishing widget, a first character string length of the current URL and a second character string length of the URL of the IE, and determining whether a difference between the first character string length and the second character string length is greater than the preset difference, if yes, executing Step  4 ; otherwise, executing Step  3 ; 
         [0046]    Step  3 , determining, by the anti-phishing widget, whether the difference of characters between the URL of the IE and the current URL is not greater than the preset difference, if yes, the URL of the IE and the URL in the white list meet the preset vague match condition, and executing Step S 4 ; otherwise, executing Step  4 ; and 
         [0047]    Step  4 , determining, by the anti-phishing widget, whether any unprocessed URL exists in the white list, if yes, executing Step  1 ; otherwise, the URL of the IE does not meet the preset vague match condition, informing the IE to load the URL of the IE, and returning to Step S 2 . 
         [0048]    Preferably, Step  3 , specifically includes: 
         [0049]    Step c 1 , constructing, by the anti-phishing widget, a matrix, of which all matrix element values are 0, a linage of the matrix is the first character string length plus 1, a column number of the matrix is the second character string length plus 1; initializing the matrix element values corresponding to the first line of the matrix as values from 0 to the first character string length, and initializing the matrix element values corresponding to the first column as values from 0 to the second character string length; 
         [0050]    Step c 2 , obtaining, by the anti-phishing widget, a current line and a current column which are not updated from the matrix, and obtaining corresponding characters of the current line in the current URL according to the current line, and obtaining corresponding characters of the current column in the current URL according to the current column; 
         [0051]    Step c 3 , determining, by the anti-phishing widget, whether the characters of the current line is same as the characters of the current column, if yes, setting an add value as 0, and executing Step c 4 ; otherwise, setting the add value as 1 and executing Step c 4 ; 
         [0052]    Step c 4 , adding, by the anti-phishing widget, 1 to the matrix element value corresponding to the current line plus 1 and the current column to obtain a first numerical value, adding 1 to the matrix element value corresponding to the current line and the current column minus 1 to obtain a second numerical value, and calculating an add value of the matrix element value corresponding to the current line minus 1 and the current column minus 1 to obtain a third numerical value; 
         [0053]    Step c 5 , updating, by the anti-phishing widget, the matrix element value corresponding the current line and the current column according to a minimum value of the first numerical value, the second numerical value and the third numerical value; 
         [0054]    Step c 6 , determining, by the anti-phishing widget, whether any matrix element value which is not updated exists, if yes, returning to execute Step c 4 ; otherwise, executing Step c 7 ; and 
         [0055]    Step c 7 , obtaining, by the anti-phishing widget, the matrix element value corresponding to the linage, which is the first character string length plus 1, and the column, which is the second character string plus 1, and determining whether the matrix element value is smaller than or equals the preset difference, if yes, the URL of the IE meets the preset vague match condition, and executing Step S 4 ; otherwise, executing Step  4 . 
         [0056]    Preferably, after preventing the IE from loading the URL of the IE, the method further includes: the anti-phishing widget saving the URL of the IE into the black list, informing the back-end service of e-bank assistant to send the URL of the IE to the sever, and the sever manually checks the number of the URL of the IE after a preset duration, the URL of the IE are saved into the encrypted black list and the encrypted white list in the sever when the number of URL of the IE reaches a preset value. 
         [0057]    Preferably, in Step S 4 , after prompting that the user is operating a dangerous operation, the method further includes: determining whether any user&#39;s choice is detected in a preset duration, if yes, checking whether the user continues the operation; otherwise, preventing the IE from loading the URL of the IE, and returning to Step S 2 ; and 
         [0058]    in Step S 9 , prompting that the user is conducting a dangerous operation, and checking whether the user continues the operation further includes: determining whether a user&#39;s choice is detected in a preset duration, if yes, checking whether the user continue the operation; otherwise, preventing the IE from loading a user access interface, and returning to Step S 2 . 
         [0059]    Preferably, when the input focus is the input widget in Step S 7 , the method further includes: determining, by the anti-phishing, whether the input widget is an input-password widget, if yes, returning to execute Step S 6 ; otherwise, executing Step S 8 . 
         [0060]    According to the present invention, the method can not only process the black list and the white list, but also process the URL which is not in the black list and the white list by a vague inquire, in this way, the method can prevent hackers from stealing bank information of users by using URL which is similar to the white list, thus, the method is more secure. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0061]    The Embodiments of the present invention are further described more clearly and completely with the drawing of the present invention. Obviously, Embodiments described here are just a few Embodiments of the present invention, when it comes to those skilled in the art, other drawings can be obtained without inventive work. 
           [0062]      FIG. 1  illustrates a flow chart of a method for realizing anti-phishing in internet according to Embodiment 1 of the present invention; 
           [0063]      FIG. 2  illustrates a flow chart of another method for realizing anti-phishing in internet according to Embodiment 2 of the present invention; 
           [0064]      FIG. 3  illustrates a detailed flow chart of Step  103  in Embodiment 2; 
           [0065]      FIG. 4  illustrates a detailed flow chart of Step  109  in Embodiment 2; and 
           [0066]      FIG. 5  illustrates a flow chart of the third method for realizing anti-phishing in internet according to Embodiment 3 of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
       [0067]    The technical solution in the Embodiments of the present invention is further described more clearly and completely with the drawings of the present invention. Apparently, Embodiments described herein are just a few Embodiments of the present invention. On the basis of Embodiments of the invention, all other related Embodiments made by those skilled in the art without any inventive work belong to the scope of the invention. 
       Embodiment 1 
       [0068]    The present invention provides a method for realizing anti-phishing in internet, as shown in  FIG. 1 , which includes: an IE is started, an anti-phishing widget is loaded, and the anti-phishing widget (hereinafter anti-phishing widget is called widget for short) executes following steps: 
         [0069]    Step S 1 , a black list and a white list are obtained by the widget; 
         [0070]    specifically, an install path is obtained from a registry, and the black list and the white list are obtained from the install path; 
         [0071]    moreover, Step S 1  may specifically includes: the install path is obtained from the registry, an encrypted black list and an encrypted white list are obtained from the install path, the encrypted black list and the encrypted white list are decrypted to obtain the black list and the white list, and the black list and the white list are saved; 
         [0072]    in which, if the black list and the white list under the install path include information of multiple banks, obtaining the black list and the white list specifically includes: a general black list, a general white list, and a customized black list and a customized white list, both of which correspond to information of each bank, are obtained; 
         [0073]    if the black list and the white list under the install path just include information of specific bank, obtaining the black list and the white list specifically includes: a customized black list and a customized white list which correspond to the information of specific bank are obtained; 
         [0074]    Step S 2 , the widget waits for receiving URL of IE, determines the URL of the IE, the IE is prevented from loading the URL of IE and Step S 2  is returned to in the case that the URL of the IE is in the black list; the IE is informed to load the URL of the IE and Step S 2  is returned to in the case that the URL of the IE is in the white list; otherwise, Step S 3  is executed; 
         [0075]    in which, in the case that the black list and the white list under the install path include information of multiple banks, the IE is prevented from loading the URL of the IE if the URL of the IE is in the general black list or in the customized black list corresponding to information of each bank; the IE is informed to load the URL of the IE if the URL of the IE is in the general white list or in the customized white list corresponding to information of each bank; 
         [0076]    in the case that the black list and the white list under the install path just include information of specific bank, the IE is prevented from loading the URL of the IE if the URL of the IE is in the customized black list corresponding to the information of specific bank; the IE is informed to load the URL of the IE if the URL of the IE is in the customized white list corresponding to the information of specific bank; 
         [0077]    Step S 3 , the widget determines whether the URL of the IE and URL in the white list meet a preset vague match condition, if yes, Step S 4  is executed; otherwise, the IE is informed to load the URL of the IE, and Step S 2  is returned to; 
         [0078]    in which, in the case that the black list and the white list under the install path include information of multiple banks, determining whether the URL of the IE and the URL in the white list meet the preset vague match condition specifically includes: determine whether the URL of the IE and the URL in the white list or the URL in the customized white list corresponding to information of each bank meet the preset vague match condition; 
         [0079]    in the case that the black list and the white list under the install path just include information of specific bank, determining whether the URL of the IE and the URL in the white list meet the preset vague match condition specifically includes: determine whether the URL of the IE and the URL in the customized white list corresponding to the bank information meet the preset vague match condition; 
         [0080]    Step S 4 , the widget prompts that the user is conducting a dangerous operation, checks whether the user continues the operation, if yes, inform the IE to load the URL of the IE and execute Step S 5 ; otherwise, prevent the IE from loading the URL of the IE and return to Step S 2 ; 
         [0081]    Step S 5 , the widget obtains a preset account combination corresponding to the URL, with which, the URL of the IE meets the preset vague match condition, from the white list; 
         [0082]    in which, in the case that the black list and the white list under the install path include information of multiple banks, Step S 5  specifically includes: bank information corresponding to the URL, with which, the URL of IE meets the preset vague match condition, is obtained from the white list, and the preset account combination corresponding to the bank information is obtained; 
         [0083]    in the case that the black list and the white list under the install path just include information of specific bank, Step S 5  further includes: the preset account combination of the specific bank corresponding to the URL, with which, the URL of the IE meets the preset vague match condition, is obtained from the white list; 
         [0084]    Step S 6 , the widget waits for receiving information of key entered by the user, and determines whether the key is a number key after the information of key entered by the user is received, if yes, execute Step S 7 ; otherwise, continue to execute Step S 6 ; 
         [0085]    Step S 7 , the widget determines whether the input focus is an input widget, if yes, execute Step S 8 ; otherwise, return to Step S 6 ; 
         [0086]    Step S 8 , the widget obtains the information of key entered by the user from the input widget, determines whether the information of key conforms to the preset account combination, if yes, execute Step S 9 ; otherwise, return to Step S 6 ; 
         [0087]    Step S 9 , the widget prompts that the user is conducting a dangerous operation, and checks whether the user continues the operation, if yes, inform the IE to jump to the user access interface, and return to Step S 2 ; otherwise, prevent the IE from loading the user access interface, and return to Step S 2 . 
       Embodiment 2 
       [0088]    Embodiment 2 of the present invention provides a method for realizing anti-phishing in internet, as shown in  FIG. 2 , which includes: an IE is started, an anti-phishing widget is loaded, and the anti-phishing widget (hereinafter anti-phishing widget is called widget for short) executes following steps: 
         [0089]    Step  101 , the widget reads an install path from a registry; 
         [0090]    in the present Embodiment 2, the install path is configured to identify a storage location of an encrypted black list, an encrypted white list and a preset account combination in a memory; 
         [0091]    in the present Embodiment 2, a black list, a white list (the black list and the white list can be saved in one file of black and white lists or be saved in a file of black list and a file of white list respectively) and multiple preset account combinations are included under the install path, URL of the black list and URL of the white list include general black and white lists of all banks, and customized black and white lists corresponding to information of each bank; the information of each bank corresponds to one preset account combination; 
         [0092]    Step  102 , the widget determines whether any black list, white list and preset account combination exist under the install path, if yes, executes Step  104 ; otherwise, executes Step  103 ; 
         [0093]    Step  103 , the widget informs a back-end service of E-bank assistant to download a black list, a white list and a preset account combination from a sever, and saves an encrypted black list, an encrypted white list and an encrypted preset account combination which are received under the install path, and executes Step  104 ; 
         [0094]    in the present Embodiment 2, the sever is informed to download the black list, the white list and the preset account combination after the back-end service of E-bank assistant receives a notice for downloading sent from the anti-phishing widget; when the black list, the white list and the preset account combination have been downloaded, whether the black list, the white list or the preset account combination are manipulated is checked, if yes, continue to inform the sever to download; otherwise, save an encrypted black list, an encrypted white list and a preset account combination under the install path, and execute Step  104 ; 
         [0095]    as shown in  FIG. 3 , Step  103  specifically includes: 
         [0096]    Step  103 - 1 , the widget informs the back-end service of E-bank assistant to download the black list, the white list and the preset account combination; 
         [0097]    Step  103 - 2 , the back-end service of E-bank assistant informs the sever to download the black list, the white list and the preset account combination after the notice for downloading is received by the back-end service of E-bank assistant; 
         [0098]    Step  103 - 3 , the sever obtains the encrypted black list, the encrypted white list and the encrypted preset account combination after the notice for downloading of the back-end service of E-bank assistant is received by the sever; 
         [0099]    in the present Embodiment 2, the sever obtaining the encrypted black list, the encrypted white list and the encrypted preset account combination specifically includes: the black list, the white list and the preset account combination of a plaintext are performed on preset digest calculation via an MD5 digest algorithm to generate a first digest value of 16 bytes, the black list, the white list and the preset account combination of the plaintext are jointed with the first digest value in sequence to obtain a result, the result is encrypted by using RC4 algorithm to obtain the encrypted black list, the encrypted white list and the encrypted preset account combination; 
         [0100]    Step  103 - 4 , the sever sends the encrypted black list, the encrypted white list and the encrypted preset account combination to the back-end service of E-bank assistant; 
         [0101]    Step  103 - 5 , the back-end service of E-bank assistant sends the encrypted black list, the encrypted white list and the encrypted preset account combination to the widget; 
         [0102]    Step  103 - 6 , the widget performs preset decryption on the encrypted black list, the encrypted white list and the encrypted preset account combination after the encrypted black list, the encrypted white list and the encrypted preset account combination are received by the widget to obtain decrypted data; 
         [0103]    preferably, the preset decryption is RC4 decryption; 
         [0104]    Step  103 - 7 , the widget cuts out a preset length of data from the decrypted data, and makes the preset length of data as the first digest value, and then performs digest calculation on the other data except for the first digest value in the decrypted data so as to obtain a second digest value; 
         [0105]    preferably, cutting out the preset length of data from the decrypted data specifically is: data at the last 16 bytes are cut out from the decrypted data; 
         [0106]    Step  103 - 8 , the widget determines whether the first digest value is same as the the second digest value, if yes, the encrypted black and white lists and the encrypted preset account combination are saved under the install path, and Step  104  is executed; otherwise, Step  103 - 9  is executed; 
         [0107]    Step  103 - 9 , the widget determines whether the notice for downloading is sent for preset times, if yes, the process is finished; otherwise, Step  103 - 1  is executed; 
         [0108]    preferably, the preset times is 3; 
         [0109]    Step  104 , the widget reads the encrypted black and white lists and the encrypted preset account combination; 
         [0110]    in the present Embodiment 2, the anti-phishing widget encrypts the black and white lists and the preset account combination, and saves them under the install path so as to protect them from being malicious manipulated by hackers; 
         [0111]    Step  105 , the widget decrypts the encrypted black list, the encrypted white list and the encrypted preset account combination which are read, and saves the black list, the white list and the account combination which are obtained by decrypting in the memory; 
         [0112]    specifically, the anti-phishing widget decrypts the encrypted black list, the encrypted white list and the encrypted preset account combination via a preset decipher algorithm, preferably, the preset decipher algorithm is RC4 algorithm, besides, the preset decryption may be MD5 algorithm; 
         [0113]    in the present Embodiment 2, we take that the black list and the white list are in form of XML as an example, the black list and the white list obtained via decryption are: 
         [0000]    
       
         
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
               
             
               
             
           
               
                   
               
             
             
               
                  &lt;?xml version=“1.0” encoding=“utf-8”?&gt; 
               
               
                  &lt;FTCheck&gt; 
               
             
          
           
               
                   
                  &lt;Common&gt; 
               
             
          
           
               
                   
                 &lt;BlackList&gt; 
               
             
          
           
               
                   
                 &lt;WebSite url=“http://www.aobchina.cn”&gt;&lt;/WebSite&gt; 
               
               
                   
                 &lt;WebSite url=“http://www.abcihina.cn”&gt;&lt;/WebSite&gt; 
               
               
                   
                 &lt;WebSite url=“http://www.abnchina.cn”&gt;&lt;/WebSite&gt; 
               
             
          
           
               
                   
                  &lt;/BlackList&gt; 
               
             
          
           
               
                   
                  &lt;WhiteList&gt; 
               
             
          
           
               
                   
                 &lt;WebSite url=“http://*.tmall.com”&gt;&lt;/WebSite&gt; 
               
               
                   
                 &lt;WebSite url=“https://*.tmall.com”&gt;&lt;/WebSite&gt; 
               
               
                   
                 &lt;WebSite url=“http://*.taobao.com”&gt;&lt;/WebSite&gt; 
               
             
          
           
               
                   
                  &lt;WebSite url=“https://*.taobao.com”&gt;&lt;/WebSite&gt; 
               
             
          
           
               
                   
                 &lt;WebSite url=“http://*.jd.com”&gt;&lt;/WebSite&gt; 
               
               
                   
                 &lt;WebSite url=“https://*.jd.com”&gt;&lt;/WebSite&gt; 
               
               
                   
                 &lt;WebSite url=“http://www.95599.cn”&gt;&lt;/WebSite&gt; 
               
             
          
           
               
                   
                 &lt;/WhiteList&gt; 
               
             
          
           
               
                 &lt;/Common&gt; 
               
             
          
           
               
                   
                 &lt;ABCBank&gt; 
               
             
          
           
               
                   
                  &lt;BlackList&gt; 
               
             
          
           
               
                   
                  &lt;WebSite url=“http://www.abcrchina.cn”&gt;&lt;/WebSite&gt; 
               
               
                   
                  &lt;WebSite url=“http://www.abichina.cn”&gt;&lt;/WebSite&gt; 
               
               
                   
                  &lt;WebSite url=“http://www.abcichina.cn”&gt;&lt;/WebSite&gt; 
               
             
          
           
               
                   
                  &lt;/BlackList&gt; 
               
               
                   
                  &lt;WhiteList&gt; 
               
             
          
           
               
                   
                 &lt;WebSite url=“http://*.cmbchina.com”&gt;&lt;/WebSite&gt; 
               
             
          
           
               
                   
                  &lt;/WhiteList&gt; 
               
             
          
           
               
                 &lt;/ABCBank&gt; 
               
               
                 &lt;YTBank&gt; 
               
             
          
           
               
                   
                  &lt;BlackList&gt; 
               
             
          
           
               
                   
                 &lt;WebSite 
               
               
                   
                 url=“http://www.yanta1bank.net”&gt;&lt;/WebSite&gt; 
               
             
          
           
               
                   
                  &lt;WebSite 
               
               
                   
                  url=“http://www.yantanbank.net”&gt;&lt;/WebSite&gt; 
               
               
                   
                  &lt;WebSite 
               
               
                   
                  url=“http://www.yantaibank.com”&gt;&lt;/WebSite&gt; 
               
             
          
           
               
                   
                 &lt;/BlackList&gt; 
               
               
                   
                 &lt;WhiteList&gt; 
               
             
          
           
               
                   
                  &lt;WebSite url=“http://www.yantaibank.net”&gt;&lt;/WebSite&gt; 
               
             
          
           
               
                   
                 &lt;/WhiteList&gt; 
               
             
          
           
               
                  &lt;/YTBank&gt; 
               
               
                 &lt;/FTCheck&gt; 
               
               
                   
               
             
          
         
       
     
         [0114]    Step  106 , the widget obtains the general black list and the general white list, and the customized black list and the customized white list which correspond to information of each bank from the black list and the white list, and save the lists into the memory; 
         [0115]    for example, the information obtained from the black list and the white list includes: 
         [0116]    A) the customized black list and the customized white list corresponding to information of each bank: 
         [0117]    1. Bank information: ABCBank
       the customized black list corresponding to ABCBank is:   url=“http://www.aberchina.cn”   url=“http://wwvv.abichina.cn”   url=“http://www.abcichina.cn”   the customized white list corresponding to ABCBank is: url=“http://cmbchina.com”       
 
         [0123]    2. Bank information: YTBank
       the customized black list corresponding to YTBank is:   url=“http://www.yantalbank.net”   url=“http://www.yantanbank.net”   url=“http://www.yantaibank.com”   the customized white list corresponding to YTBank is:url=http://www.yantaibank.net       
 
         [0129]    B) the general black list obtained from the black list and the white list is:
       url=“http://www.aobchina.cn”   url=“http://www.abcihina.cn”   url=“http://www.abnchina.cn”       
 
         [0133]    the general white list obtained from the black list and the white list is:
       url=“http://*.tmall.com”   url=“https://*.tmall.com”   url=“http://*.taobao.com”   url=“https://*.taobao.com”   url=“http://*.jd.com”   url=“https://*.jd.com”   url=“http://www.95599.cn”;       
 
         [0141]    Step  107 , the widget waits for receiving URL of IE, determines whether the URL of IE is in the general black list or in the customized black list corresponding to information of each bank, if yes, IE is prevented from loading the URL of IE, and Step  107  is returned to; otherwise, Step  108  is executed; 
         [0142]    in the present Embodiment 2, after the anti-phishing widget is loaded, the IE is binding to message mapping; the anti-phishing widget obtains the URL of IE via the message mapping before the URL of IE is loaded or after the URL of IE is loaded; 
         [0143]    in which, URL, Uniform Resource Locator, is a uniform resource locator flag of WWW, which is a network address; preventing the IE from loading the URL of IE specifically may be exiting from a label page corresponding to the URL of IE, or may be stopping the label page corresponding to the URL of IE and displaying an blank page; 
         [0144]    in the present Embodiment 2, the URL of IE received by the anti-phishing widget may be URL entered by a user in the url input field or may be URL which pops up; 
         [0145]    for instance, the URL of IE received by the anti-phishing widget is “http://www.aobchina.cn” which can be found in the general black list; 
         [0146]    for instance, the URL of IE received by the anti-phishing widget is “http://www.baidu.com” which cannot be found in the general black list or the customized black list, and Step  108  is executed; 
         [0147]    Step  108 , the widget determines whether the URL of IE is in the general white list or the customized white list corresponding to information of each bank, if yes, the IE is notified to download the URL of IE, and Step  107  is returned to; otherwise, Step  109  is executed; 
         [0148]    for instance, the URL of IE received by the anti-phishing widget is “https://www.taobao.com”, the URL of IE is matched with URL in the white list, a URL which can be matched with the URL of IE can be found in the white list, that is “https://*.taobao.com”, when * is matched, that * is matched means all of the URL is matched, which means characters between “//” and “.” do not need to be matched, thus, the IE is informed to download the URL of IE; 
         [0149]    for example, the URL of IE received by the anti-phishing widget is “http://www.baidu.com” which cannot be found in the white list, and Step  109  is executed; 
         [0150]    in the present Embodiment 2, there is no sequence between Step  107  and Step  108 , which can be executed at the same time; 
         [0151]    Step  109 , the widget determines whether the URL of IE and URL in the general white list meet the preset vague match condition or the URL of IE and URL in the customized white list corresponding to information of each bank meet the preset vague match condition, if yes, execute Step  110 ; otherwise, inform the IE to load the URL of IE, and return to Step  107 ; 
         [0152]    in which, determining whether the URL of IE and URL in the general white list meet the preset vague match condition or the URL of IE and URL in the customized white list corresponding to information of each bank meet the preset vague match condition specifically includes: determine whether difference of characters between the URL of IE and the URL in the general white list or in the customized white list corresponding information of each bank isn&#39;t greater than a preset difference, if yes, they meet the preset vague match condition, and Step  110  is executed; otherwise, they does not meet the preset vague match condition, and inform the IE to load the URL of IE, and return to Step  107 ; preferably, the preset difference is 2; 
         [0153]    preferably, the difference of characters between the two character strings is obtained by using matrix, and determining whether the URL of IE and the URL in the general white list or in the customized white list corresponding to information of each bank meet the preset vague match condition, as shown in  FIG. 4 , specifically includes: 
         [0154]    Step  109 - 1 , the widget obtains an unprocessed URL from the general white list or the customized white list corresponding to information of each bank, and makes the unprocessed URL as current URL; for example, the first URL in the white list is http://cmbchina.com, and the URL entered is http://camdchina.com; 
         [0155]    Step  109 - 2 , the widget obtains a first character string length of the current URL and a second character string length of the URL of IE, and determines whether the difference between the first character string length and the second character string length is greater than a preset difference, if yes, execute Step  109 - 10 ; otherwise, execute Step  109 - 3 ; 
         [0156]    preferably, the preset difference is 2; 
         [0157]    for instance, the first character string length of the current URL is 19, the second character string length of the URL of IE is 20; 
         [0158]    Step  109 - 3 , the widget constructs a matrix, of which the linage is the first character string length plus 1, the column number is the second character string length plus 1 and all matrix element values are 0; the matrix element values corresponding to the first line of the matrix are initialized as values from 0 to the first character string length, and the matrix element values corresponding to the first column of the matrix are initialized as values from 0 to the second character string length; 
         [0159]    for instance, the matrix obtained after the process in Step  109 - 3  is: 
         [0000]    
       
         
           
             
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
               
                 12 
               
               
                 13 
               
               
                 14 
               
               
                 15 
               
               
                 16 
               
               
                 17 
               
               
                 18 
               
               
                 19 
               
             
             
               
                 1 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 2 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 3 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 4 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 5 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 6 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 7 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 8 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 9 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 10 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 11 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 12 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 13 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 14 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 15 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 16 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 17 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 18 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 19 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
             
               
                 20 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
               
                 0 
               
             
           
         
       
     
         [0160]    Step  109 - 4 , the widget obtains a current line and a current column which are not updated from the matrix, and obtains corresponding character of current line in the current URL according to the current line, and obtains corresponding characters of current column in the current URL according to the current column; 
         [0161]    in the present Embodiment 2, obtaining the corresponding character of current line in the current URL according to the current line specifically is: character of current line corresponding to the current line minus 1 is obtained from the current URL; 
         [0162]    for instance, the current line, which has not been updated, obtained from the matrix is the second line, the value obtained by subtracting 1 from the current line is 1, the corresponding character of line obtained from the current URL is the first character, i.e. the character of current line is h; 
         [0163]    in the present Embodiment 2, obtaining the corresponding character of current column in the URL of IE according to the current column specifically is: the character of current column corresponding to the current column minus 1 is obtained from the URL of IE; 
         [0164]    for instance, the current column, which has not been updated, obtained from the matrix is the second column, the value obtained by subtracting 1 from the current column is 1, the corresponding character of column obtained from the current URL is the first character, i.e. the character of current column is h; 
         [0165]    Step  109 - 5 , the widget determines whether the character of current line is same with the character of current column, if yes, an add value is set as 0, and Step  109 - 6  is executed; otherwise, the add value is set as 1, and Step  109 - 6  is executed; 
         [0166]    for instance, if the character of current line is h and the character of current column is h, the add value is set as 0; 
         [0167]    Step  109 - 6 , the widget adds 1 to a matrix element value corresponding to the current line minus 1 and the current column to obtain a value which is made as a first numerical value, adds 1 to a matrix element value corresponding to the current line and the current column minus 1 to obtain a value which is made as a second numerical value, and obtains an add value of the matrix element value which corresponds to the current line minus 1 and the current column minus 1 to make the add value as a third numerical value; 
         [0168]    for instance, the matrix element value corresponding to the first line and the second column is 1 in the case that the add value is 0, thus, the first numerical value is 1+1=2; the matrix element value corresponding to the second line and the first column is 1, thus the second numerical is 1+1=2; the matrix element corresponding the first line and the first column is 0, the matrix element plus the add value 0 to obtain the third numerical value 0; 
         [0169]    Step  109 - 7 , the widget updates a matrix element value corresponding to the current line and the current column according to a minimum value of the first numerical value, the second numerical value and the third numerical value; 
         [0170]    for instance, the first numerical value is 2, the second numerical value is 2, and the third numerical value is 0, the minimum value of them is the third numerical value 0, thus, the matrix element value corresponding to the second line and the second column is updated as 0; 
         [0171]    Step  109 - 8 , the widget determines whether any matrix element value which is not updated exists, if yes, Step  109 - 4  is executed; otherwise, Step  109 - 9  is executed; 
         [0172]    in the present Embodiment 2, the matrix which is obtained after steps from Step  109 - 3  to Step  109 - 8  is: 
         [0000]    
       
         
           
             
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
               
                 12 
               
               
                 13 
               
               
                 14 
               
               
                 15 
               
               
                 16 
               
               
                 17 
               
               
                 18 
               
               
                 19 
               
             
             
               
                 1 
               
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
               
                 12 
               
               
                 13 
               
               
                 14 
               
               
                 15 
               
               
                 16 
               
               
                 17 
               
               
                 18 
               
             
             
               
                 2 
               
               
                 1 
               
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
               
                 12 
               
               
                 13 
               
               
                 14 
               
               
                 15 
               
               
                 16 
               
               
                 17 
               
             
             
               
                 3 
               
               
                 2 
               
               
                 1 
               
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
               
                 12 
               
               
                 13 
               
               
                 14 
               
               
                 15 
               
               
                 16 
               
             
             
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 1 
               
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
               
                 12 
               
               
                 13 
               
               
                 14 
               
               
                 15 
               
             
             
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 1 
               
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
               
                 12 
               
               
                 13 
               
               
                 14 
               
             
             
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 1 
               
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
               
                 12 
               
               
                 13 
               
             
             
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 1 
               
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
               
                 12 
               
             
             
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 1 
               
               
                 0 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
             
             
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 1 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
             
             
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 1 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 9 
               
             
             
               
                 11 
               
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 2 
               
               
                 1 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
               
                 11 
               
             
             
               
                 12 
               
               
                 11 
               
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 3 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
               
                 10 
               
             
             
               
                 13 
               
               
                 12 
               
               
                 11 
               
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
               
                 9 
               
             
             
               
                 14 
               
               
                 13 
               
               
                 12 
               
               
                 11 
               
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
               
                 8 
               
             
             
               
                 15 
               
               
                 14 
               
               
                 13 
               
               
                 12 
               
               
                 11 
               
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
               
                 7 
               
             
             
               
                 16 
               
               
                 15 
               
               
                 14 
               
               
                 13 
               
               
                 12 
               
               
                 11 
               
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
               
                 6 
               
             
             
               
                 17 
               
               
                 16 
               
               
                 15 
               
               
                 14 
               
               
                 13 
               
               
                 12 
               
               
                 11 
               
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
               
                 5 
               
             
             
               
                 18 
               
               
                 17 
               
               
                 16 
               
               
                 15 
               
               
                 14 
               
               
                 13 
               
               
                 12 
               
               
                 11 
               
               
                 10 
               
               
                 9 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 3 
               
               
                 4 
               
             
             
               
                 19 
               
               
                 18 
               
               
                 17 
               
               
                 16 
               
               
                 15 
               
               
                 14 
               
               
                 13 
               
               
                 12 
               
               
                 11 
               
               
                 10 
               
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
               
                 3 
               
             
             
               
                 20 
               
               
                 19 
               
               
                 18 
               
               
                 17 
               
               
                 16 
               
               
                 15 
               
               
                 14 
               
               
                 13 
               
               
                 12 
               
               
                 11 
               
               
                 11 
               
               
                 10 
               
               
                 9 
               
               
                 8 
               
               
                 7 
               
               
                 6 
               
               
                 5 
               
               
                 4 
               
               
                 3 
               
               
                 2 
               
             
           
         
       
     
         [0173]    Step  109 - 9 , the widget obtains a matrix element value corresponding to a line, of which the linage is obtained by adding 1 to the first character string length, and a column, of which the column number is obtained by adding 1 to the second character string length; and determines whether the matrix element value is smaller than a preset difference, if yes, the URL of IE meets the preset vague match condition, and Step  110  is executed; otherwise, Step  109 - 10  is executed; 
         [0174]    for instance, the linage is 19+1=20 if the first character string length is 19, the column number is 20+1=21 if the second character string length is 20, thus the matrix element value corresponding to the 20 th  line and the 20 th  column is 2 which equals the preset difference 2, so the URL of IE meets the preset vague match condition, and Step  110  is executed; 
         [0175]    Step  109 - 10 , the widget determines whether any unprocessed URL exists in the general white list or the customized white list corresponding to information of each bank, if yes, return to execute Step  109 - 1 ; otherwise, the URL of IE does not meet the preset vague match condition, the IE is informed to load the URL of IE, and Step  107  is returned to; 
         [0176]    in the preset Embodiment 2, the URL of IE may be URL which is manipulated by a hacker who counterfeits URL in the general white list or the customized white list corresponding to information of each bank, if the URL of IE meets the preset vague match condition, thus, that the user is conducting a dangerous operation is prompted, and then the user can manage the operation; 
         [0177]    in the present Embodiment 2, the difference between the first character string and the second character string is 5, which is greater than 2, in the case that the received URL is http://www.baidu.com and the current URL is https://www.taobao.com, thus, the URL does meet the preset vague match condition, the widget informs the IE to load the URL of IE directly, the IE loads the URL of IE to enter Baidu and finishes loading Baidu; 
         [0178]    Step  110 , the widget prompts that the user is conducting a dangerous operation and checks whether the user continues the operation, if yes, the IE is informed to load the URL of IE, and Step  111  is executed; otherwise, the IE is prevented from loading the URL of IE, and Step  107  is returned; 
         [0179]    in the present Embodiment 2, that the IE is prevented from loading the URL of IE specifically includes: a label page corresponding to the URL of IE is exited from or the label page corresponding the URL of IE is loaded as an blank page; 
         [0180]    furthermore, after the widget prevents URL of IE in the case that the user does not continue, the process further includes: the URL of IE is saved into the black list, and the widget informs the back-end service of E-bank assistant to send the URL of IE to the sever, and the sever checks the number of the URL of IE manually after a preset duration; when the number of the URL of IE reaches a preset number, the URL of IE is saved into the encrypted black list and the encrypted white list of the sever; 
         [0181]    the step that prompt the user is conducting a dangerous operation and check whether the user continues the operation further includes: determine whether any user&#39;s choice is detected, if yes, check whether the user continue the operation; otherwise, the IE is prevented from loading the URL of IE, and Step  107  is returned to; 
         [0182]    Step  111 , the widget obtains and determines a URL, with which the URL of IE meets the preset vague match condition, the preset account combination corresponding to information of all banks is obtained and Step  114  is executed if the URL is a URL in the white list; Step  112  is executed if the URL is a URL in the customized white list corresponding to information of each bank; 
         [0183]    for instance, the URL of IE is https://www.tmall.com, which is same as the URL in the general white list, the preset account combination corresponding to information of all banks saved in the memory are obtained; 
         [0184]    Step  112 , the widget obtains bank information corresponding to the URL, with which the URL of IE meets the preset vague match condition, from the memory; 
         [0185]    for example, the URL entered is http://camdchina.com, and the URL, with which the URL of IE meets the preset vague match condition, is http://cmbchina.com, the corresponding bank information is ABCBank; 
         [0186]    Step  113 , the widget obtains an encrypted preset account combination corresponding to the bank information from the memory, and decrypts the encrypted preset account combination to obtain the preset account combination; 
         [0187]    preferably, the preset account combination is saved in the form of regular expression, in which, the regular expression is started with ̂, and ended with $; for example, A622825\d{13}$, a regular expression, means that ̂ is a start, and behind it is a fixed value 622825, behind the fixed value is numbers of 13 bits, and then $ is an end; 
         [0188]    in the present Embodiment 2, decrypting the encrypted preset account combination to obtain the preset account combination specifically is realized in such a way that the encrypted preset account combination is decrypted via a preset decipher algorithm, preferably, the preset decipher algorithm is RC4 algorithm, additionally, the preset decipher algorithm may be MD5 algorithm, etc; 
         [0189]    for example, the obtained preset account combination is:
   ̂622825\d{13}$   ̂622826\d{13}$   ̂622827\d{13}$   ̂491025\d{10}$   ̂491027\d{10}$   ̂491028\d{10}$   ̂491029\d{10}$   
 
         [0197]    Step  114 , the widget waits for receiving information of key entered by the user; 
         [0198]    Step  115 , the widget determines whether the key is a number key after the information entered by the user is received, if yes, Step  116  is executed; otherwise, continue to execute Step  114 ; 
         [0199]    in the present Embodiment 2, the anti-phishing widget needs to monitor account information, the numbers received need to be processed if the key is the number key; if the preset account combination is conformed to, that the user is conducting a dangerous operation is prompted, in this way, the anti-phishing is safer; 
         [0200]    Step  116 , the widget determines whether a current focus widget is an input widget, if yes, Step  117  is executed; otherwise, Step  114  is executed; 
         [0201]    in the present Embodiment 2, the current focus widgets are widgets clicked by a mouse, which include: an input widget, a button widget, a Radio Button widget and a Check Box widget, etc, in which, the input widget includes an input-account widget and an input-password widget, etc; 
         [0202]    Step  117 , the widget determines whether the input widget is the input-password widget, if yes, execute Step  114 ; otherwise, execute Step  118 ; 
         [0203]    Step  118 , the widget determines whether characters in the input widget conform to the preset account combination, if yes, execute Step  119 ; otherwise, continue to execute Step  114 ; 
         [0204]    for instance, the characters received by the anti-phishing widget from the input widget are numbers which are 6228 2700 0101 0202 030, and the numbers meet the preset account combination, Step  119  is executed; 
         [0205]    Step  119 , the widget prompts the user is conducting a dangerous operation, and checks whether the user continue the operation, if yes, the IE is informed to jump to the user access interface, and Step  107  is returned; otherwise, the IE is prevented from loading the user access interface, and Step  107  is returned to; 
         [0206]    in the present Embodiment 2, the URL is a website trusted by the user if the user continues the operation, thus, the URL of IE is saved in the local white list; 
         [0207]    in the present Embodiment 2, in the case that the characters in the input box received by the anti-phishing widget are numbers and conform to the preset account combination, the characters entered by the user may be an account, it is needed to prompt the user that the URL may be dangerous and wait for a determination from the user if the URL is not in the white list; 
         [0208]    in which, prompting that the user is conducting a dangerous operation, and checking whether the user continues the operation further includes: determine whether any user&#39;s choice is detected in the preset duration, if yes, check whether the user continues the operation; otherwise, the IE is prevented from loading the user access interface, and Step  107  is returned to. 
       Embodiment 3 
       [0209]    The present Embodiment 3 provides a method for realizing anti-phishing in internet, as shown in  FIG. 5 , the method includes: an IE is started, an anti-phishing widget is loaded, in which the anti-phishing widget executes (hereinafter the anti-phishing widget is called as widget for short) following steps: 
         [0210]    Step  201 , the widget reads an install path from a registry; 
         [0211]    in which, the install path is configured to identify storage locations of an encrypted black list, an encrypted white list and an encrypted preset account combination in a memory; 
         [0212]    in the present Embodiment 3, the install path includes a black list, a white list and a preset account combination; and URL data in the black list and the white list is black and white lists of a specific bank, information of the specific bank corresponds one preset account combination; 
         [0213]    Step  202 , the widget determines whether any black list, white list or preset account combination exist under the install path, if yes, Step  204  is executed; otherwise, Step  203  is executed; 
         [0214]    Step  203 , the widget informs a back-end service of E-bank assistant to download a black list, a white list and a preset account combination from a sever, and an encrypted black list, an encrypted white list and an encrypted preset account combination, which are received, are saved under the install path, and Step  204  is executed; 
         [0215]    in the present Embodiment 3, operation in Step  203  is same as the operation in Step  103  in Embodiment 1, no more details need to be given herein; 
         [0216]    Step  204 , the widget reads the encrypted black list, the encrypted white list and the encrypted preset account combination from the install path; 
         [0217]    Step  205 , the widget decrypts the encrypted black list, the encrypted white list and the encrypted preset account combination which are read to obtain the black list, the white list and the preset account combination; 
         [0218]    specifically, the widget decrypts the encrypted black list, the encrypted white list and the encrypted preset account combination via a preset decipher algorithm, preferably, the preset decipher algorithm is RC4 algorithm, additionally, the preset decipher algorithm may be MD5 algorithm, etc; 
         [0219]    in the present Embodiment 3, for example, if the black list and the white list are XML files, the black list and the white list obtained by the anti-phishing widget are: 
         [0000]    
       
         
               
               
             
               
               
             
               
               
             
           
               
                   
                   
               
             
             
               
                   
                 &lt;?xml version=“1.0” encoding=“utf-8”?&gt; 
               
               
                   
                 &lt;FTCheck&gt; 
               
               
                   
                 &lt;ABCBank&gt; 
               
             
          
           
               
                   
                 &lt;BlackList&gt; 
               
               
                   
                  &lt;WebSite url=“http://www.abcrchina.cn”&gt;&lt;/WebSite&gt; 
               
               
                   
                  &lt;WebSite url=“http://www.abichina.cn”&gt;&lt;/WebSite&gt; 
               
               
                   
                  &lt;WebSite url=“http://www.abcichina.cn”&gt;&lt;/WebSite&gt; 
               
               
                   
                 &lt;/BlackList&gt; 
               
               
                   
                 &lt;WhiteList&gt; 
               
               
                   
                  &lt;WebSite url=“http://*.cmbchina.com”&gt;&lt;/WebSite&gt; 
               
               
                   
                 &lt;/WhiteList&gt; 
               
             
          
           
               
                   
                 &lt;/ABCBank&gt; 
               
               
                   
                 &lt;/FTCheck&gt; 
               
               
                   
                   
               
             
          
         
       
     
         [0220]    Step  206 , the widget obtains bank information, a customized black list and a customized white list from the black list and the white list, and saves them into the memory; 
         [0221]    for example, the customized black list obtained from the black list and the white list is: 
         [0222]    url=“http://www.abcrchina.cn” 
         [0223]    url=“http://www.abichina.cn” 
         [0224]    url=“http://www.abcichina.cn” 
         [0225]    the customized white list obtained from the black list and the white list is: 
         [0226]    url=“http://cmbchina.com” 
         [0227]    Step  207 , the widget waits for receiving URL of IE, and determines whether the URL is in the customized black list, if yes, the URL of IE is prevented from being loaded by the IE, and Step  207  is returned to; otherwise, Step  208  is executed; 
         [0228]    for example, the URL of IE received by the widget is “http://www.abcrchina.cn” which can be found in the black list; 
         [0229]    Step  208 , the widget determines whether the URL of IE is in the customized white list, if yes, the IE is informed to load the URL of IE, and Step  207  is returned to; otherwise, Step  209  is executed; 
         [0230]    for example, the URL of IE received by the widget is “http://cmbchina.com” which can be found in the customized white list, thus, the IE is informed to load the URL of IE; 
         [0231]    Step  209 , the widget determines whether the URL of IE and URL in the customized white list meet a preset vague match condition, if yes, Step  210  is executed; otherwise, the IE is informed to load the URL of IE, and Step  207  is returned to; 
         [0232]    in the present Embodiment 3, the operation in Step  209  is same as the operation in Step  109  in Embodiment 1, no more details need to be given herein; 
         [0233]    for example, the URL of IE is http://camdchina.com, with which the URL, http://cmbchina.com, in the white list meets the preset vague match condition, because difference of characters between the two URL is 2; 
         [0234]    Step  210 , the widget prompts that the user is conducting a dangerous operation, and checks whether the user continues the operation, if yes, the IE is informed to load the URL of IE, and Step  211  is executed; otherwise, the IE is prevented from loading the URL of IE, and Step  207  is returned to; 
         [0235]    Step  211 , the widget obtains bank information corresponding to the URL in the white list, with which the URL of IE meets the preset vague match condition, and obtains the preset account combination corresponding to the bank information; 
         [0236]    in the present Embodiment 3, Step  204  and Step  205  may also be performed in such a way that the encrypted black list and the encrypted white list are obtained from the install path, and the encrypted black list and the encrypted white list are decrypted to obtain the black list and the white list; correspondingly, Step  211  specifically includes: the bank information corresponding to the URL, with which the URL of IE meets the preset vague match condition, in the customized white list is obtained, the encrypted preset account combination corresponding to the bank information is obtained, and the encrypted preset account combination is decrypted to obtain the preset account combination; 
         [0237]    in the present Embodiment 3, the preset account combination obtained by the widget is: 
         [0238]    ̂622825\d{13}$ 
         [0239]    ̂622826\d{13}$ 
         [0240]    ̂622827\d{13}$ 
         [0241]    ̂491025\d{10}$ 
         [0242]    ̂491027\d{10}$ 
         [0243]    ̂491028\d{10}$ 
         [0244]    ̂491029\d{10}$ 
         [0245]    Step  212 , the widget waits for receiving information of key entered by the user; Step  213 , the widget determines whether the key received is a number key when the information of key entered by the user is received by the widget, if yes, Step  214  is executed; otherwise, Step  212  is returned to; 
         [0246]    Step  214 , the widget determines whether a current focus widget is an input widget, if yes, Step  215  is executed; otherwise, Step  212  is returned to; 
         [0247]    Step  215 , the widget determines whether the input widget is an input-password widget, if yes, Step  212  is executed; otherwise, Step  216  is executed; 
         [0248]    Step  216 , the widget determines whether characters in the input widget conform to the preset account combination, if yes, Step  217  is executed; otherwise, Step  212  is returned to; 
         [0249]    for example, if the characters in the input widget received by the anti-phishing widget is numbers which is 6228 2700 0101 0202 030, the characters meet the preset account combination; 
         [0250]    Step  217 , the widget prompts that the user is conducting a dangerous operation, and checks whether the user prefers to continue the operation, if yes, the IE is informed to jump to the user access interface, and Step  207  is returned to; otherwise, the IE is prevented from loading the user access interface, and Step  207  is returned to; 
         [0251]    in the present Embodiment 3, the URL is a trusted website if the user continues the operation, thus, the URL is saved in a local white list; 
         [0252]    in which, prompting that the user is conducting a dangerous operation, and checking whether the user continues the operation further includes: whether any user&#39;s choice is detected in a preset duration is determined, if yes, whether the user continues the operation is checked; otherwise, the IE is prevented from loading the user access interface. 
         [0253]    Embodiment 1 in the present invention applies for operations of all banks, while Embodiment 2 in the present invention applies for operations of specific banks, but the core technologies in Embodiment 1 and in Embodiment 2 are same as each other, which have same advantages. 
         [0254]    While the preferred Embodiments of the present invention have been shown and described herein, it will be obvious for those skilled in the art that such Embodiments are provided by way of examples only. Any changes and substitutions will be covered by the scope of protection of the present invention. It is intended that the appended claims define the scope of protection of the present invention.