Skip to content

Commit e4109e0

Browse files
authored
Merge pull request #264 from CybercentreCanada/identify/onenote
Add OneNote file detection to custom magic (dev)
2 parents 4ff55fb + 003814c commit e4109e0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

assemblyline/common/custom.magic

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
>&0 regex/10 \^(Subject|MIME)
1717
>>0x10 search/0x100 multipart/related
1818
>>>0x50 search/0x300 urn:schemas-microsoft-com:office custom: document/office/mhtml
19+
# OneNote Files
20+
0 string \344R\\{\214\330\247M\256\261Sx\320)\226\323 custom: document/office/onenote
1921
# VBE files
2022
0 string
2123
>&0 regex/20 \^#@~\\^[^=]{6}== custom: code/vbe
@@ -97,4 +99,4 @@
9799
0 short 0x3C4D
98100
>&0 short 0xA1B2 custom: network\tcpdump
99101
# Email
100-
0 string DKIM-Signature: custom: document/email
102+
0 string DKIM-Signature: custom: document/email

assemblyline/common/identify.py

+1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@
246246
'document/office/word': '.doc',
247247
'document/office/wordperfect': 'wp',
248248
'document/office/wordpro': 'lwp',
249+
'document/office/onenote': '.one',
249250
'document/pdf': '.pdf',
250251
'document/email': '.eml',
251252
'executable/windows/pe32': '.exe',

0 commit comments

Comments
 (0)