Files
blue-team-tools/rules/proxy/proxy_ua_suspicious.yml
T

34 lines
996 B
YAML
Raw Normal View History

2017-07-08 09:59:05 -06:00
title: Suspicious User Agent
status: experimental
description: Detects suspicious malformed user agent strings in proxy logs
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'
- '_'
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