Files
blue-team-tools/rules/proxy/proxy_ua_suspicious.yml
T
2018-09-04 11:33:05 +02:00

34 lines
996 B
YAML

title: Suspicious User Agent
status: experimental
description: Detects suspicious malformed user agent strings in proxy logs
references:
- https://github.com/fastly/waf_testbed/blob/master/templates/default/scanners-user-agents.data.erb
author: Florian Roth
logsource:
category: proxy
detection:
selection:
UserAgent:
# Badly scripted UA
- 'user-agent' # User-Agent: User-Agent:
- '* (compatible;MSIE *' # typical typo - missing space
- '*.0;Windows NT *' # typical typo - missing space
- 'Mozilla/3.0 *'
- 'Mozilla/2.0 *'
- 'Mozilla/1.0 *'
- 'Mozilla *' # missing slash
- ' Mozilla/*' # leading space
- 'Mozila/*' # single 'l'
- '_'
falsepositives:
UserAgent:
- 'Mozilla/3.0 * Acrobat *' # Acrobat with linked content
condition: selection and not falsepositives
fields:
- ClientIP
- URL
- UserAgent
falsepositives:
- Unknown
level: high