Randomized SQL Statement Detection Based on SQL Parser
Jiaxin Ma, Zheng Zhang, Yuan Yao, Wanqiu Zhou · 2025
SQL injection attack (SQLIA) is one of the major security threats faced by Web applications. The SQL randomization method based on instruction set randomization can be used to detect and defend against SQL injection attacks. This paper analyzes the security issues present in traditional SQL randomization methods when detecting SQL injection attacks and proposes a randomized SQL statement detection method based on SQL parser. Experimental results demonstrate that this method effectively defends against SQL injection attacks, with the optimal implementation achieving a performance loss of only 5.73 %.