You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/tutorial-how-to-link-ids-to-osint/define-the-interfaces/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ The first dashboard to do for our use cases is the list of IoCs with classic SPL
31
31
Here, the figure 3 is nice but before this first schema during the project, there are a lot of shemas and all were minimalist and ugly often only on a whiteboard. This type schema before the technical feasibility is only to validate the objective with the analysts before starting the development. During the technical feasibility, we can decrease/increase step-by-step your objectives to show finally a first result in figure 4 in a real dashboard.
32
32
33
33
<figuremarkdown="span">
34
-

34
+

35
35
<figcaption>Figure 4. First interface with only SPARQL queries in SPLUNK static tables.</figcaption>
36
36
</figure>
37
37
@@ -182,6 +182,6 @@ With the interfaces, the available data and their links in head, the analyst can
182
182
183
183
Tutorial: [how to link Intrusion Detection Systems (IDS) to Open-Source INTelligence (OSINT)](../index.md)
184
184
185
-
Next chapter: [Build a Knowledge Graph from MITRE ATT&CK® datasets](./../../lift-data-from-STIX-2.1-data-of-mitre-attack/index.md)
185
+
Next chapter: [Build a Knowledge Graph from MITRE ATT&CK® datasets](./../lift-data-from-STIX-2.1-data-of-mitre-attack/index.md)
186
186
187
187
Previous chapter: [Define the need, the expected result and the use cases](../define-the-need/index.md)
[Structured Threat Information Expression (STIX™)](
14
-
https://oasis-open.github.io/cti-documentation/stix/intro.html) is a language and serialization format used to exchange cyber threat intelligence (CTI).
13
+
[Structured Threat Information Expression (STIX™)](https://oasis-open.github.io/cti-documentation/stix/intro.html) is a language and serialization format used to exchange cyber threat intelligence (CTI).
15
14
16
15
The "ontology" of MITRE ATT&CK with STIX is here: [https://github.com/mitre/cti/blob/master/USAGE.md](https://github.com/mitre/cti/blob/master/USAGE.md)
17
16
@@ -747,10 +746,10 @@ After this tutorial, you want probably to navigate in your new knowledge graph b
747
746
748
747
4. Split the workflow in two workflows:
749
748
750
-
* "Transform all STIX data to RDF" to calculate the inferences after RDF triples
749
+
* "Transform all STIX data to RDF" to calculate the inferences after RDF triples
751
750

752
751
753
-
* "Assemble the global knowledge graph", it will import all the graphs of projects
752
+
* "Assemble the global knowledge graph", it will import all the graphs of projects
754
753

755
754
756
755
5. Create a new workflow "MITRE ATT&CK® workflow" where you will insert the other workflows, like that:
Copy file name to clipboardExpand all lines: docs/build/tutorial-how-to-link-ids-to-osint/lift-data-from-YAML-data-of-hayabusa-sigma/index.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,61 +111,61 @@ This new transformer are building the following RDF model for your use case:
111
111
112
112
5. Create the transformer for "SIGMA Hayabusa rule" to build this RDF model.
113
113
114
-
Rule object:
114
+
Rule object:
115
115
116
-
- type: `ctis:Rule`
116
+
- type: `ctis:Rule`
117
117
118
-
- IRI: concatenation of "<http://example.com/rule/>" with the result of this regular expression `^.*?([^\/]*)$` on the rule path
118
+
- IRI: concatenation of "<http://example.com/rule/>" with the result of this regular expression `^.*?([^\/]*)$` on the rule path
119
119
120
-

120
+

121
121
122
-
- property `ctis:filename` with the result of this regular expression `^.*?([^\/]*)$` on the value path `rulePath`
123
-
- property `rdfs:label` with the value path `title`
124
-
- property `rdfs:comment` with the value path `description`
125
-
- property `rdfs:seeAlso` with the value path `references`
126
-
- property `ctis:mitreAttackTechniqueId` is building with this formula with the value path `tags`
127
-
- Filter by regex: `^attack\.t\d+$`
128
-
- Regex replace `attack\.t` by `T`
122
+
- property `ctis:filename` with the result of this regular expression `^.*?([^\/]*)$` on the value path `rulePath`
123
+
- property `rdfs:label` with the value path `title`
124
+
- property `rdfs:comment` with the value path `description`
125
+
- property `rdfs:seeAlso` with the value path `references`
126
+
- property `ctis:mitreAttackTechniqueId` is building with this formula with the value path `tags`
127
+
- Filter by regex: `^attack\.t\d+$`
128
+
- Regex replace `attack\.t` by `T`
129
129
130
-

130
+

131
131
132
-
- property `rdfs:isDefinedBy` on the value path `rulePath` is building with this formula to link the rules to their Web addresses.
133
-
- Add two "Regex replace"
134
-
- replace `\./hayabusa-rules/` by `https://github.com/Yamato-Security/hayabusa-rules/blob/main/`
135
-
- replace `\./sigma/` by `https://github.com/SigmaHQ/sigma/blob/master/`
132
+
- property `rdfs:isDefinedBy` on the value path `rulePath` is building with this formula to link the rules to their Web addresses.
133
+
- Add two "Regex replace"
134
+
- replace `\./hayabusa-rules/` by `https://github.com/Yamato-Security/hayabusa-rules/blob/main/`
135
+
- replace `\./sigma/` by `https://github.com/SigmaHQ/sigma/blob/master/`
136
136
137
-

137
+

138
138
139
-
So the rulepath `./sigma/rules/windows/process_creation/proc_creation_win_bcdedit_boot_conf_tamper.yml` becomes the link `https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_bcdedit_boot_conf_tamper.yml` and `./hayabusa-rules/hayabusa/sysmon/Sysmon_15_Info_ADS-Created.yml`becomes `https://github.com/Yamato-Security/hayabusa-rules/blob/main/hayabusa/sysmon/Sysmon_11_Med_FileCreated_RuleAlert.yml`
139
+
So the rulepath `./sigma/rules/windows/process_creation/proc_creation_win_bcdedit_boot_conf_tamper.yml` becomes the link `https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_bcdedit_boot_conf_tamper.yml` and `./hayabusa-rules/hayabusa/sysmon/Sysmon_15_Info_ADS-Created.yml`becomes `https://github.com/Yamato-Security/hayabusa-rules/blob/main/hayabusa/sysmon/Sysmon_11_Med_FileCreated_RuleAlert.yml`
140
140
141
-
!!! Tips
141
+
!!! Tips
142
142
143
-
To test your transformer, you can use the tab "Transform execution". Here, the knowledge graph will not be cleared after each workflow or execution to test your transformer because the option "clear graph before workflow" is disabled. However during the steps to build this transformer, you can enable tempory this option to see and test the final transformer.
144
-
You need only to disable this option when your transformer is finished.
143
+
To test your transformer, you can use the tab "Transform execution". Here, the knowledge graph will not be cleared after each workflow or execution to test your transformer because the option "clear graph before workflow" is disabled. However during the steps to build this transformer, you can enable tempory this option to see and test the final transformer.
144
+
You need only to disable this option when your transformer is finished.
145
145
146
-
!!! Success
146
+
!!! Success
147
147
148
-
Your example of rule exists now in your knowledge graph:
149
-

150
-

148
+
Your example of rule exists now in your knowledge graph:
149
+

150
+

151
151
152
152
6. Make the workflow "Import rules" with one input
153
153
154
154

155
155
156
-
And don't forget to allow the replacement of JSON dataset because it allows to replace this specific JSON by all other rules during the execution of this worflow.
156
+
And don't forget to allow the replacement of JSON dataset because it allows to replace this specific JSON by all other rules during the execution of this worflow.
157
157
158
-

158
+

159
159
160
-

160
+

161
161
162
-
1. Copy the workflow ID
162
+
7. Copy the workflow ID
163
163
164
164

165
165
166
-
!!! Success
166
+
!!! Success
167
167
168
-
In this example the ID of workflow is `RulesHayabusaSigma_671e1f43d94bbc36:Importrules_6ccbc14b656c75c9`
168
+
In this example the ID of workflow is `RulesHayabusaSigma_671e1f43d94bbc36:Importrules_6ccbc14b656c75c9`
0 commit comments