2017-07-08 09:59:05 -06:00
|
|
|
title: Suspicious User Agent
|
|
|
|
|
status: experimental
|
|
|
|
|
description: Detects suspicious malformed user agent strings in proxy logs
|
2018-01-28 02:12:19 +03:00
|
|
|
references:
|
2017-07-08 09:59:05 -06:00
|
|
|
- https://github.com/fastly/waf_testbed/blob/master/templates/default/scanners-user-agents.data.erb
|
|
|
|
|
author: Florian Roth
|
|
|
|
|
logsource:
|
2017-09-11 00:35:52 +02:00
|
|
|
category: proxy
|
2017-07-08 09:59:05 -06:00
|
|
|
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'
|
|
|
|
|
- '_'
|
2018-09-04 11:33:05 +02:00
|
|
|
falsepositives:
|
|
|
|
|
UserAgent:
|
|
|
|
|
- 'Mozilla/3.0 * Acrobat *' # Acrobat with linked content
|
|
|
|
|
condition: selection and not falsepositives
|
2017-09-12 23:54:04 +02:00
|
|
|
fields:
|
|
|
|
|
- ClientIP
|
|
|
|
|
- URL
|
|
|
|
|
- UserAgent
|
2017-07-08 09:59:05 -06:00
|
|
|
falsepositives:
|
|
|
|
|
- Unknown
|
|
|
|
|
level: high
|