Detectionhightest

Java Payload Strings

Detects possible Java payloads in web access logs

Open in Detection LabConvert ruleBuild Package
François Hubaut, Harjot Singh, @cyb3rjy0tCreated 2022-06-04Updated 2023-01-19583aa0a2-30b1-4d62-8bf3-ab73689efe6cweb
Log Source
Web Server Log
CategoryWeb Server Log← raw: webserver

HTTP access logs from web servers capturing request paths, methods, and status codes.

Detection Logic
Detection Logic1 selector
detection:
    keywords:
        - '%24%7B%28%23a%3D%40'
        - '${(#a=@'
        - '%24%7B%40java'
        - '${@java'
        - 'u0022java'
        - '%2F%24%7B%23'
        - '/${#'
        - 'new+java.'
        - 'getRuntime().exec('
        - 'getRuntime%28%29.exec%28'
    condition: keywords
False Positives

Legitimate apps

MITRE ATT&CK

Other

cve.2022-26134cve.2021-26084
Rule Metadata
Rule ID
583aa0a2-30b1-4d62-8bf3-ab73689efe6c
Status
test
Level
high
Type
Detection
Created
2022-06-04
Modified
2023-01-19
Path
rules/web/webserver_generic/web_java_payload_in_access_logs.yml
Raw Tags
cve.2022-26134cve.2021-26084attack.initial-accessattack.t1190
View on GitHub