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

Add drive_type and drive_type_id under File Object #1286

Open
02manoj92 opened this issue Dec 12, 2024 · 0 comments
Open

Add drive_type and drive_type_id under File Object #1286

02manoj92 opened this issue Dec 12, 2024 · 0 comments

Comments

@02manoj92
Copy link
Contributor

02manoj92 commented Dec 12, 2024

The proposal is to extend the File Object by adding details about the type of drive where the file is located. This enrichment would offer greater security insight, assisting the SOC team in determining whether files are created off a network drive or say a USB thumb drive.
Some advantages if this is added:

  • Better file activity tracking
  • Data Compliance and Governance
  • Improved incident response

We can add two optional fields called drive_type and drive_type_id under File Object to take care of this.
drive_type_id can take one of the following values :
0 = "Unknown", 1 = "Removable", 2 = "Fixed", 3 = "Remote", 4 = "CD-ROM", 5 = "Ram Disk", 99 = "Other"
and the drive_type would be string equivalent.

Example : If a user creates a file on a Windows network share say \\10.0.2.3\public\users\testusers\ocsf_file_create.exe, the File System Activity can include the File Object with drive_type_id as 3 and drive_type as Remote

"Removable" (e.g., USB drives)
"Fixed" (e.g., internal hard drives)
"Remote" (e.g., network drives)
"CD-ROM" (e.g., optical drives)
"RAM Disk" (e.g., temporary storage in RAM)
"Other" (for any other types not specifically listed)

jonrau-at-queryai pushed a commit that referenced this issue Dec 13, 2024
#### Related Issue: 
1286 - Add drive_type and drive_type_id under File Object
#1286
#### Description of changes:
The proposal is to extend the File Object by adding details about the
type of drive where the file is located. This enrichment would offer
greater security insight, assisting the SOC team in determining whether
files are created off a network drive or say a USB thumb drive.

The below list was inspired by a Win32 API :
https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getdrivetypea

I have added two optional fields called drive_type and drive_type_id
under File Object to take care of this.
drive_type_id can take one of the following values :
```0 = "Unknown", 1 = "Removable", 2 = "Fixed", 3 = "Remote", 4 = "CD-ROM", 5 = "RAM Disk", 99 = "Other" ```
and the drive_type would be string equivalent.

<img width="1297" alt="Screenshot 2024-12-12 at 9 03 49 PM" src="https://github.com/user-attachments/assets/ff14b6b6-94f3-4efe-a635-c711180ba993" />

---------

Signed-off-by: 02manoj92@gmail.com <manojs2@cisco.com>
Co-authored-by: 02manoj92@gmail.com <manojs2@cisco.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant