전제와 신뢰성
- 전제
통계에 한 번도 등장하지 않은 단어가 스팸 URL에 등장할 확률을 33%로 가정
URL 앞의 http://는 제거
알파벳과 숫자가 아닌 모든 문자는 토큰에서 제거
- 신뢰성
통계에 필요한 샘플이 지나치게 작음
코멘트 URL 분석 후 토큰
대상 : 세 달 동안 쌓인 정상 코멘트 URL(16-_-;) + 하루 동안 쌓인 스팸 코멘트 URL(23)
guardten sitesled com huntingtons minibar html 30315 zooxtreme cnet news technology and business report ea61679e t35 crestormeek 501megs nizoralrick batcave pokermeisterschaft 52725 tractableflatus 50webs awepoise fetishforest giochi gratis scaricare chromanance 6te plagueyleg 5000megs comedy76 freehostonline stonycaptivate org bando concorso ferrovia dello stato keencomedy fluencykine advertisefort fa4b8ffa499 bashromp patinir unmasking dweebformat 775f16 tekcities sea fishing rigs outwit87 prickkali lick13 mottlestony narconon cassidy bigmainly sexbrides off casino games comnori dnip ecst egloos mentalese cypher gltle byus wishkah ivyro blogin unleashed www planetmono highwind sayu sangsangbox seeand iamfull
86 of set tokens
토큰 분류 결과
guardten : 1 total, 1 bad, 0.9990
sitesled : 4 total, 4 bad, 0.9990
com : 24 total, 20 bad, 0.8333
huntingtons : 1 total, 1 bad, 0.9990
minibar : 1 total, 1 bad, 0.9990
html : 8 total, 8 bad, 0.9990
30315 : 1 total, 1 bad, 0.9990
zooxtreme : 1 total, 1 bad, 0.9990
cnet : 1 total, 1 bad, 0.9990
news : 2 total, 2 bad, 0.9990
technology : 1 total, 1 bad, 0.9990
and : 1 total, 1 bad, 0.9990
business : 1 total, 1 bad, 0.9990
report : 1 total, 1 bad, 0.9990
ea61679e : 1 total, 1 bad, 0.9990
t35 : 3 total, 3 bad, 0.9990
crestormeek : 1 total, 1 bad, 0.9990
501megs : 2 total, 2 bad, 0.9990
nizoralrick : 1 total, 1 bad, 0.9990
batcave : 1 total, 1 bad, 0.9990
pokermeisterschaft : 1 total, 1 bad, 0.9990
52725 : 1 total, 1 bad, 0.9990
tractableflatus : 1 total, 1 bad, 0.9990
50webs : 3 total, 3 bad, 0.9990
awepoise : 1 total, 1 bad, 0.9990
fetishforest : 1 total, 1 bad, 0.9990
giochi : 1 total, 1 bad, 0.9990
gratis : 1 total, 1 bad, 0.9990
scaricare : 1 total, 1 bad, 0.9990
chromanance : 1 total, 1 bad, 0.9990
6te : 1 total, 1 bad, 0.9990
plagueyleg : 1 total, 1 bad, 0.9990
5000megs : 2 total, 2 bad, 0.9990
comedy76 : 1 total, 1 bad, 0.9990
freehostonline : 1 total, 1 bad, 0.9990
stonycaptivate : 1 total, 1 bad, 0.9990
org : 5 total, 2 bad, 0.4000
bando : 1 total, 1 bad, 0.9990
concorso : 1 total, 1 bad, 0.9990
ferrovia : 1 total, 1 bad, 0.9990
dello : 1 total, 1 bad, 0.9990
stato : 1 total, 1 bad, 0.9990
keencomedy : 1 total, 1 bad, 0.9990
fluencykine : 1 total, 1 bad, 0.9990
advertisefort : 1 total, 1 bad, 0.9990
fa4b8ffa499 : 1 total, 1 bad, 0.9990
bashromp : 1 total, 1 bad, 0.9990
patinir : 1 total, 1 bad, 0.9990
unmasking : 1 total, 1 bad, 0.9990
dweebformat : 1 total, 1 bad, 0.9990
775f16 : 1 total, 1 bad, 0.9990
tekcities : 3 total, 3 bad, 0.9990
sea : 1 total, 1 bad, 0.9990
fishing : 1 total, 1 bad, 0.9990
rigs : 1 total, 1 bad, 0.9990
outwit87 : 1 total, 1 bad, 0.9990
prickkali : 1 total, 1 bad, 0.9990
lick13 : 1 total, 1 bad, 0.9990
mottlestony : 1 total, 1 bad, 0.9990
narconon : 1 total, 1 bad, 0.9990
cassidy : 1 total, 1 bad, 0.9990
bigmainly : 1 total, 1 bad, 0.9990
sexbrides : 1 total, 1 bad, 0.9990
off : 1 total, 1 bad, 0.9990
casino : 1 total, 1 bad, 0.9990
games : 1 total, 1 bad, 0.9990
comnori : 2 total, 0 bad, 0.0010
dnip : 1 total, 0 bad, 0.0010
ecst : 1 total, 0 bad, 0.0010
egloos : 3 total, 0 bad, 0.0010
mentalese : 1 total, 0 bad, 0.0010
cypher : 1 total, 0 bad, 0.0010
gltle : 1 total, 0 bad, 0.0010
byus : 1 total, 0 bad, 0.0010
wishkah : 1 total, 0 bad, 0.0010
ivyro : 1 total, 0 bad, 0.0010
blogin : 1 total, 0 bad, 0.0010
unleashed : 1 total, 0 bad, 0.0010
www : 3 total, 0 bad, 0.0010
planetmono : 3 total, 0 bad, 0.0010
highwind : 1 total, 0 bad, 0.0010
sayu : 1 total, 0 bad, 0.0010
sangsangbox : 1 total, 0 bad, 0.0010
seeand : 2 total, 0 bad, 0.0010
iamfull : 1 total, 0 bad, 0.0010
임의의 정상 URL 테스트
eyefocus byus net 0.0002
sexydino com 0.7112
jeremy zawodny com blog archives html 0.9966
www theregister co uk porno blog spam 0.0000
www sifry com alerts archives html 0.3740
www paulgraham com spam html 0.5481
스팸 URL 테스트
sleazybrain orgfree com 0.5481
4ed10e00 5000megs com 0.9996
loverokay sessocities net 0.1067
strayjailed 5000megs com 0.9996
neighplaza climaxmature com 0.5481
atarantagon sitesled com lasix clinic niagara falls area html 1.0000
berthmimer freehostonline com ronalds iced tea mix html 1.0000
실험을 위해 php에다 코멘트를 몽땅 때려넣고, 파일 하나가 혼자서 북치고 장구치고 하는 식으로 만들어봤습니다.
인상적인 것은, 절대적으로 통계 자료가 부족한 상태임에도 불구하고 뻔한 단어(sitesled, 5000megs 등)가 들어있다 싶으면 여지없이 스팸일 확률이 뛰어버립니다. 대신 정상 URL을 스팸으로 판단한 것이 있어(jeremy zawodny com blog archives html 0.9966) 필터가 멋대로 지워버리기 전에 교육을 많이 시켜야할 필요가 있을 듯 합니다. 그에 따라 DB 처리 시간도 엄청나게 늘어날 것 같습니다-_-
Posted by pequt