{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,20]],"date-time":"2026-10-20T09:44:11Z","timestamp":1792489451563,"version":"4.5.0"},"reference-count":37,"publisher":"MDPI AG","issue":"10","license":[{"start":{"date-parts":[[2026,10,4]],"date-time":"2026-10-04T00:00:00Z","timestamp":1791072000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"},{"start":{"date-parts":[[2026,10,4]],"date-time":"2026-10-04T00:00:00Z","timestamp":1791072000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Science and Technology Project of State Grid Gansu Electric Power Company","award":["522709260006"],"award-info":[{"award-number":["522709260006"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Information"],"abstract":"<jats:p>To address the challenges in malicious request detection in smart grid cloud service scenarios, including the difficulty of effectively capturing the semantic relationships within payloads, the large parameter scale and high inference costs of pre-trained language models, an efficient and relatively lightweight, fine-grained malicious request detection model named DFEF-Net (DistilBERT-based FiLM-enhanced Expert Feature Network, DFEF-Net) is proposed. First, the model is based on the lightweight pre-trained language model DistilBERT and constructs 14-dimensional expert-based features to characterize the statistical information of request payloads, so as to strengthen its ability to represent request structural features and anomalous patterns. Second, the feature-wise linear modulation (FiLM) mechanism is introduced to adaptively modulate deep semantic features, effectively fusing semantic features with structural features. Finally, experiments on the proposed scheme are conducted on four public Web\/HTTP attack datasets (HttpParams, HTTP CSIC 2010, FWAF, and SecureAI-SE). On these benchmarks, DFEF-Net achieves over 99% accuracy in binary attack detection on all four datasets. In multi-class attack identification, DFEF-Net reaches 99.27% macro-F1 on HttpParams and 97.00% on SecureAI-SE. RoBERTa slightly surpasses it on SecureAI-SE but drops to 59.53% macro-F1 on HttpParams, whereas DFEF-Net maintains balanced recognition across both datasets. Per-class analysis and multi-seed results further show relatively consistent fine-grained recognition across attack categories. Compared with BERT-based baseline models, DFEF-Net reduces model parameter count by approximately 39%, model size by 39%, FLOPs by 50%, and per-request inference latency by approximately 40\u201360% under the evaluated protocol. Consequently, the proposed approach offers a favorable trade-off among detection performance, computational cost, and fine-grained attack identification on the evaluated public Web\/HTTP benchmarks, providing an efficient algorithmic basis for future evaluation in smart grid cloud services, while domain-specific validation on real smart-grid traffic remains necessary.<\/jats:p>","DOI":"10.3390\/info17100980","type":"journal-article","created":{"date-parts":[[2026,10,5]],"date-time":"2026-10-05T12:31:31Z","timestamp":1791203491000},"page":"980","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["A Lightweight Fine-Grained Malicious Request Detection Model Towards Smart Grid Cloud Services"],"prefix":"10.3390","volume":"17","author":[{"given":"Chao","family":"Ma","sequence":"first","affiliation":[{"name":"State Grid Pingliang Electric Power Supply Company, Pingliang 744000, China"}],"role":[{"vocabulary":"crossref","role":"author"},{"role":"writing-original-draft","vocabulary":"credit"}]},{"given":"Xiang","family":"Li","sequence":"additional","affiliation":[{"name":"State Grid Pingliang Electric Power Supply Company, Pingliang 744000, China"}],"role":[{"vocabulary":"crossref","role":"author"},{"role":"methodology","vocabulary":"credit"}]},{"given":"Haopeng","family":"Shi","sequence":"additional","affiliation":[{"name":"State Grid Pingliang Electric Power Supply Company, Pingliang 744000, China"}],"role":[{"vocabulary":"crossref","role":"author"},{"role":"validation","vocabulary":"credit"}]},{"given":"Ke","family":"Yang","sequence":"additional","affiliation":[{"name":"State Grid Pingliang Electric Power Supply Company, Pingliang 744000, China"}],"role":[{"vocabulary":"crossref","role":"author"},{"role":"resources","vocabulary":"credit"}]},{"given":"Zhipeng","family":"Qu","sequence":"additional","affiliation":[{"name":"Digitalization Division of State Grid Gansu Electric Power Company, Lanzhou 730000, China"}],"role":[{"vocabulary":"crossref","role":"author"},{"role":"resources","vocabulary":"credit"}]},{"given":"Guijun","family":"Liu","sequence":"additional","affiliation":[{"name":"School of Computer Science and Technology, Xi\u2019an Jiaotong University, Xi\u2019an 710049, China"}],"role":[{"vocabulary":"crossref","role":"author"},{"role":"writing-review-editing","vocabulary":"credit"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-9140-2248","authenticated-orcid":false,"given":"Xuheng","family":"Wang","sequence":"additional","affiliation":[{"name":"School of Computer Science and Technology, Xi\u2019an Jiaotong University, Xi\u2019an 710049, China"}],"role":[{"vocabulary":"crossref","role":"author"},{"role":"writing-review-editing","vocabulary":"credit"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4384-9891","authenticated-orcid":false,"given":"Xiaolin","family":"Gui","sequence":"additional","affiliation":[{"name":"School of Computer Science and Technology, Xi\u2019an Jiaotong University, Xi\u2019an 710049, China"}],"role":[{"vocabulary":"crossref","role":"author"},{"role":"methodology","vocabulary":"credit"}]}],"member":"1968","published-online":{"date-parts":[[2026,10,4]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Alomari, M.A., Al-Andoli, M.N., Ghaleb, M., Thabit, R., Alkawsi, G., Alsayaydeh, J.A.J., and Gaid, A.S.A. (2025). Security of Smart Grid: Cybersecurity Issues, Potential Cyberattacks, Major Incidents, and Future Directions. Energies, 18.","DOI":"10.3390\/en18010141"},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"80","DOI":"10.1109\/MCOM.2017.1700360","article-title":"A Cloud-Edge Computing Framework for Cyber-Physical-Social Services","volume":"55","author":"Wang","year":"2017","journal-title":"IEEE Commun. Mag."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"67","DOI":"10.1504\/IJSN.2025.146763","article-title":"A Survey of Intruder Detection in Smart Grid Systems: Comparative Analysis of Rule-Based, Machine Learning and Deep Learning","volume":"20","author":"Shehzadi","year":"2025","journal-title":"Int. J. Secur. Netw."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"100915","DOI":"10.1016\/j.cosrev.2026.100915","article-title":"Cyber Attack Detection in Smart Grids: A Survey of Methods, Challenges and Future Directions","volume":"60","author":"Vigneshwaran","year":"2026","journal-title":"Comput. Sci. Rev."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"5378","DOI":"10.1109\/TSG.2025.3580683","article-title":"Locational Detection of False Data Injection Attacks in Smart Grids: A Cloud-Edge Framework Based on Split Learning","volume":"16","author":"Kesici","year":"2025","journal-title":"IEEE Trans. Smart Grid"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Ibrahim, N., and Kashef, R. (2025). Exploring the Emerging Role of Large Language Models in Smart Grid Cybersecurity: A Survey of Attacks, Detection Mechanisms, and Mitigation Strategies. Front. Energy Res., 13.","DOI":"10.3389\/fenrg.2025.1531655"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"135","DOI":"10.1109\/OAJPE.2026.3656761","article-title":"Large Language Models for Detecting Cyberattacks on Smart Grid Protective Relays","volume":"13","author":"Saber","year":"2026","journal-title":"IEEE Open Access J. Power Energy"},{"key":"ref_8","first-page":"1","article-title":"Machine Learning and Deep Learning Approaches for SQL Injection Detection: A Review","volume":"4","author":"Ahmed","year":"2025","journal-title":"NTU J. Eng. Technol."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"032114","DOI":"10.1007\/s11432-017-9288-4","article-title":"An Adaptive System for Detecting Malicious Queries in Web Attacks","volume":"61","author":"Dong","year":"2018","journal-title":"Sci. China Inf. Sci."},{"key":"ref_10","unstructured":"Machlica, L., Bartos, K., and Sofka, M. (2017). Learning Detectors of Malicious Web Requests for Intrusion Detection in Network Traffic. arXiv."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Alhamyani, R., and Alshammari, M. (2024). Machine Learning-Driven Detection of Cross-Site Scripting Attacks. Information, 15.","DOI":"10.3390\/info15070420"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Tian, Y., Wang, J., Zhou, Z., and Zhou, S. (2017, January 8\u201310). CNN-Webshell: Malicious Web Shell Detection with Convolutional Neural Network. Proceedings of the 2017 VI International Conference on Network, Communication and Computing, Kunming, China.","DOI":"10.1145\/3171592.3171593"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Zhang, M., Xu, B., Bai, S., Lu, S., and Lin, Z. (2017). A Deep Learning Method to Detect Web Attacks Using a Specially Designed CNN. Proceedings of the Neural Information Processing, Springer International Publishing.","DOI":"10.1007\/978-3-319-70139-4_84"},{"key":"ref_14","first-page":"88","article-title":"Research of Webshell Detection Based on RNN","volume":"56","author":"Zhou","year":"2020","journal-title":"Comput. Eng. Appl."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Alorainy, W. (2025). Unveiling XSS Threats: A Bipartite Graph Approach with Ensemble Deep Learning for Enhanced Detection. Information, 16.","DOI":"10.3390\/info16020097"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Wang, J., Zhou, Z., and Chen, J. (2018, January 26\u201328). Evaluating CNN and LSTM for Web Attack Detection. Proceedings of the 2018 10th International Conference on Machine Learning and Computing, Macau, China.","DOI":"10.1145\/3195106.3195107"},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Hao, S., Long, J., and Yang, Y. (2019). BL-IDS: Detecting Web Attacks Using Bi-LSTM Model Based on Deep Learning. Proceedings of the Security and Privacy in New Computing Environments, Springer International Publishing.","DOI":"10.1007\/978-3-030-21373-2_45"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"68633","DOI":"10.1109\/ACCESS.2022.3185748","article-title":"An Attack Detection Framework Based on BERT and Deep Learning","volume":"10","author":"Seyyar","year":"2022","journal-title":"IEEE Access"},{"key":"ref_19","unstructured":"Gniewkowski, M., Maciejewski, H., Surmacz, T.R., and Walentynowicz, W. (2021). HTTP2vec: Embedding of HTTP Requests for Detection of Anomalous Traffic. arXiv."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Qi, R., Rasband, C., Zheng, J., and Longoria, R. (2021). Detecting Cyber Attacks in Smart Grids Using Semi-Supervised Anomaly Detection and Deep Representation Learning. Information, 12.","DOI":"10.3390\/info12080328"},{"key":"ref_21","unstructured":"Li, N., Lu, C., Zhao, L., Teng, Z., Wang, Z., Sun, Y., and Gui, X. (2023, January 26\u201328). A Web Attack Detection Method Based on DistilBERT and Feature Fusion for Power Micro-Application Server. Proceedings of the 2023 2nd International Conference on Advanced Electronics, Electrical and Green Energy (AEEGE), Singapore."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Zhang, X., Yin, Y., Huang, Y., and Dong, Y. (2025, January 6\u20138). Research on Injection Attack Detection Method Based on Bert-CNN. Proceedings of the 2025 7th International Conference on Next Generation Data-Driven Networks (NGDN), Shenyang, China.","DOI":"10.1109\/NGDN66208.2025.11182140"},{"key":"ref_23","first-page":"143","article-title":"Power System Anomaly Detection and Classification Based on State Estimation and Deep Learning","volume":"51","author":"Zheng","year":"2025","journal-title":"J. Lanzhou Univ. Technol."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"13","DOI":"10.1080\/19393555.2024.2362813","article-title":"An Explainable Machine Learning-Based Web Attack Detection System for Industrial IoT Web Application Security","volume":"35","author":"Chakir","year":"2026","journal-title":"Inf. Secur. J. A Glob. Perspect."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"37792","DOI":"10.1038\/s41598-025-21409-4","article-title":"Incident-Aware Smart Prioritization Framework for Penetration Testing and Prevention of URL-Based Cybersecurity Attacks in Industry 4.0 IoT Networks","volume":"15","author":"Nurlan","year":"2025","journal-title":"Sci. Rep."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"37972","DOI":"10.1038\/s41598-025-21826-5","article-title":"Evaluating Large Transformer Models for Anomaly Detection of Resource-Constrained IoT Devices for Intrusion Detection System","volume":"15","author":"Almadhor","year":"2025","journal-title":"Sci. Rep."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"8475","DOI":"10.1109\/TII.2025.3582375","article-title":"KD-BERT: A Lightweight Knowledge Distillation Bidirectional Encoder Representations from Transformers for IoT Network Intrusion Detection","volume":"21","author":"Cao","year":"2025","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_28","unstructured":"SecureAI-SE (2026, August 31). HTTP Attack Requests. Hugging Face Dataset. Available online: https:\/\/huggingface.co\/datasets\/SecureAI-SE\/http-attack-requests."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Devlin, J., Chang, M.W., Lee, K., and Toutanova, K. (2019, January 2\u20137). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Minneapolis, MN, USA.","DOI":"10.18653\/v1\/N19-1423"},{"key":"ref_30","unstructured":"Sanh, V., Debut, L., Chaumond, J., and Wolf, T. (2019). DistilBERT, a Distilled Version of BERT: Smaller, Faster, Cheaper and Lighter. arXiv."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Le, A., Markopoulou, A., and Faloutsos, M. (2011, January 10\u201315). PhishDef: URL Names Say It All. Proceedings of the 2011 IEEE INFOCOM, Shanghai, China.","DOI":"10.1109\/INFCOM.2011.5934995"},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Buber, E., Diri, B., and Sahingoz, O.K. (2017, January 5\u20138). Detecting Phishing Attacks from URL by Using NLP Techniques. Proceedings of the 2017 International Conference on Computer Science and Engineering (UBMK), Antalya, Turkey.","DOI":"10.1109\/UBMK.2017.8093406"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Perez, E., Strub, F., de Vries, H., Dumoulin, V., and Courville, A. (2018, January 2\u20137). FiLM: Visual Reasoning with a General Conditioning Layer. Proceedings of the AAAI Conference on Artificial Intelligence, New Orleans, LO, USA.","DOI":"10.1609\/aaai.v32i1.11671"},{"key":"ref_34","unstructured":"(2026, August 31). CSIC 2010 Web Application Attacks. Kaggle Dataset. Available online: https:\/\/www.kaggle.com\/datasets\/ispangler\/csic-2010-web-application-attacks."},{"key":"ref_35","unstructured":"Ahmad, F. (2026, August 31). Fwaf-Machine-Learning-Driven-Web-Application-Firewall. GitHub Repository. Available online: https:\/\/github.com\/faizann24\/Fwaf-Machine-Learning-driven-Web-Application-Firewall."},{"key":"ref_36","unstructured":"(2026, August 31). HttpParamsDataset. GitHub Repository. Available online: https:\/\/github.com\/Morzeux\/HttpParamsDataset."},{"key":"ref_37","unstructured":"(2026, August 31). PayloadsAllTheThings Contributors. PayloadsAllTheThings. GitHub Repository. Available online: https:\/\/github.com\/swisskyrepo\/PayloadsAllTheThings."}],"container-title":["Information"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2078-2489\/17\/10\/980\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,20]],"date-time":"2026-10-20T09:37:58Z","timestamp":1792489078000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2078-2489\/17\/10\/980"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10,4]]},"references-count":37,"journal-issue":{"issue":"10","published-online":{"date-parts":[[2026,10]]}},"alternative-id":["info17100980"],"URL":"https:\/\/doi.org\/10.3390\/info17100980","relation":{},"ISSN":["2078-2489"],"issn-type":[{"value":"2078-2489","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,10,4]]}}}