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: 4b0a00483046022100e9c4699d568c887b8ccad43def2a1c3ae063c07c2c6b0c94d33493206db3dd8d022100f333abb656532de09b6bb4f901ec17a971d2629a01792bad365fd0e6b8d74679:922c64590222798bb761d5b6d8e72950