I should recommend this whitepaper with all the technical details related to your idea: https://wallarm.com/files/resources/Wallarm%20AI%20Engine.pdf
Technically you need to solve 3 tasks to apply application-specific detection in the right way:
application endpoints profiling (clustering or so) to find all the web scripts and API calls, like /api/user/create
/api/user/create
, etcdata profiling. To understand wichwhich kind of data is legitimate for each parameter in each endpoint. I.e. to understand that your "login" field in a "/api/user/create"
/api/user/create
should lookslook like an email addressattacks classification. To understand, for example, isif an abnormal data in a "login" field at "/api/user/create"the
/api/user/create
endpoint looks like SQL injection, or I just have a De'Contour lastname with a quote inside.