naufalso commited on
Commit
314ace6
·
verified ·
1 Parent(s): 67ead6c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +151 -0
README.md CHANGED
@@ -1,4 +1,19 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  - config_name: CPST
4
  features:
@@ -153,4 +168,140 @@ configs:
153
  path: VOOD/test-*
154
  - split: val
155
  path: VOOD/val-*
 
156
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: other
3
+ task_categories:
4
+ - text-classification
5
+ - question-answering
6
+ - multiple-choice
7
+ - text-generation
8
+ tags:
9
+ - cybersecurity
10
+ - industrial-control-systems
11
+ - ics
12
+ - benchmark
13
+ - llm-evaluation
14
+ - mirror
15
+ size_categories:
16
+ - 1K<n<10K
17
  dataset_info:
18
  - config_name: CPST
19
  features:
 
168
  path: VOOD/test-*
169
  - split: val
170
  path: VOOD/val-*
171
+ pretty_name: SECURE (Mirror)
172
  ---
173
+
174
+ # Dataset Card for SECURE (RISys-Lab Mirror)
175
+
176
+ > **⚠️ Disclaimer:** > This repository is a **mirror/re-host** of the original [SECURE benchmark](https://github.com/aiforsec/SECURE).
177
+ > **RISys-Lab is not the author of this dataset.** We are hosting this copy in Parquet format to ensure seamless integration and stability for our internal evaluation pipelines. All credit belongs to the original authors listed below.
178
+
179
+ ## Table of Contents
180
+ - [Dataset Description](#dataset-description)
181
+ - [Repository Intent](#repository-intent)
182
+ - [Dataset Summary](#dataset-summary)
183
+ - [Supported Tasks](#supported-tasks)
184
+ - [Dataset Structure](#dataset-structure)
185
+ - [Data Splits & Configurations](#data-splits--configurations)
186
+ - [Data Fields](#data-fields)
187
+ - [Usage](#usage)
188
+ - [Additional Information](#additional-information)
189
+ - [Original Authors](#original-authors)
190
+ - [Citation](#citation)
191
+ - [License](#license)
192
+
193
+ ## Dataset Description
194
+
195
+ - **Original Repository:** [https://github.com/aiforsec/SECURE](https://github.com/aiforsec/SECURE)
196
+ - **Original Paper:** [SECURE: Benchmarking Large Language Models for Cybersecurity Advisory (ArXiv 2405.20441)](https://arxiv.org/abs/2405.20441)
197
+ - **Mirror Maintainer:** RISys-Lab (for evaluation pipeline compatibility)
198
+
199
+ ### Repository Intent
200
+ This Hugging Face dataset is a re-host of the original **SECURE** benchmark. It has been converted to **Parquet format** to support efficient loading and configuration handling in the `datasets` library. If you are looking for the official release, please visit the [Original GitHub Repository](https://github.com/aiforsec/SECURE).
201
+
202
+ ### Dataset Summary
203
+ **SECURE** (Security Extraction, Understanding & Reasoning Evaluation) is a benchmark designed to assess Large Language Models (LLMs) in realistic cybersecurity scenarios, with a specific focus on **Industrial Control Systems (ICS)**.
204
+
205
+ The benchmark consists of six distinct datasets that evaluate knowledge extraction, understanding, and reasoning based on industry-standard sources (such as CISA advisories and MITRE frameworks).
206
+
207
+ ### Supported Tasks
208
+ The dataset is divided into six configurations, each targeting a specific skill:
209
+
210
+ 1. **MAET (MITRE ATT&CK Extraction Task):** Multiple-choice questions mapping attack behaviors to MITRE ATT&CK techniques.
211
+ 2. **CWET (Common Weakness Extraction Task):** Multiple-choice questions identifying Common Weaknesses (CWEs) from descriptions.
212
+ 3. **KCV (Knowledge test on Common Vulnerabilities):** A knowledge verification task for CVEs.
213
+ 4. **VOOD (Vulnerability Out-of-Distribution):** A task designed to test model performance on out-of-distribution vulnerability data.
214
+ 5. **RERT (Risk Evaluation Reasoning Task):** Evaluating the model's ability to reason about risk based on vulnerability overviews (e.g., from CISA ICS advisories).
215
+ 6. **CPST (CVSS Problem Solving Task):** A regression/reasoning task where the model must determine the CVSS (Common Vulnerability Scoring System) score.
216
+
217
+ ## Dataset Structure
218
+
219
+ ### Data Splits & Configurations
220
+ The dataset is organized into 6 configurations.
221
+
222
+ > **Important Note on Validation Splits:** > The original SECURE benchmark provided test sets. To facilitate **few-shot evaluation** in our pipeline, we randomly sampled 5 examples from the original data to create a `val` split for each configuration.
223
+
224
+ | Config Name | Full Task Name | Validation Size (Few-Shot) | Test Size |
225
+ | :--- | :--- | :--- | :--- |
226
+ | `MAET` | MITRE ATT&CK Extraction Task | 5 | 1,067 |
227
+ | `CWET` | Common Weakness Extraction Task | 5 | 959 |
228
+ | `KCV` | Knowledge on Common Vulnerabilities | 5 | 461 |
229
+ | `VOOD` | Vulnerability Out-of-Distribution | 5 | 461 |
230
+ | `RERT` | Risk Evaluation Reasoning Task | 5 | 995 |
231
+ | `CPST` | CVSS Problem Solving Task | 5 | 95 |
232
+
233
+ ### Data Fields
234
+
235
+ #### `MAET`, `CWET` (Multiple Choice)
236
+ - `url` (string): Source URL.
237
+ - `prompt` (string): The full input prompt.
238
+ - `question` (string): The specific question text.
239
+ - `options` (sequence): A list/sequence of answer choices (e.g., `["Option A...", "Option B..."]`).
240
+ - `answer` (string): The correct option (e.g., "A").
241
+
242
+ #### `KCV`, `VOOD` (True / False)
243
+ - `url` (string): Source URL.
244
+ - `prompt` (string): The full input prompt.
245
+ - `question` (string): The question text.
246
+ - `answer` (string): The correct answer string.
247
+
248
+ #### `RERT` (Reasoning)
249
+ - `source-url` (string): Source URL (e.g., CISA advisory).
250
+ - `prompt` (string): The input prompt requesting a risk evaluation.
251
+ - `vulnerability-overview` (string): Context describing the vulnerability.
252
+ - `answer` (string): The gold-standard risk evaluation text.
253
+
254
+ #### `CPST` (Scoring)
255
+ - `prompt` (string): The input prompt containing vulnerability details.
256
+ - `cvss-v3-vector-string` (string): The CVSS vector string (e.g., `CVSS:3.1/AV:N/AC:L...`).
257
+ - `answer` (float64): The correct CVSS Base Score (e.g., `7.5`).
258
+
259
+ ## Usage
260
+
261
+ You can load a specific task using the configuration name.
262
+
263
+ ```python
264
+ from datasets import load_dataset
265
+
266
+ # Load the MITRE ATT&CK (MAET) test set
267
+ dataset = load_dataset("RISys-Lab/Benchmarks_CyberSec_SECURE", "MAET", split="test")
268
+
269
+ # Load the few-shot examples (val split)
270
+ few_shot_examples = load_dataset("RISys-Lab/Benchmarks_CyberSec_SECURE", "MAET", split="val")
271
+
272
+ # Access an example
273
+ print(dataset[0])
274
+
275
+ ```
276
+
277
+ ## Additional Information
278
+
279
+ ### Original Authors
280
+
281
+ The dataset was developed by:
282
+
283
+ * **Dipkamal Bhusal**
284
+ * **Nidhi Rastogi**
285
+ * **Md Tanvirul Alam**
286
+ * *(and contributors from Rochester Institute of Technology)*
287
+
288
+ ### Citation
289
+
290
+ Please cite the original ArXiv paper if you use this dataset:
291
+
292
+ ```bibtex
293
+ @misc{bhusal2024securebenchmarkinglargelanguage,
294
+ title={SECURE: Benchmarking Large Language Models for Cybersecurity Advisory},
295
+ author={Dipkamal Bhusal and Nidhi Rastogi and Md Tanvirul Alam and Le Nguyen and Xashru Shrestha and Qiben Yan and Rui Li and Tuan Vu and Nathan Lewis and Y. S. Rao},
296
+ year={2024},
297
+ eprint={2405.20441},
298
+ archivePrefix={arXiv},
299
+ primaryClass={cs.CR},
300
+ url={https://arxiv.org/abs/2405.20441},
301
+ }
302
+
303
+ ```
304
+
305
+ ### License
306
+
307
+ An explicit license file was not found in the original repository. This mirror is provided for research purposes. All rights remain with the original authors.