Suspicious Ruby on Rails Framework Exceptions (via application)

This rule detects anomalous Ruby on Rails exceptions that could indicate exploitation attempts

Sigmamediumv1
sigma
title: Suspicious Ruby on Rails Framework Exceptions (via application)
id: b39b8461-2358-505a-99e2-505450ba9e04
status: stable
description: This rule detects anomalous Ruby on Rails exceptions that could indicate exploitation attempts
references:
    - https://attack.mitre.org/techniques/T1190/
    - http://edgeguides.rubyonrails.org/security.html
    - http://guides.rubyonrails.org/action_controller_overview.html
    - https://stackoverflow.com/questions/25892194/does-rails-come-with-a-not-authorized-exception
    - https://github.com/rails/rails/blob/cd08e6bcc4cd8948fe01e0be1ea0c7ca60373a25/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
author: Huntrule Team
date: 2026-04-14
tags:
    - attack.initial-access
    - attack.t1190
logsource:
    category: application
    product: ruby_on_rails
detection:
    keywords:
        - ActionController::InvalidAuthenticityToken
        - ActionController::InvalidCrossOriginRequest
        - ActionController::MethodNotAllowed
        - ActionController::BadRequest
        - ActionController::ParameterMissing
    condition: keywords
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.