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

Signature and classification for NSF Lotus Notes files #547

Closed
gaffinet opened this issue May 17, 2021 · 6 comments
Closed

Signature and classification for NSF Lotus Notes files #547

gaffinet opened this issue May 17, 2021 · 6 comments
Assignees

Comments

@gaffinet
Copy link

Hi

I have noticed, that NSF files (Lotus Notes Databases) aren't listed in the category of the mailboxes.

Yves

@lfcnassif
Copy link
Member

Although I have already tried to use https://github.com/libyal/libnsfdb to parse Lotus Notes NSF files unsuccessfully in the past, for sure we can at least classify NSF files, thanks.

@lfcnassif lfcnassif changed the title NSF Files not marqued as Mailbox Classify NSF Lotus Notes files as Mailbox May 18, 2021
@gaffinet
Copy link
Author

gaffinet commented May 18, 2021

We are using "kernel for lotus notes to outlook" to convert NSF to PST and after this, we analyse the PST files

The classification would minimize the risk to miss such files.

@lfcnassif
Copy link
Member

lfcnassif commented May 18, 2021

We are using "kernel for lotus notes to outlook" to convert NSF to PST and after this, we analyse the PST files

Nice suggestion, good to know. Unfortunately we need an open source library with compatible license to include in this project

The classification would minimize the risk to miss such files.

For sure.

@lfcnassif lfcnassif self-assigned this Jun 25, 2021
@lfcnassif
Copy link
Member

According to this https://github.com/libyal/libnsfdb/blob/main/documentation/Notes%20Storage%20Facility%20(NSF)%20database%20file%20format.asciidoc#4-the-file-header file signature is just 2 bytes: 0x1A 0x00

Maybe we could check format version at offset 6 (4 bytes length) to try avoiding false positives (https://github.com/libyal/libnsfdb/blob/main/documentation/Notes%20Storage%20Facility%20(NSF)%20database%20file%20format.asciidoc#511-format-version).

@gaffinet could you check in your files if the 4 bytes value (little-endian) at offset 6 is in {16, 17, 20, 41, 43, 48, 51} set?

@lfcnassif
Copy link
Member

(little-endian)

Actually I found one sample here and format version seems big-endian.

@lfcnassif
Copy link
Member

16, 17, 20, 41, 43, 48, 51

I added a check for this format versions, valid for Lotus Notes 1.x to 8.5 according to libnsfdb docs. If anyone could confirm the numbers for versions 9, 10 & 11, we can add later. Anyway, currently extension is used as fallback if signature doesn't match.

@lfcnassif lfcnassif changed the title Classify NSF Lotus Notes files as Mailbox Signature and classification for NSF Lotus Notes files Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants