Skip to content

Commit 68b7c01

Browse files
authored
Merge pull request #530 from MISP/rulezet_new_format
add: [format] Kunai rule object
2 parents a021b8d + 2df4c43 commit 68b7c01

1 file changed

Lines changed: 114 additions & 0 deletions

File tree

objects/kunai-rule/definition.json

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{
2+
"attributes": {
3+
"action": {
4+
"description": "Action(s) triggered when the rule matches (e.g. kill, scan-files).",
5+
"disable_correlation": true,
6+
"misp-attribute": "text",
7+
"multiple": true,
8+
"ui-priority": 2
9+
},
10+
"author": {
11+
"description": "Author(s) of the rule (meta.authors).",
12+
"disable_correlation": true,
13+
"misp-attribute": "text",
14+
"multiple": true,
15+
"ui-priority": 1
16+
},
17+
"comment": {
18+
"description": "A description of what the Kunai rule detects (meta.comments).",
19+
"misp-attribute": "comment",
20+
"ui-priority": 0
21+
},
22+
"decision": {
23+
"description": "Decision applied to matching events, controlling whether they are logged.",
24+
"disable_correlation": true,
25+
"misp-attribute": "text",
26+
"ui-priority": 2,
27+
"values_list": [
28+
"include",
29+
"exclude"
30+
]
31+
},
32+
"disabled": {
33+
"description": "Set to true if the rule is disabled (params.disable).",
34+
"disable_correlation": true,
35+
"misp-attribute": "boolean",
36+
"sane_default": [
37+
"false"
38+
],
39+
"ui-priority": 2
40+
},
41+
"event-type": {
42+
"description": "Kunai event type(s) the rule matches on (match-on.events.kunai), e.g. execve. Prefix with '-' to exclude an event type.",
43+
"disable_correlation": true,
44+
"misp-attribute": "text",
45+
"multiple": true,
46+
"ui-priority": 2
47+
},
48+
"kunai": {
49+
"description": "Kunai detection, filter, or dependency rule (YAML).",
50+
"disable_correlation": true,
51+
"misp-attribute": "text",
52+
"ui-priority": 0
53+
},
54+
"mitre-attack-id": {
55+
"description": "MITRE ATT&CK technique ID(s) associated with the rule (meta.attack).",
56+
"disable_correlation": true,
57+
"misp-attribute": "text",
58+
"multiple": true,
59+
"ui-priority": 1
60+
},
61+
"reference": {
62+
"description": "Reference URL for the rule source or documentation.",
63+
"disable_correlation": true,
64+
"misp-attribute": "link",
65+
"multiple": true,
66+
"ui-priority": 2
67+
},
68+
"rule-name": {
69+
"description": "Unique identifier of the Kunai rule (the top-level name field).",
70+
"disable_correlation": true,
71+
"misp-attribute": "text",
72+
"ui-priority": 1
73+
},
74+
"rule-type": {
75+
"description": "Kunai rule type.",
76+
"disable_correlation": true,
77+
"misp-attribute": "text",
78+
"ui-priority": 1,
79+
"values_list": [
80+
"detection",
81+
"filter",
82+
"dependency"
83+
]
84+
},
85+
"severity": {
86+
"description": "Severity score assigned to the rule (1-10, detection rules only).",
87+
"disable_correlation": true,
88+
"misp-attribute": "counter",
89+
"ui-priority": 1
90+
},
91+
"tag": {
92+
"description": "Free-text tag associated with the rule (meta.tags).",
93+
"disable_correlation": true,
94+
"misp-attribute": "text",
95+
"multiple": true,
96+
"ui-priority": 2
97+
},
98+
"version": {
99+
"description": "Version of the Kunai rule.",
100+
"disable_correlation": true,
101+
"misp-attribute": "text",
102+
"ui-priority": 0
103+
}
104+
},
105+
"description": "An object describing a Kunai rule (detection, filter, or dependency), its event matching, severity, and MITRE ATT&CK mapping, following the Kunai rule syntax (https://why.kunai.rocks/docs/next/advanced/rule_syntax_reference).",
106+
"meta-category": "misc",
107+
"name": "kunai-rule",
108+
"requiredOneOf": [
109+
"kunai",
110+
"rule-name"
111+
],
112+
"uuid": "234781be-628d-4735-beca-75b49dbce78f",
113+
"version": 1
114+
}

0 commit comments

Comments
 (0)