id: aspnet-framework-exceptions

info:
  name: ASP.NET Framework Exceptions
  author: Aayush Dhakal
  severity: info
  description: Detects suspicious ASP.NET framework exceptions that could indicate exploitation attempts
  reference:
    - https://docs.microsoft.com/en-us/dotnet/api/system.web.httpexception
  tags: file,logs,aspnet

file:
  - extensions:
      - all

    extractors:
      - type: regex
        name: exception
        part: body
        regex:
          - 'HttpException'
          - 'InvalidOperationException'
          - 'UnauthorizedAccessException'
          - 'NotFound'
# digest: 4b0a00483046022100866beca134bbbca78126c53c72a8d08e41fe57c93b3c210a87fb8d17ccb96f47022100f8b3644e9e4356ed166a1a9cda34eabce31ff1a773a77d6c98dfccacb1260df5:922c64590222798bb761d5b6d8e72950