Files
blue-team-tools/rules/web/proxy_generic/proxy_ua_susp.yml
T

56 lines
2.5 KiB
YAML
Raw Normal View History

2017-07-08 09:59:05 -06:00
title: Suspicious User Agent
2019-11-12 23:12:27 +01:00
id: 7195a772-4b3f-43a4-a210-6a003d65caa1
2017-07-08 09:59:05 -06:00
status: experimental
description: Detects suspicious malformed user agent strings in proxy logs
2022-10-25 10:08:58 +02:00
references:
- https://github.com/fastly/waf_testbed/blob/8bfc406551f3045e418cbaad7596cff8da331dfc/templates/default/scanners-user-agents.data.erb
2023-02-01 11:14:59 +01:00
author: Florian Roth (Nextron Systems)
date: 2017/07/08
2022-10-31 15:55:28 +01:00
modified: 2022/10/31
2022-10-25 10:08:58 +02:00
tags:
- attack.command_and_control
- attack.t1071.001
2017-07-08 09:59:05 -06:00
logsource:
2017-09-11 00:35:52 +02:00
category: proxy
2017-07-08 09:59:05 -06:00
detection:
2020-09-10 10:33:11 +02:00
selection1:
2022-07-07 15:24:15 +01:00
c-useragent|startswith:
- 'user-agent' # User-Agent: User-Agent:
- 'Mozilla/3.0 '
- 'Mozilla/2.0 '
- 'Mozilla/1.0 '
- 'Mozilla ' # missing slash
- ' Mozilla/' # leading space
- 'Mozila/' # single 'l'
- 'Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol' # https://twitter.com/NtSetDefault/status/1303643299509567488
2020-09-10 10:33:11 +02:00
selection2:
2022-07-07 15:24:15 +01:00
c-useragent|contains:
- ' (compatible;MSIE ' # typical typo - missing space
- '.0;Windows NT ' # typical typo - missing space
- 'loader' # https://twitter.com/securityonion/status/1522614635152744453?s=20&t=gHyPTSq5A27EqKwrCd9ohg
2020-09-10 10:33:11 +02:00
selection3:
2022-07-07 15:24:15 +01:00
c-useragent:
- '_'
- 'CertUtil URL Agent' # https://twitter.com/stvemillertime/status/985150675527974912
- 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0)' # CobaltStrike Beacon https://unit42.paloaltonetworks.com/tracking-oceanlotus-new-downloader-kerrdown/
- 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0' # used by APT28 malware https://threatvector.cylance.com/en_us/home/inside-the-apt28-dll-backdoor-blitz.html
- 'HTTPS' # https://twitter.com/stvemillertime/status/1204437531632250880
2022-10-21 16:56:54 +02:00
- 'Erbium-UA-4ce7c27cb4be9d32e333bf032c88235a' # https://www.cyfirma.com/outofband/erbium-stealer-malware-report
2022-10-31 15:55:28 +01:00
- 'x' # Use by Racoon Stealer but could be something else
- 'xxx' # Use by Racoon Stealer but could be something else
falsepositives:
2022-08-08 14:03:34 +02:00
- c-useragent: 'Mozilla/3.0 * Acrobat *' # Acrobat with linked content
2022-08-11 08:36:23 +02:00
- cs-host|endswith: # Adobe product traffic, example: Mozilla/3.0 (compatible; Adobe Synchronizer 10.12.20000)
2022-10-25 10:08:58 +02:00
- '.acrobat.com'
- '.adobe.com'
- '.adobe.io'
2022-07-07 15:24:15 +01:00
condition: 1 of selection* and not falsepositives
2017-09-12 23:54:04 +02:00
fields:
- ClientIP
2019-12-07 00:11:33 +01:00
- c-uri
- c-useragent
2022-08-11 08:36:23 +02:00
- cs-host
2017-07-08 09:59:05 -06:00
falsepositives:
- Unknown
level: high