Detectionmediumtest

Suspicious Base64 Encoded User-Agent

Detects suspicious encoded User-Agent strings, as seen used by some malware.

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2023-05-04d443095b-a221-4957-a2c4-cd1756c9b747web
Log Source
Proxy Log
CategoryProxy Log← raw: proxy
Detection Logic
Detection Logic1 selector
detection:
    selection:
        c-useragent|startswith:
            - 'Q2hyb21l' # Chrome Encoded with offset to not include padding
            - 'QXBwbGVXZWJLaX' # AppleWebKit Encoded with offset to not include padding
            - 'RGFsdmlr' # Dalvik Encoded with offset to not include padding
            - 'TW96aWxsY'  # Mozilla Encoded with offset to not include padding (as used by YamaBot)
    condition: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
d443095b-a221-4957-a2c4-cd1756c9b747
Status
test
Level
medium
Type
Detection
Created
2023-05-04
Path
rules/web/proxy_generic/proxy_ua_base64_encoded.yml
Raw Tags
attack.command-and-controlattack.t1071.001
View on GitHub