Skip to content

Commit 0cd205a

Browse files
authored
Refine regex for detecting fake fax communications (#3481)
1 parent 9d3636c commit 0cd205a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

detection-rules/link_fake_fax_low_reputation.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ source: |
1919
'\bfax\b',
2020
'[ve][[:punct:]]?fax',
2121
'[[:punct:]]fax\b',
22-
'\bfax[[:punct:]]'
22+
'\bfax[[:punct:]]',
23+
'fr[[:punct:]].{0,25}document'
2324
)
2425
)
2526
)
@@ -33,7 +34,7 @@ source: |
3334
or strings.icontains(., "Fax Status")
3435
or strings.icontains(., "Fax ID")
3536
or strings.icontains(., "New Fax Document")
36-
or regex.icontains(., "(?:received|have) a (?:new )?fax")
37+
or regex.icontains(., '(?:received|have) (a|(?:(.?\d.?))) (?:new )?e?fax')
3738
or regex.icontains(., "to view (th(?:e|is) )?(?:fax|message)")
3839
or regex.icontains(.,
3940
'transmit(?:ted|ting)?(?:\s+\w+){0,2}\s+(?:fax|facsimile)',

0 commit comments

Comments
 (0)