Update file/PE objects

* Add sane defaults
* Disable correlation when it doesn't make sense
pull/7/head
Raphaël Vinot 2017-03-13 14:49:25 +01:00
parent face9af8b0
commit b90fd9ddc1
3 changed files with 45 additions and 20 deletions

View File

@ -16,7 +16,8 @@
}, },
"size-in-bytes": { "size-in-bytes": {
"misp-attribute": "size-in-bytes", "misp-attribute": "size-in-bytes",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"authentihash": { "authentihash": {
"misp-attribute": "authentihash", "misp-attribute": "authentihash",
@ -68,7 +69,8 @@
}, },
"entropy": { "entropy": {
"misp-attribute": "float", "misp-attribute": "float",
"misp-usage-frequency": 1 "misp-usage-frequency": 1,
"disable_correlation": true
}, },
"pattern-in-file": { "pattern-in-file": {
"misp-attribute": "pattern-in-file", "misp-attribute": "pattern-in-file",
@ -81,7 +83,8 @@
}, },
"text": { "text": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 1 "misp-usage-frequency": 1,
"disable_correlation": true
} }
}, },
"requiredOneOf": [ "requiredOneOf": [

View File

@ -6,19 +6,30 @@
"attributes": { "attributes": {
"name": { "name": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 1 "misp-usage-frequency": 1,
"sane_default": [
".rsrc",
".reloc",
".rdata",
".data",
".text"
],
"disable_correlation": true
}, },
"text": { "text": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 1 "misp-usage-frequency": 1,
"disable_correlation": true
}, },
"size-in-bytes": { "size-in-bytes": {
"misp-attribute": "size-in-bytes", "misp-attribute": "size-in-bytes",
"misp-usage-frequency": 1 "misp-usage-frequency": 1,
"disable_correlation": true
}, },
"entropy": { "entropy": {
"misp-attribute": "float", "misp-attribute": "float",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"md5": { "md5": {
"misp-attribute": "md5", "misp-attribute": "md5",

View File

@ -10,14 +10,15 @@
}, },
"text": { "text": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 1 "misp-usage-frequency": 1,
"disable_correlation": true
}, },
"original-filename": { "original-filename": {
"misp-attribute": "text", "misp-attribute": "filename",
"misp-usage-frequency": 1 "misp-usage-frequency": 1
}, },
"internal-filename": { "internal-filename": {
"misp-attribute": "text", "misp-attribute": "filename",
"misp-usage-frequency": 0 "misp-usage-frequency": 0
}, },
"compilation-timestamp": { "compilation-timestamp": {
@ -26,43 +27,53 @@
}, },
"entrypoint-section|position": { "entrypoint-section|position": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"entrypoint-address": { "entrypoint-address": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"file-description": { "file-description": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"file-version": { "file-version": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"lang-id": { "lang-id": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"product-name": { "product-name": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"product-version": { "product-version": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"company-name": { "company-name": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"legal-copyright": { "legal-copyright": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
}, },
"pe-type": { "pe-type": {
"misp-attribute": "text", "misp-attribute": "text",
"misp-usage-frequency": 0 "misp-usage-frequency": 0,
"disable_correlation": true
} }
}, },
"requiredOneOf": [ "requiredOneOf": [