update HTTP User-Agent rules (#702)

This commit is contained in:
Moritz 2023-02-20 09:04:36 +01:00 committed by GitHub
parent b035bb8d90
commit 51bd7f55d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,19 @@
# generated using capa explorer for IDA Pro
rule:
meta:
name: reference HTTP User-Agent string
namespace: communication/http
authors:
- "@mr-tz"
scope: function
references:
- https://www.useragents.me/
- https://www.whatismybrowser.com/guides/the-latest-user-agent/
examples:
- 0796F1C1EA0A142FC1EB7109A44C86CB:0x4043F0
features:
- or:
- substring: "Mozilla/5.0"
- substring: "like Gecko"
- api: urlmon.ObtainUserAgentString
- property/read: System.Net.HttpWebRequest::UserAgent

View file

@ -449,7 +449,7 @@ Examples:
```yaml
- string: "Firefox 64.0"
- string: "Hostname:\t\t\t%s\nIP adress:\t\t\t%s\nOS version:\t\t\t%s\n"
- string: "Hostname:\t\t\t%s\nIP address:\t\t\t%s\nOS version:\t\t\t%s\n"
- string: "This program cannot be run in DOS mode."
description: MS-DOS stub message
- string: "{3E5FC7F9-9A51-4367-9063-A120244FBEC7}"