ASE2024
Trident: Detecting SQL Injection Attacks via Abstract Syntax Tree-based Neural Network
Yuanlin Li, Zhiwei Xu, Min Zhou, Hai Wan, Xibin Zhao
摘要
SQL injection attacks have posed a significant threat to web applications for decades. They obfuscate malicious codes into natural SQL statements so as to steal sensitive data, making them difficult to detect. Generally, malicious signals can be identified by using the contextual information of SQL statements. Such contextual information, however, is not always easily captured. Due to the fact that SQL as a formal language is highly structured, two tokens that are spatially far away may be semantically very close. An effective approach thus should take the structural feature of SQL statements into account when modeling their contextual information.