Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File hash mapping is missing from OCSF to STIX mapping #1338

Open
mdazam1942 opened this issue Feb 21, 2023 · 0 comments
Open

File hash mapping is missing from OCSF to STIX mapping #1338

mdazam1942 opened this issue Feb 21, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mdazam1942
Copy link
Member

Describe the bug
File hashes are described in OCSF fingerprint object. But it is currently mapped to a custom file extension property-

"fingerprints": {
                "algorithm": {
                    "key": "file.extensions.x-ocsf-file-ext.algorithm",
                    "object": "file"
                },
                "algorithm_id": {
                    "key": "file.extensions.x-ocsf-file-ext.algorithm_id",
                    "object": "file"
                },
                "value": {
                    "key": "file.extensions.x-ocsf-file-ext.algorithm_value",
                    "object": "file"
                }
            }

Here is a sample of OCSF fingerprint object-

{
  "algorithm": "SHA-256",
  "algorithm_id": 3,
  "value": "DDA18A0E21AE47C53B4309434CBC02AE8BF764FA83A6DEFBB719431242722AA7"
}

The algorithm and values needs to be correctly set to appropriate file hash STIX objects.

@mdazam1942 mdazam1942 self-assigned this Feb 21, 2023
@mdazam1942 mdazam1942 added the enhancement New feature or request label Feb 21, 2023
@mdazam1942 mdazam1942 linked a pull request Feb 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant