I am working on a system that answers to scammers. I plan to publish it
in Artistic License 2 when it is more stable.
My goal is to make scammers lose time and energy, collect as much
data as possible and report all that to abuse addresses, and
organizations like Spamcop, Spamhaus, Razor, AbuseIPDB ...
That is an old project that started with manual experiments 2+ years
ago, and that I finally started to vibecode, as a way to check if LLMs
were really able to code and as a benchmark of locally hosted systems.
Similar projects with different tricks or philosophy exists. 

My point: scammers often attach images to their messages: pictures of
female influencers for romance scam, IDs scan to make their story more
real, fake certificates or pictures for finance scams...

pHash is a perceptual hashing algorithm that resists cropping and
resizing reasonably well -- this kind of algorithm is vulnerable to
rotation but a series of pictures of a young woman upside down in a
romance scam would look suspicious, I suppose.
https://en.wikipedia.org/wiki/Perceptual_hashing

I tried Facebook PDQ and did not find any real advantage on my sample.
Actually pHash was a little bit more efficient and its hashes are
smaller than PDQ.
pHahs computation is quick.

If I understood correctly, the hash rather small size makes it easy to
store into a database and query it to check if the pictures are known
in spams or scams, a bit like Vipul's Razor for text part.

It seems that clamAV has started using pHash.

Would such a system be desirable for Spamassassin? 
Would other people here be interested in the design, tests or hosting
of such a thing? 
I rent a server in Canada but I'm not sure it can take much more load,
I already piled too many software. 
I suppose it is better to host this kind of service behind a service
like Cloudflare, I suspect that scammers and spammers can be nasty.

-- 
M A 

Reply via email to