You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by John Hardin <jh...@impsec.org> on 2008/06/15 19:03:27 UTC
SARE fraud rulesets rotted?
Folks:
I tried posting this to fraud@rulesemporium.com but it bounced...
I'm seeing recent 419 spams (e.g. the ATM Card variant) making it
through SA lately. It hits BAYES_99, but no SARE rules.
Are these rules defunct?
Suggestion: grabbing Justin Mason's SOUGHT tools and using them against
a 419-specific corpus might be a really good way to keep the fraud
ruleset current without a lot of manual effort...
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
It is not the business of government to make men virtuous or
religious, or to preserve the fool from the consequences of his own
folly. -- Henry George
-----------------------------------------------------------------------
3 days until SWMBO's Birthday
Re: SARE fraud rulesets rotted?
Posted by John Hardin <jh...@impsec.org>.
On Sun, 2008-06-15 at 12:19 -0500, Chris wrote:
> On Sunday 15 June 2008 12:03 pm, John Hardin wrote:
>
> > I'm seeing recent 419 spams (e.g. the ATM Card variant) making it
> > through SA lately. It hits BAYES_99, but no SARE rules.
> >
> > Are these rules defunct?
>
> Are you running the ClamAv plug-in? It catches all of those here on my box.
No, I'm not.
Thanks for suggesting the alternative, but that doesn't really answer my
question...
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
...to announce there must be no criticism of the President or to
stand by the President right or wrong is not only unpatriotic and
servile, but is morally treasonous to the American public.
-- Theodore Roosevelt, 1918
-----------------------------------------------------------------------
3 days until SWMBO's Birthday
Re: SARE fraud rulesets rotted?
Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
> On Sun, June 15, 2008 19:19, Chris wrote:
>
> > Are you running the ClamAv plug-in? It catches all of those here on my box.
On 15.06.08 20:31, Benny Pedersen wrote:
> should not hit there, since 2 things:
>
> 1: its not a virus
clamav tries to hit phishes too. and it's quite good at it...
> 2: clamav should run seperate from spamassassin
yes, which whould mean SA won't see the phishes...
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese.
RE: SARE fraud rulesets rotted?
Posted by Robert - elists <li...@abbacomm.net>.
>
> Yeah, it's easy enough doing that conversion -- let us know if he's
> happy for that to happen. It'd be a good way to "port" those sigs
> to SpamAssassin....
>
> --j.
JM,
Would that be announced on the list somehow?
Many of us use the CLAMAV SA plugin with those sigs already, and I think it
would add unnecessary processing to out systems
- rh
Re: SARE fraud rulesets rotted?
Posted by Matt Hampton <sp...@coders.co.uk>.
Benny Pedersen wrote:
> sanesucureity should make sa-channels :-)
Had a quick look at this and the signatures should be fairly
straighforward to convert to SA rules - has anyone got a script that
takes a string and then turns it in to a regular expression - I'm
guessing JM does for the sought rules?
I have dropped an email to Steve at sane security to see if he is OK
doing this before going to far with it!
cheers
Matt
Re: SARE fraud rulesets rotted?
Posted by Benny Pedersen <me...@junc.org>.
On Sun, June 15, 2008 19:19, Chris wrote:
> Are you running the ClamAv plug-in? It catches all of those here on my box.
should not hit there, since 2 things:
1: its not a virus
2: clamav should run seperate from spamassassin
sanesucureity should make sa-channels :-)
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098
Re: SARE fraud rulesets rotted?
Posted by Chris <cp...@embarqmail.com>.
On Sunday 15 June 2008 12:03 pm, John Hardin wrote:
> Folks:
>
> I tried posting this to fraud@rulesemporium.com but it bounced...
>
> I'm seeing recent 419 spams (e.g. the ATM Card variant) making it
> through SA lately. It hits BAYES_99, but no SARE rules.
>
> Are these rules defunct?
>
> Suggestion: grabbing Justin Mason's SOUGHT tools and using them against
> a 419-specific corpus might be a really good way to keep the fraud
> ruleset current without a lot of manual effort...
Are you running the ClamAv plug-in? It catches all of those here on my box.
--
Chris
KeyID 0xE372A7DA98E6705C
Re: SARE fraud rulesets rotted?
Posted by Benny Pedersen <me...@junc.org>.
On Mon, June 16, 2008 02:55, John Hardin wrote:
> They *did not* hit for me. I've published one of the messages here:
> http://www.impsec.org/~jhardin/atm_spam_01.txt
pts rule name description
---- ---------------------- -------------------------------------------------
1.7 FH_HOST_EQ_PACBELL_D Host is pacbell.net dsl
1.0 HK_BADNAME From-name is empty or contains no small characters
0.5 FREEMAIL_FROM From-address is freemail domain
2.1 SUBJ_ALL_CAPS Subject is all capitals
2.5 BADRELAY Relay looks like dynamic/dialup/bot
2.0 FREEMAIL_REPLYTO Different freemail address found in Reply-To or Body
than From
0.6 US_DOLLARS_3 BODY: Mentions millions of $ ($NN,NNN,NNN.NN)
0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60%
[score: 0.5000]
1.5 UPPERCASE_75_100 message body is 75-100% uppercase
0.1 RDNS_DYNAMIC Delivered to trusted network by host with
dynamic-looking rDNS
2.0 HK_MUCHMONEY Message refers to hundreds of thousands or millions
0.5 FREEMAIL_FROM_D2 Freemail ending with 1-2 digits
4.0 HK_SCAM Looks like scam
1.3 SAGREY Adds score to spam from first-time senders
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098
Re: SARE fraud rulesets rotted?
Posted by Chris <cp...@embarqmail.com>.
On Sunday 15 June 2008 7:55 pm, John Hardin wrote:
> > (RE:YOUR ATM-211 CARD UPDATE!!)
>
> PAYMENT-CODE -(ATM-411)
>
> Similar, yes. "We'll send you a $1500/day-capable ATM card..."
>
> > Content analysis details: (20.8 points, 5.0 required)
> >
> > pts rule name description
> > ---- ----------------------
> > --------------------------------------------------
> >
> > 1.7 SARE_FRAUD_X3 Matches 3+ phrases commonly used in fraud
> > spam 1.7 SARE_FRAUD_X4 Matches 4+ phrases commonly used in fraud
> > spam
> >
> > Notice SARE rules were in fact hit.
>
> They *did not* hit for me. I've published one of the messages here:
> http://www.impsec.org/~jhardin/atm_spam_01.txt
John, here is how the one you posted hit:
Content analysis details: (27.5 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
5.0 BAYES_99 BODY: Bayesian spam probability is 99 to 100%
[score: 0.9994]
1.7 FH_HOST_EQ_PACBELL_D Host is pacbell.net dsl
1.0 FREEMAIL_FROM From-address is freemail domain
2.1 SUBJ_ALL_CAPS Subject is all capitals
2.0 FREEMAIL_REPLYTO Different freemail address found in Reply-To or
Body
than From
0.6 US_DOLLARS_3 BODY: Mentions millions of $ ($NN,NNN,NNN.NN)
-0.0 DCC_CHECK_NEGATIVE Not listed in DCC
[cpollock 1113; Body=16 Fuz1=16]
[Fuz2=31]
10 CLAMAV Clam AntiVirus detected a virus
1.5 UPPERCASE_75_100 message body is 75-100% uppercase
0.1 RDNS_DYNAMIC Delivered to trusted network by host with
dynamic-looking rDNS
2.5 L_UNVERIFIED_GMAIL L_UNVERIFIED_GMAIL
1.0 SAGREY Adds 1.0 to spam from first-time senders
Here is the ClamAv hit
X-Spam-Virus: Yes (Email.Scam4.Gen954.Sanesecurity.07062802)
Yes, no SARE rules were hit on this one, however, plenty of other rules were
hit sufficient to make it past my 5.0 default.
--
Chris
KeyID 0xE372A7DA98E6705C
Re: SARE fraud rulesets rotted?
Posted by John Hardin <jh...@impsec.org>.
On Tue, 2008-06-17 at 21:28 -0500, Chris wrote:
> On Tuesday 17 June 2008 10:29 am, John Hardin wrote:
> > On Tue, 17 Jun 2008, ram wrote:
> > >> 2.8 L_NOTVALID_GMAIL L_NOTVALID_GMAIL
> > >
> > > What are these rules L_NOTVALID_GMAIL , L_UNVERIFIED_GMAIL etc ?
> >
> > They're related to DKIM. Google them and you'll find their definitions.
>
> Could you possibly be talking about this ruleset:
{snip}
> I forgot where I got it but I've got it placed in my local.cf and get quite a
> few hits on it.
Yep. Mark Martinec posted them to the SA list in Feb 2007.
http://mail-archives.apache.org/mod_mbox/spamassassin-users/200702.mbox/%3C200702112322.18849.Mark.Martinec+sa@ijs.si%3E
That's what I was referring to. I don't know if Mark originated them or
not...
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
W-w-w-w-w-where did he learn to n-n-negotiate like that?
-----------------------------------------------------------------------
Tomorrow: SWMBO's Birthday
Re: SARE fraud rulesets rotted?
Posted by Chris <cp...@embarqmail.com>.
On Tuesday 17 June 2008 10:29 am, John Hardin wrote:
> On Tue, 17 Jun 2008, ram wrote:
> >> 2.8 L_NOTVALID_GMAIL L_NOTVALID_GMAIL
> >
> > What are these rules L_NOTVALID_GMAIL , L_UNVERIFIED_GMAIL etc ?
>
> They're related to DKIM. Google them and you'll find their definitions.
Could you possibly be talking about this ruleset:
header __L_ML1 Precedence =~ m{\b(list|bulk)\b}i
header __L_ML2 exists:List-Id
header __L_ML3 exists:List-Post
header __L_ML4 exists:Mailing-List
header __L_HAS_SNDR exists:Sender
meta __L_VIA_ML __L_ML1 || __L_ML2 || __L_ML3 || __L_ML4 || __L_HAS_SNDR
header __L_FROM_Y1 From:addr =~ m{[@.]yahoo\.com$}i
header __L_FROM_Y2 From:addr =~ m{\@yahoo\.com\.(ar|br|cn|hk|my|sg)$}i
header __L_FROM_Y3 From:addr =~ m{\@yahoo\.co\.(id|in|jp|nz|uk)$}i
header __L_FROM_Y4 From:addr =~ m{\@yahoo\.(ca|de|dk|es|fr|gr|ie|it|pl|
se)$}i
meta __L_FROM_YAHOO __L_FROM_Y1 || __L_FROM_Y2 || __L_FROM_Y3 || __L_FROM_Y4
header __L_FROM_GMAIL From:addr =~ m{\@gmail\.com$}i
meta L_UNVERIFIED_YAHOO !DKIM_VERIFIED && __L_FROM_YAHOO && !__L_VIA_ML
priority L_UNVERIFIED_YAHOO 500
score L_UNVERIFIED_YAHOO 2.5
meta L_UNVERIFIED_GMAIL !DKIM_VERIFIED && __L_FROM_GMAIL && !__L_VIA_ML
priority L_UNVERIFIED_GMAIL 500
score L_UNVERIFIED_GMAIL 2.5
I forgot where I got it but I've got it placed in my local.cf and get quite a
few hits on it.
--
Chris
KeyID 0xE372A7DA98E6705C
Re: SARE fraud rulesets rotted?
Posted by John Hardin <jh...@impsec.org>.
On Tue, 17 Jun 2008, ram wrote:
>> 2.8 L_NOTVALID_GMAIL L_NOTVALID_GMAIL
>
> What are these rules L_NOTVALID_GMAIL , L_UNVERIFIED_GMAIL etc ?
They're related to DKIM. Google them and you'll find their definitions.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Warning Labels we'd like to see #1: "If you are a stupid idiot while
using this product you may hurt yourself. And it won't be our fault."
-----------------------------------------------------------------------
Tomorrow: SWMBO's Birthday
Re: SARE fraud rulesets rotted?
Posted by mouss <mo...@netoyen.net>.
ram wrote:
> [snip]
>
> What are these rules L_NOTVALID_GMAIL , L_UNVERIFIED_GMAIL etc ?
>
See (even if you don't use amavisd-new):
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim
Re: SARE fraud rulesets rotted?
Posted by ram <ra...@netcore.co.in>.
On Mon, 2008-06-16 at 22:10 +0200, mouss wrote:
> John Hardin wrote:
> > [snip]
> > They *did not* hit for me. I've published one of the messages here:
> > http://www.impsec.org/~jhardin/atm_spam_01.txt
> >
> >
> >
>
> true, but other rules hit, so there is no point to have specific sare rules.
>
> without Bayes, a test on the message yields:
>
> Content analysis details: (8.7 points, 5.0 required)
>
> pts rule name description
> ---- ----------------------
> --------------------------------------------------
> 0.9 FH_HOST_EQ_PACBELL_D Host is pacbell.net dsl
> 0.0 COUNTRY_US Relayed via US
> 1.8 SUBJ_ALL_CAPS Subject is all capitals
> 1.2 US_DOLLARS_3 BODY: Mentions millions of $ ($NN,NNN,NNN.NN)
> 0.1 RDNS_DYNAMIC Delivered to trusted network by host with
> dynamic-looking rDNS
> 1.9 UPPERCASE_75_100 message body is 75-100% uppercase
> 2.8 L_NOTVALID_GMAIL L_NOTVALID_GMAIL
>
What are these rules L_NOTVALID_GMAIL , L_UNVERIFIED_GMAIL etc ?
Re: SARE fraud rulesets rotted?
Posted by mouss <mo...@netoyen.net>.
John Hardin wrote:
> [snip]
> They *did not* hit for me. I've published one of the messages here:
> http://www.impsec.org/~jhardin/atm_spam_01.txt
>
>
>
true, but other rules hit, so there is no point to have specific sare rules.
without Bayes, a test on the message yields:
Content analysis details: (8.7 points, 5.0 required)
pts rule name description
---- ----------------------
--------------------------------------------------
0.9 FH_HOST_EQ_PACBELL_D Host is pacbell.net dsl
0.0 COUNTRY_US Relayed via US
1.8 SUBJ_ALL_CAPS Subject is all capitals
1.2 US_DOLLARS_3 BODY: Mentions millions of $ ($NN,NNN,NNN.NN)
0.1 RDNS_DYNAMIC Delivered to trusted network by host with
dynamic-looking rDNS
1.9 UPPERCASE_75_100 message body is 75-100% uppercase
2.8 L_NOTVALID_GMAIL L_NOTVALID_GMAIL
Re: SARE fraud rulesets rotted?
Posted by John Hardin <jh...@impsec.org>.
On Sun, 2008-06-15 at 19:10 -0500, Chris wrote:
> On Sunday 15 June 2008 12:03 pm, John Hardin wrote:
> > Folks:
> >
> > I tried posting this to fraud@rulesemporium.com but it bounced...
> >
> > I'm seeing recent 419 spams (e.g. the ATM Card variant) making it
> > through SA lately. It hits BAYES_99, but no SARE rules.
> >
> > Are these rules defunct?
> >
> > Suggestion: grabbing Justin Mason's SOUGHT tools and using them against
> > a 419-specific corpus might be a really good way to keep the fraud
> > ruleset current without a lot of manual effort...
>
> John, I assume you're talking about spam with a subject such as:
>
> (RE:YOUR ATM-211 CARD UPDATE!!)
PAYMENT-CODE -(ATM-411)
Similar, yes. "We'll send you a $1500/day-capable ATM card..."
> Content analysis details: (20.8 points, 5.0 required)
>
> pts rule name description
> ---- ---------------------- --------------------------------------------------
> 1.7 SARE_FRAUD_X3 Matches 3+ phrases commonly used in fraud spam
> 1.7 SARE_FRAUD_X4 Matches 4+ phrases commonly used in fraud spam
> Notice SARE rules were in fact hit.
They *did not* hit for me. I've published one of the messages here:
http://www.impsec.org/~jhardin/atm_spam_01.txt
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
I'm seriously considering getting one of those bright-orange prison
overalls and stencilling PASSENGER on the back. Along with the paper
slippers, I ought to be able to walk right through security.
-- Brian Kantor in a.s.r
-----------------------------------------------------------------------
3 days until SWMBO's Birthday
Re: SARE fraud rulesets rotted?
Posted by Chris <cp...@embarqmail.com>.
On Sunday 15 June 2008 12:03 pm, John Hardin wrote:
> Folks:
>
> I tried posting this to fraud@rulesemporium.com but it bounced...
>
> I'm seeing recent 419 spams (e.g. the ATM Card variant) making it
> through SA lately. It hits BAYES_99, but no SARE rules.
>
> Are these rules defunct?
>
> Suggestion: grabbing Justin Mason's SOUGHT tools and using them against
> a 419-specific corpus might be a really good way to keep the fraud
> ruleset current without a lot of manual effort...
John, I assume you're talking about spam with a subject such as:
(RE:YOUR ATM-211 CARD UPDATE!!)
On my box here these rules are hit, though not ClamAv this time, most times it
is.
Content analysis details: (20.8 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
1.9 TVD_RCVD_IP TVD_RCVD_IP
3.2 TVD_RCVD_IP4 TVD_RCVD_IP4
1.0 RELAY_NG Relayed through Nigeria
2.1 SUBJ_ALL_CAPS Subject is all capitals
2.1 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO
1.3 MISSING_HEADERS Missing To: header
1.9 BILLION_DOLLARS BODY: Talks about lots of money
0.6 US_DOLLARS_3 BODY: Mentions millions of $ ($NN,NNN,NNN.NN)
0.0 HTML_MESSAGE BODY: HTML included in message
1.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60%
[score: 0.5103]
1.5 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
-0.0 DCC_CHECK_NEGATIVE Not listed in DCC
[cpollock 1113; Body=1 Fuz1=1 Fuz2=1]
1.7 SARE_FRAUD_X3 Matches 3+ phrases commonly used in fraud spam
1.7 SARE_FRAUD_X4 Matches 4+ phrases commonly used in fraud spam
1.0 SAGREY Adds 1.0 to spam from first-time senders
Notice SARE rules were in fact hit.
--
Chris
KeyID 0xE372A7DA98E6705C