SigmaHQ/rules/application/appframework_django_exceptions.yml

32 lines
967 B
YAML
Raw Normal View History

title: Django framework exceptions
2017-08-06 21:22:31 +00:00
description: Detects suspicious Django web application framework exceptions that could indicate exploitation attempts
2017-08-05 21:56:13 +00:00
author: Thomas Patzke
references:
2017-08-04 22:56:05 +00:00
- https://docs.djangoproject.com/en/1.11/ref/exceptions/
- https://docs.djangoproject.com/en/1.11/topics/logging/#django-security
logsource:
category: application
2017-08-04 22:56:05 +00:00
product: django
detection:
keywords:
- SuspiciousOperation
# Subclasses of SuspiciousOperation
- DisallowedHost
- DisallowedModelAdminLookup
- DisallowedModelAdminToField
- DisallowedRedirect
- InvalidSessionKey
- RequestDataTooBig
- SuspiciousFileOperation
- SuspiciousMultipartForm
- SuspiciousSession
- TooManyFieldsSent
# Further security-related exceptions
- PermissionDenied
condition: keywords
falsepositives:
- Application bugs
- Penetration testing
level: medium