1200kmSECURITY RESEARCH

1200KM / sigma-rule

Ruby on Rails Framework Exceptions — Sigma Rule

Sigma rule 0d2c3d4c-4b48-4ac3-8f23-ea845746bb1a. Ruby on Rails Framework Exceptions — Sigma Rule. Detects suspicious Ruby on Rails exceptions that could indicate exploitation attempts

Rule metadata and linked tags

Author: Thomas Patzke. Source status: stable; severity: medium. Source dates: 2017-08-06 / 2020-09-01.

{
  "category": "application",
  "product": "ruby_on_rails"
}

Pinned original Sigma rule · Detection Rule License 1.1

Source SHA-256: 180fab7c38a0840966f3a40c43cfcfac94fd3d3f8e136d46f48d57ee83d0b351

Detection logic

Original source YAML. Source-tag agreement is not proof of complete semantic coverage. This rule has not been compiled for a SIEM backend or validated against live telemetry here.

title: Ruby on Rails Framework Exceptions
id: 0d2c3d4c-4b48-4ac3-8f23-ea845746bb1a
status: stable
description: Detects suspicious Ruby on Rails exceptions that could indicate exploitation attempts
references:
    - 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: Thomas Patzke
date: 2017-08-06
modified: 2020-09-01
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:
    - Application bugs
level: medium

Original YAML and metadata in JSON

False positives

  • Application bugs

Source references

Connected ecosystem references

Exact source-tagged techniques

Telemetry review

Read the original logsource above, then inspect the linked detection workspaces for technique-level sensor context. No per-rule telemetry equivalence is inferred.

Pinned research references. No browser attack runner, live simulation result or validated detector is asserted. Source mappings and validation limits are preserved. ATT&CK / Atomic provenance · Detection provenance.