Premise: Here we only discuss the significance of token to prevent brute-force cracking, and do not discuss other anti-brute-force cracking measures, such as verification codes. I have seen many articles saying that adding token can prevent brute force cracking, but I have not said why. According to the younger brother, after adding a token (type "hidden") to the form, this... premise: Here we only discuss the significance of token to prevent brute-force cracking, and do not discuss other anti-brute-force cracking measures, such as verification codes.
I have seen many articles saying that adding token can prevent brute force cracking, but I have not said why.
According to the younger brother, after adding token (type = "hidden") to the form, this token will be output in the front-end Source Code regardless of the algorithm, A brute-force attacker can still obtain the token before submitting the authentication. Does the token lose the meaning of brute-force protection?
What logic is it if it can be prevented? Which of the following heroes is troublesome. Thank you.
Reply content:
Premise: Here we only discuss the significance of token to prevent brute-force cracking, and do not discuss other anti-brute-force cracking measures, such as verification codes.
I have seen many articles saying that adding token can prevent brute force cracking, but I have not said why.
According to the younger brother, after adding token (type = "hidden") to the form, this token will be output in the front-end Source Code regardless of the algorithm, A brute-force attacker can still obtain the token before submitting the authentication. Does the token lose the meaning of brute-force protection?
What logic is it if it can be prevented? Which of the following heroes is troublesome. Thank you.
The function of form token is to prevent repeated submission and CSRF. Your idea is correct. The attacker only needs to obtain the token value and submit it directly. Brute-force cracking prevention should be understood as preventing automated and rapid requests to achieve the purpose of cracking, so verification code-type explosion-proof cracking is currently the mainstream.
It is useless. To prevent account cracking, consider locking the account for three times by mistake for 15 minutes. Although the password is not rooted, the cracking time is greatly prolonged. Of course, if you lock for 12 hours at once, you can try 6 times a day, 2200 times a year. It is estimated that you will lose hope in your lifetime.
No one answered .. 5555.
I personally think that token is effective for CSRF attacks, because Random Code creates great difficulties for attackers to "forge requests.
The token is generally used to prevent repeated submission. After submission, click the refresh button in the browser or click the back button to submit. This does not solve the brute-force cracking problem, unless the verification code or speed detection is added.
Of course, csrf attacks are also a major use of tokens.
The token is captured, and then the last password is requested again. You can create several more machines, each of which is divided into one interval for Distributed cracking.
It is okay to prevent repeated submissions, but the disadvantage is that it is more difficult for normal people to defend against the attacks of a gentleman.
You can check how yii2.0 prevents csrf attacks.