소스 검색

[Rules] Add LEAKED_PASSWORD_SCAM rule

tags/1.8.2
Vsevolod Stakhov 5 년 전
부모
커밋
80928e500c
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12
    0
      rules/regexp/misc.lua

+ 12
- 0
rules/regexp/misc.lua 파일 보기

@@ -60,3 +60,15 @@ reconf['HAS_ONION_URI'] = {
score = 0.0,
group = 'experimental'
}

local password_in_subject = [[Subject=/\bpassword\b/i]]
local password_in_body = [[/\bpassword\b/i{sa_body}]]
local btc_wallet = [[/\b[13][0-9a-zA-Z]{25,34}\b/{sa_body}]]

reconf['LEAKED_PASSWORD_SCAM'] = {
re = string.format('(%s | %s) & %s', password_in_subject,
password_in_body, btc_wallet),
description = 'Contains password word and BTC wallet address',
score = 5.0,
group = 'scams'
}

Loading…
취소
저장