ET WEB_SERVER Attempt To Access MSSQL xp_readerrorlogs Stored Procedure Via URI to View Error Logs


Query · suricata

flow:established,to_server;
http.uri;
content:"EXEC"; nocase;
content:"xp_readerrorlogs"; nocase;
Raw source ET WEB_SERVER Attempt To Access MSSQL xp_readerrorlogs Stored Procedure Via URI to View Error Logs · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (
    msg:"ET WEB_SERVER Attempt To Access MSSQL xp_readerrorlogs Stored Procedure Via URI to View Error Logs";
    flow:established,to_server;
    http.uri;
    content:"EXEC"; nocase;
    content:"xp_readerrorlogs"; nocase;
    reference:url,www.sql-server-performance.com/articles/dev/extended_stored_procedures_p1.aspx;
    reference:url,www.sqlteam.com/article/using-xp_readerrorlog-in-sql-server-2005;
    classtype:web-application-attack;
    sid:2009822; rev:8;
    metadata:created_at 2010_07_30, signature_severity Minor, updated_at 2020_09_14;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.