Ruby on Rails Framework Exceptions

Detects suspicious Ruby on Rails exceptions that could indicate exploitation attempts

Sigma rule (View on GitHub)

 1title: Ruby on Rails Framework Exceptions
 2id: 0d2c3d4c-4b48-4ac3-8f23-ea845746bb1a
 3status: stable
 4description: Detects suspicious Ruby on Rails exceptions that could indicate exploitation attempts
 5references:
 6    - http://edgeguides.rubyonrails.org/security.html
 7    - http://guides.rubyonrails.org/action_controller_overview.html
 8    - https://stackoverflow.com/questions/25892194/does-rails-come-with-a-not-authorized-exception
 9    - https://github.com/rails/rails/blob/cd08e6bcc4cd8948fe01e0be1ea0c7ca60373a25/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb
10author: Thomas Patzke
11date: 2017-08-06
12modified: 2020-09-01
13tags:
14    - attack.initial-access
15    - attack.t1190
16logsource:
17    category: application
18    product: ruby_on_rails
19detection:
20    keywords:
21        - ActionController::InvalidAuthenticityToken
22        - ActionController::InvalidCrossOriginRequest
23        - ActionController::MethodNotAllowed
24        - ActionController::BadRequest
25        - ActionController::ParameterMissing
26    condition: keywords
27falsepositives:
28    - Application bugs
29level: medium

References

Related rules

to-top