Detectionhightest

Webshell ReGeorg Detection Via Web Logs

Certain strings in the uri_query field when combined with null referer and null user agent can indicate activity associated with the webshell ReGeorg.

Open in Detection LabConvert ruleBuild Package
Cian HeasleyCreated 2020-08-04Updated 2023-01-022ea44a60-cfda-11ea-87d0-0242ac130003web
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 Logic2 selectors
detection:
    selection:
        cs-uri-query|contains:
            - 'cmd=read'
            - 'connect&target'
            - 'cmd=connect'
            - 'cmd=disconnect'
            - 'cmd=forward'
    filter:
        cs-referer: null
        cs-user-agent: null
        cs-method: POST
    condition: selection and filter
False Positives

Web applications that use the same URL parameters as ReGeorg

MITRE ATT&CK
Rule Metadata
Rule ID
2ea44a60-cfda-11ea-87d0-0242ac130003
Status
test
Level
high
Type
Detection
Created
2020-08-04
Modified
2023-01-02
Path
rules/web/webserver_generic/web_webshell_regeorg.yml
Raw Tags
attack.persistenceattack.t1505.003
View on GitHub