fix: [mitre-atlas] value without ID

pull/911/head
Christophe Vandeplas 2023-12-19 15:36:44 +01:00
parent 52ec21a818
commit ae3202be02
No known key found for this signature in database
GPG Key ID: BDC48619FFDC5A5B
3 changed files with 1259 additions and 1259 deletions

File diff suppressed because it is too large Load Diff

View File

@ -69,7 +69,7 @@
}
],
"uuid": "da785068-ece5-4c52-b77d-39e1b24cb6d7",
"value": "Control Access to ML Models and Data at Rest - AML.M0005"
"value": "Control Access to ML Models and Data at Rest"
},
{
"description": "Limit the total number and rate of queries a user can perform.\n",
@ -152,7 +152,7 @@
}
],
"uuid": "4a048bfe-dab5-434b-86cc-f4586951ec0d",
"value": "Restrict Number of ML Model Queries - AML.M0004"
"value": "Restrict Number of ML Model Queries"
},
{
"description": "Limit the public release of technical information about the machine learning stack used in an organization's products or services. Technical knowledge of how machine learning is used can be leveraged by adversaries to perform targeting and tailor attacks to the target system. Additionally, consider limiting the release of organizational information - including physical locations, researcher names, and department structures - from which technical details such as machine learning techniques, model architectures, or datasets may be inferred.\n",
@ -179,7 +179,7 @@
}
],
"uuid": "0b016f6f-2f61-493c-bf9d-02cad4c027df",
"value": "Limit Release of Public Information - AML.M0000"
"value": "Limit Release of Public Information"
},
{
"description": "Limit public release of technical project details including data, algorithms, model architectures, and model checkpoints that are used in production, or that are representative of those used in production.\n",
@ -213,7 +213,7 @@
}
],
"uuid": "c0f65fa8-8e05-4481-b934-ff2c452ae8c3",
"value": "Limit Model Artifact Release - AML.M0001"
"value": "Limit Model Artifact Release"
},
{
"description": "Decreasing the fidelity of model outputs provided to the end user can reduce an adversaries ability to extract information about the model and optimize attacks for the model.\n",
@ -268,7 +268,7 @@
}
],
"uuid": "6b53cb14-eade-4760-8dae-75164e62cb7e",
"value": "Passive ML Output Obfuscation - AML.M0002"
"value": "Passive ML Output Obfuscation"
},
{
"description": "Incorporate multiple sensors to integrate varying perspectives and modalities to avoid a single point of failure susceptible to physical attacks.\n",
@ -295,7 +295,184 @@
}
],
"uuid": "532918ce-83cf-4f6f-86fa-8ad4024e91ab",
"value": "Use Multi-Modal Sensors - AML.M0009"
"value": "Use Multi-Modal Sensors"
},
{
"description": "Detect and block adversarial inputs or atypical queries that deviate from known benign behavior, exhibit behavior patterns observed in previous attacks or that come from potentially malicious IPs.\nIncorporate adversarial detection algorithms into the ML system prior to the ML model.\n",
"meta": {
"external_id": "AML.M0015",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0015"
]
},
"related": [
{
"dest-uuid": "1cc7f877-cb60-419a-bd1e-32b704b534d0",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "79cdc11c-2ca9-4a6a-96a0-18bd84943086",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "8bcf7648-2683-421d-b623-bc539de59cb3",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "bb747632-d988-45ff-9cb3-97d827b4d9db",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "825f21ab-f3c9-46ce-b539-28f295f519f8",
"value": "Adversarial Input Detection"
},
{
"description": "Verify the cryptographic checksum of all machine learning artifacts to verify that the file was not modified by an attacker.\n",
"meta": {
"external_id": "AML.M0014",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0014"
]
},
"related": [
{
"dest-uuid": "0799f2f2-1038-4391-ba1f-4117595db45a",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "b6697dbf-3e3f-41ce-a212-361d1c0ca0e9",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "d52b913b-808c-461d-8969-94cd5c9fe07b",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "a861f658-4203-48ba-bdca-fe068518eefb",
"value": "Verify ML Artifacts"
},
{
"description": "Deploying ML models to edge devices can increase the attack surface of the system. Consider serving models in the cloud to reduce the level of access the adversary has to the model.\n",
"meta": {
"external_id": "AML.M0017",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0017"
]
},
"related": [
{
"dest-uuid": "2792e1f0-3132-4876-878d-a900b8a40e7d",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "51c95da5-d7f1-4b57-9229-869b80305b37",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "afcd723a-e5ff-4c09-8f72-fe16f7345af7",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "79316871-3bf9-4a59-b517-b0156e84fcb4",
"value": "Model Distribution Methods"
},
{
"description": "Detect and remove or remediate poisoned training data. Training data should be sanitized prior to model training and recurrently for an active learning model.\n\nImplement a filter to limit ingested training data. Establish a content policy that would remove unwanted content such as certain explicit or offensive language from being used.\n",
"meta": {
"external_id": "AML.M0007",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0007"
]
},
"related": [
{
"dest-uuid": "666f4d33-1a62-4ad7-9bf9-6387cd3f1fd7",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "6945b742-f1d5-4a83-ba4a-d0e0de6620c3",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "822cb1e2-f35f-4b35-a650-59b7770d4abc",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "7e20b527-6299-4ee3-863e-59fee7cdaa9a",
"value": "Sanitize Training Data"
},
{
"description": "Encrypt sensitive data such as ML models to protect against adversaries attempting to access sensitive data.\n",
"meta": {
"external_id": "AML.M0012",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0012"
]
},
"related": [
{
"dest-uuid": "0d002b6b-d006-4aab-a7f9-fa69f4a1e675",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "529fac49-5f88-4a3c-829f-eb50cb90bcf1",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "b67fc223-fecf-4ee6-9de7-9392d9f04060",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "8bba19a7-fc6f-4381-8b34-2d43cdc14627",
"value": "Encrypt Sensitive Information"
},
{
"description": "Use an ensemble of models for inference to increase robustness to adversarial inputs. Some attacks may effectively evade one model or model family but be ineffective against others.\n",
@ -343,41 +520,27 @@
}
],
"uuid": "de7a696b-f688-454c-bf61-476a68b50e9f",
"value": "Use Ensemble Methods - AML.M0006"
"value": "Use Ensemble Methods"
},
{
"description": "Detect and remove or remediate poisoned training data. Training data should be sanitized prior to model training and recurrently for an active learning model.\n\nImplement a filter to limit ingested training data. Establish a content policy that would remove unwanted content such as certain explicit or offensive language from being used.\n",
"description": "Prevent abuse of library loading mechanisms in the operating system and software to load untrusted code by configuring appropriate library loading mechanisms and investigating potential vulnerable software.\n\nFile formats such as pickle files that are commonly used to store machine learning models can contain exploits that allow for loading of malicious libraries.\n",
"meta": {
"external_id": "AML.M0007",
"external_id": "AML.M0011",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0007"
"https://atlas.mitre.org/mitigations/AML.M0011"
]
},
"related": [
{
"dest-uuid": "666f4d33-1a62-4ad7-9bf9-6387cd3f1fd7",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "6945b742-f1d5-4a83-ba4a-d0e0de6620c3",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "822cb1e2-f35f-4b35-a650-59b7770d4abc",
"dest-uuid": "d52b913b-808c-461d-8969-94cd5c9fe07b",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "7e20b527-6299-4ee3-863e-59fee7cdaa9a",
"value": "Sanitize Training Data - AML.M0007"
"uuid": "6cd8c9ca-bd46-489f-9ccb-5b76b8ef580e",
"value": "Restrict Library Loading"
},
{
"description": "Validate that machine learning models perform as intended by testing for backdoor triggers or adversarial bias.\n",
@ -411,231 +574,7 @@
}
],
"uuid": "32bd077a-90ce-4e97-ad40-8f130a1a7dab",
"value": "Validate ML Model - AML.M0008"
},
{
"description": "Prevent abuse of library loading mechanisms in the operating system and software to load untrusted code by configuring appropriate library loading mechanisms and investigating potential vulnerable software.\n\nFile formats such as pickle files that are commonly used to store machine learning models can contain exploits that allow for loading of malicious libraries.\n",
"meta": {
"external_id": "AML.M0011",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0011"
]
},
"related": [
{
"dest-uuid": "d52b913b-808c-461d-8969-94cd5c9fe07b",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "6cd8c9ca-bd46-489f-9ccb-5b76b8ef580e",
"value": "Restrict Library Loading - AML.M0011"
},
{
"description": "Encrypt sensitive data such as ML models to protect against adversaries attempting to access sensitive data.\n",
"meta": {
"external_id": "AML.M0012",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0012"
]
},
"related": [
{
"dest-uuid": "0d002b6b-d006-4aab-a7f9-fa69f4a1e675",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "529fac49-5f88-4a3c-829f-eb50cb90bcf1",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "b67fc223-fecf-4ee6-9de7-9392d9f04060",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "8bba19a7-fc6f-4381-8b34-2d43cdc14627",
"value": "Encrypt Sensitive Information - AML.M0012"
},
{
"description": "Verify the cryptographic checksum of all machine learning artifacts to verify that the file was not modified by an attacker.\n",
"meta": {
"external_id": "AML.M0014",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0014"
]
},
"related": [
{
"dest-uuid": "0799f2f2-1038-4391-ba1f-4117595db45a",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "b6697dbf-3e3f-41ce-a212-361d1c0ca0e9",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "d52b913b-808c-461d-8969-94cd5c9fe07b",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "a861f658-4203-48ba-bdca-fe068518eefb",
"value": "Verify ML Artifacts - AML.M0014"
},
{
"description": "Detect and block adversarial inputs or atypical queries that deviate from known benign behavior, exhibit behavior patterns observed in previous attacks or that come from potentially malicious IPs.\nIncorporate adversarial detection algorithms into the ML system prior to the ML model.\n",
"meta": {
"external_id": "AML.M0015",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0015"
]
},
"related": [
{
"dest-uuid": "1cc7f877-cb60-419a-bd1e-32b704b534d0",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "79cdc11c-2ca9-4a6a-96a0-18bd84943086",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "8bcf7648-2683-421d-b623-bc539de59cb3",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "bb747632-d988-45ff-9cb3-97d827b4d9db",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "825f21ab-f3c9-46ce-b539-28f295f519f8",
"value": "Adversarial Input Detection - AML.M0015"
},
{
"description": "Deploying ML models to edge devices can increase the attack surface of the system. Consider serving models in the cloud to reduce the level of access the adversary has to the model.\n",
"meta": {
"external_id": "AML.M0017",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0017"
]
},
"related": [
{
"dest-uuid": "2792e1f0-3132-4876-878d-a900b8a40e7d",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "51c95da5-d7f1-4b57-9229-869b80305b37",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "afcd723a-e5ff-4c09-8f72-fe16f7345af7",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "79316871-3bf9-4a59-b517-b0156e84fcb4",
"value": "Model Distribution Methods - AML.M0017"
},
{
"description": "Preprocess all inference data to nullify or reverse potential adversarial perturbations.\n",
"meta": {
"external_id": "AML.M0010",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0010"
]
},
"related": [
{
"dest-uuid": "79cdc11c-2ca9-4a6a-96a0-18bd84943086",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "8bcf7648-2683-421d-b623-bc539de59cb3",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "bb747632-d988-45ff-9cb3-97d827b4d9db",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "88aea80f-498f-403d-b82f-e76c44f9da94",
"value": "Input Restoration - AML.M0010"
},
{
"description": "Use techniques to make machine learning models robust to adversarial inputs such as adversarial training or network distillation.\n",
"meta": {
"external_id": "AML.M0003",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0003"
]
},
"related": [
{
"dest-uuid": "8bcf7648-2683-421d-b623-bc539de59cb3",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "bb747632-d988-45ff-9cb3-97d827b4d9db",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "04e9bb75-1b7e-4825-bc3f-774850d3c1ef",
"value": "Model Hardening - AML.M0003"
"value": "Validate ML Model"
},
{
"description": "Enforce binary and application integrity with digital signature verification to prevent untrusted code from executing. Adversaries can embed malicious code in ML software or models. Enforcement of code signing can prevent the compromise of the machine learning supply chain and prevent execution of malicious code.\n",
@ -669,7 +608,68 @@
}
],
"uuid": "c55ed072-eca7-41d6-b5e0-68c10753544d",
"value": "Code Signing - AML.M0013"
"value": "Code Signing"
},
{
"description": "Use techniques to make machine learning models robust to adversarial inputs such as adversarial training or network distillation.\n",
"meta": {
"external_id": "AML.M0003",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0003"
]
},
"related": [
{
"dest-uuid": "8bcf7648-2683-421d-b623-bc539de59cb3",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "bb747632-d988-45ff-9cb3-97d827b4d9db",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "04e9bb75-1b7e-4825-bc3f-774850d3c1ef",
"value": "Model Hardening"
},
{
"description": "Preprocess all inference data to nullify or reverse potential adversarial perturbations.\n",
"meta": {
"external_id": "AML.M0010",
"refs": [
"https://atlas.mitre.org/mitigations/AML.M0010"
]
},
"related": [
{
"dest-uuid": "79cdc11c-2ca9-4a6a-96a0-18bd84943086",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "8bcf7648-2683-421d-b623-bc539de59cb3",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
},
{
"dest-uuid": "bb747632-d988-45ff-9cb3-97d827b4d9db",
"tags": [
"estimative-language:likelihood-probability=\"almost-certain\""
],
"type": "mitigates"
}
],
"uuid": "88aea80f-498f-403d-b82f-e76c44f9da94",
"value": "Input Restoration"
},
{
"description": "Vulnerability scanning is used to find potentially exploitable software vulnerabilities to remediate them.\n\nFile formats such as pickle files that are commonly used to store machine learning models can contain exploits that allow for arbitrary code execution.\n",
@ -689,7 +689,7 @@
}
],
"uuid": "e2cb599d-2714-4673-bc1a-976c471d7c58",
"value": "Vulnerability Scanning - AML.M0016"
"value": "Vulnerability Scanning"
},
{
"description": "Educate ML model developers on secure coding practices and ML vulnerabilities.\n",
@ -716,8 +716,8 @@
}
],
"uuid": "8c2cb25a-46b0-4551-beeb-21e8425a48bd",
"value": "User Training - AML.M0018"
"value": "User Training"
}
],
"version": 5
"version": 8
}

View File

@ -95,7 +95,7 @@ for item in attack_data['objects']:
if 'description' in item:
value['description'] = item['description']
value['value'] = item['name'] + ' - ' + item['external_references'][0]['external_id']
value['value'] = item['name']
value['meta'] = {}
value['meta']['refs'] = []
value['uuid'] = re.search('--(.*)$', item['id']).group(0)[2:]