# Lightweight Supervised Approach for Behavioral Insider Anomaly Detection from SQL Logs

- Authors: Mahamodul Hasan Mahadi, Yamlick Abdullah, Md Sazib Ahmed, Nousheen Jahan, Md. Nasif Safwan, Hasibur Rashid Chayon
- Conference paper: 28th ICCIT 2025, 2025
- DOI: https://doi.org/10.1109/iccit68739.2025.11491429
- Read the paper: https://doi.org/10.1109/iccit68739.2025.11491429

## Summary

This study detects insider threats to databases using only SQL statements, without user-behaviour data or system-level logs. It extracts lexical and structural features including keyword counts, entropy, query nesting depth and join complexity, and trains a fine-tuned Random Forest classifier on them. On the CERT Insider Threat dataset, the SQL-only approach improved detection accuracy by 9.3% over the baseline model.

## Key results

- 9.3% higher detection accuracy than the baseline model on the CERT Insider Threat dataset
- Uses SQL statements alone: keyword counts, entropy, nesting depth and join complexity

## Cite this paper

```bibtex
@inproceedings{mahadi2025lightweight,
  title         = {Lightweight Supervised Approach for Behavioral Insider Anomaly Detection from SQL Logs},
  author        = {Mahadi, Mahamodul Hasan and
                   Abdullah, Yamlick and
                   Ahmed, Md Sazib and
                   Jahan, Nousheen and
                   Safwan, Md. Nasif and
                   Chayon, Hasibur Rashid},
  booktitle     = {28th ICCIT 2025},
  year          = {2025},
  doi           = {10.1109/iccit68739.2025.11491429},
  url           = {https://doi.org/10.1109/iccit68739.2025.11491429}
}
```

Page: https://www.archelab.org/publications/insider-anomaly
