Update page 'OWASP test - Sloetjes'

xuanyi.wang
2023-05-25 17:10:18 +02:00
parent 5dd4b59c70
commit 19656179b0
+8 -13
@@ -8,19 +8,14 @@
* Describe some logic to monitor failed logins, and using geolocation of the incoming IP address, the permissions of the username trying to log in, and the number of previously failed logins, a procedure to determine whether to alert administrators to a genuine break-in attempt vs a brute-force attempt. * Describe some logic to monitor failed logins, and using geolocation of the incoming IP address, the permissions of the username trying to log in, and the number of previously failed logins, a procedure to determine whether to alert administrators to a genuine break-in attempt vs a brute-force attempt.
> Monitor each login attempt, successful or not. > Monitor each login attempt, successful or not.
If a login attempt fails: > If a login attempt fails:
Record the IP address, timestamp, and username. > Record the IP address, timestamp, and username.
Increase the count of failed attempts for this IP address and/or username. > Increase the count of failed attempts for this IP address and/or username.
If there are more than a certain number of failed attempts in a certain timeframe from the same IP or username: > If there are more than a certain number of failed attempts in a certain timeframe from the same IP or username:
Use a geolocation service to identify the location of the IP. > Use a geolocation service to identify the location of the IP.
Compare this location to the known or expected location of the user. > Compare this location to the known or expected location of the user.
Check the user's permission level. Higher-risk users (like admins) may warrant tighter security measures. > Check the user's permission level. Higher-risk users (like admins) may warrant tighter security measures.
If the location doesn't match or there are too many attempts, it may be a brute force or break-in attempt. Notify the administrators based on these factors. > If the location doesn't match or there are too many attempts, it may be a brute force or break-in attempt. Notify the administrators based on these factors.
* Describe the lifetime of a session-only cookie, and how this could be used to create a session authorization token. * Describe the lifetime of a session-only cookie, and how this could be used to create a session authorization token.
* Describe the logic the web server should use when being presented with a session authorization token from a user, which isn't in the server's corresponding database. * Describe the logic the web server should use when being presented with a session authorization token from a user, which isn't in the server's corresponding database.