title: Java Process Abnormal End on Linux (auditd)
id: 6aac8363-0087-4310-bdb6-80908e212559
status: experimental
description: |
    Detects an auditd abnormal-end record (ANOM_ABEND) whose executable path ends in /java: a Java process that was ended by a signal such as a segmentation fault.
    A crash is a consequence that some memory-corruption flaws produce, but every Java crash from any cause produces the same record. This rule does not detect CVE-2026-114938 or any other flaw itself, and it misses a crash-free overrun and a renamed java binary.
    Needs auditd with abnormal-end records enabled (the kernel writes them when a process dumps core on a signal) and the exe field present.
    Tested only on synthetic lab lines, never on a real capture of the flaw; lab run 2026-11-22 with pySigma parsing and the lab's own evaluator, not a SIEM.
references:
    - https://cyray.io/attack-to-detection/t1190-java4shell-openjdk-base64-rce
author: CyRay
date: 2026-11-22
tags:
    - attack.initial-access
    - attack.t1190
logsource:
    product: linux
    service: auditd
detection:
    selection:
        type: 'ANOM_ABEND'
        exe|endswith: '/java'
    condition: selection
falsepositives:
    - Any Java crash with any cause (out of memory, a native library fault, a kill with a core signal)
    - Java services stopped by a debugger or a test harness
level: low
