-
-
Notifications
You must be signed in to change notification settings - Fork 248
DFIR Patterns #442
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
base: master
Are you sure you want to change the base?
DFIR Patterns #442
Conversation
Added /DFIR/ sub-directory. Contains modified versions of built-in patterns for semi-automated Disk/Volume/Filesystem parsing geared towards Digital Forensics. Originals in /fs/ should remain in tact for spot placement.
Wow that's some very impressive work, thank you very much! Since this is for disk images, I doubt we'll be able to have a proper test file for them so that part is okay. Could you add the folder to the table in the readme page though please? |
Great, thanks! These good? | DISK_PARSER (DFIR) | | EXFAT (DFIR) | | 'patterns/DFIR/exFAT.hexpat' | Imported by DISK_PARSER.hexpat | | FAT32 (DFIR) | | 'patterns/DFIR/FAT32.hexpat' | Imported by DISK_PARSER.hexpat | | NTFS (DFIR) | | 'patterns/DFIR/NTFS.hexpat' | Imported by DISK_PARSER.hexpat | |
Are the patterns meant to be used on their own as well? If not, I'd suggest only adding the main pattern that people are meant to import. |
Good call. In theory, the proposed patterns can replace the existing versions in /fs/. When I was first developing, I had kept them separated due to temporary hard coded placements and never circled back around to consider full replacement. The entry point placements are all 0x0, so will function as semi-automated or targeted (manual placement), just as the originals, but with all the enhancements. Downside to full replacement:
I'll need to test and report back; Will setting the Root Dir/MFT MAX_NUM_ENTRIES to 0 break anything. |
I attempted to add a 'if DEEP_DIVE' for a quick fix, but too many errors to contend with right now. If someone doesn't want to parse FAT1/FAT2, RootDir, or MFT, to speed things up, they can simply comment out the related calls or if the pattern offers a 'max number of' constant, set to zero. For FAT32.hexpat:
For exFAT.hexpat:
for NTFS.hexpat:
That being said, its up to you whether or not we replace the simplicity/usability of the current /fs/ with the proposed patterns or keep it separate as /DFIR/... If we keep it separate, I can remove the duplicated file system patterns from the table and just have a reference to DISK_PARSER.hexpat? |
Modified versions of /fs/ for semi-automated parsing of Disks/Volumes/Filesystems related to digital forensics and reporting.