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