You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Alex <my...@gmail.com> on 2024/11/07 02:02:27 UTC

paypal fraud

Hi,

I received a paypal scam invoice using paypal servers that passed DKIM and
sent through paypal servers but has the return path of some other server
after it went through paypal.

Return-Path: <bo...@cvoedukempen.be>

Received-SPF: Pass (protection.outlook.com: domain of paypal.com designates
 66.211.170.93 as permitted sender) receiver=protection.outlook.com;
 client-ip=66.211.170.93; helo=mx9.phx.paypal.com; pr=C
Received: from mx9.phx.paypal.com (66.211.170.93) by
 DU6PEPF0000A7E1.mail.protection.outlook.com (10.167.8.40) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.8137.17 via Frontend Transport; Wed, 6 Nov 2024 16:03:32 +0000
DKIM-Signature: v=1; a=rsa-sha256; d=paypal.com; s=pp-dkim1; c=relaxed/relaxed;
	q=dns/txt; i=@paypal.com; t=1730909010;
	h=From:From:Subject:Date:To:MIME-Version:Content-Type;

From: "service@paypal.com" <se...@paypal.com>
To: Billingdepartments1@cvoedukempen.onmicrosoft.com
Subject: Reminder: You've still got a money request

It's intended for the victim to call the toll-free number to fake paypal
immediately or they will be charged.
Note from Berkshire Hathaway:
Don't recognize the seller? Please contact PayPal Support Team immediately
at .... If you have any issues, you can also contact +... (Toll Free). If
you do not reach out, we will proceed with the transaction.

I tried the trick of first adding *@paypal.com to the welcomelist then
blocking all of paypal.com, but it didn't work. Both were blocked.

welcomelist_auth *@paypal.com
blocklist_from *@paypal.com

None of the KAM paypal rules are effective here, either.

I can add the phone number and perhaps some body rules and the envelope
sender, but is there a more durable way to block these?

Re: paypal fraud

Posted by Matija Nalis <mn...@voyager.hr>.
On Thu, Nov 07, 2024 at 09:49:52PM +0100, Benny Pedersen wrote:
> MX skrev den 2024-11-07 05:44:
> > Isn’t this just a forwarded email from Office 365 using SRS? It
> 
> SRS does not solve rfc in dkim, h= tag misssing minimal required headers


Are we talking about them not signing Message-ID? It is not required
according to RFC 6735, section "5.4.1. Recommended Signature Content"
which says:

   There are trade-offs in the decision of what constitutes the "core"
   of the message, which for some fields is a subjective concept.
   Including fields such as "Message-ID", for example, is useful if
   one considers a mechanism for being able to distinguish separate
   instances of the same message to be core content

So it does not seem required at all.

On the other hand, one can certainly create SA rules that check for
signatures that do not sign Message-ID that if they consider it a
problem, e.g. (rough and completely untested from head):


header __DKIM_SIGNS_MID   DKIM-Signature =~ /\bmessage-id\b/i
header __FROM_PAYPAL      From =~ /paypal\.com/i

meta   SUSP_DKIM_PAYPAL  __FROM_PAYPAL && DKIM_VALID_AU && !__DKIM_SIGNS_MID
score  SUSP_DKIM_PAYPAL  10    # ... or whatever 


of course, that's an example -- don't do that for actual paypal until
they start signing Message-ID, unless you'd like their messages being
flagged as spam :)


Better option for this specific use case would be marking as
suspicious any paypals mails that have unknown Return-Path
(i.e. not one of their regular ones). But that of course becomes
problematic if/when they change it...

-- 
Opinions above are GNU-copylefted.

Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
MX skrev den 2024-11-07 05:44:
> Isn’t this just a forwarded email from Office 365 using SRS? It

SRS does not solve rfc in dkim, h= tag misssing minimal required headers

https://github.com/fastmail/mail-dkim/issues/35

Re: paypal fraud

Posted by MX <ja...@mxroute.com>.
Isn’t this just a forwarded email from Office 365 using SRS? It would make
sense that it pass DKIM in that case. If I understand the attack here they
issue themselves an invoice from PayPal and set up an email forwarder, it’s an
interesting scam. Someone correct me if you see it differently, I haven’t
spent much time on it but I have seen a couple of these.

  

Sent from my iPhone

  

> On Nov 6, 2024, at 8:02 PM, Alex <my...@gmail.com> wrote:  
>  
>

> 
>
> Hi,
>
>  
>
>
> I received a paypal scam invoice using paypal servers that passed DKIM and
> sent through paypal servers but has the return path of some other server
> after it went through paypal.
>  
>  
>     Return-Path:
> <bounces+SRS=/OJZX=[SB@cvoedukempen.be](mailto:SB@cvoedukempen.be)>
>  
>  
>     Received-SPF: Pass
> ([protection.outlook.com](http://protection.outlook.com): domain of
> [paypal.com](http://paypal.com) designates
>      66.211.170.93 as permitted sender)
> receiver=[protection.outlook.com](http://protection.outlook.com);
>      client-ip=66.211.170.93;
> helo=[mx9.phx.paypal.com](http://mx9.phx.paypal.com); pr=C
>     Received: from [mx9.phx.paypal.com](http://mx9.phx.paypal.com)
> (66.211.170.93) by
>
> [DU6PEPF0000A7E1.mail.protection.outlook.com](http://DU6PEPF0000A7E1.mail.protection.outlook.com)
> (10.167.8.40) with Microsoft SMTP
>      Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384)
> id
>      15.20.8137.17 via Frontend Transport; Wed, 6 Nov 2024 16:03:32 +0000
>     DKIM-Signature: v=1; a=rsa-sha256; d=[paypal.com](http://paypal.com);
> s=pp-dkim1; c=relaxed/relaxed;
>       q=dns/txt; i=@[paypal.com](http://paypal.com); t=1730909010;
>       h=From:From:Subject:Date:To:MIME-Version:Content-Type;
>  
>  
>     From: "[service@paypal.com](mailto:service@paypal.com)"
> <[service@paypal.com](mailto:service@paypal.com)>
>     To:
> [Billingdepartments1@cvoedukempen.onmicrosoft.com](mailto:Billingdepartments1@cvoedukempen.onmicrosoft.com)
>     Subject: Reminder: You've still got a money request
>
> It's intended for the victim to call the toll-free number to fake paypal
> immediately or they will be charged.
>
> Note from Berkshire Hathaway:  
> ---  
> Don't recognize the seller? Please contact PayPal Support Team immediately
> at .... If you have any issues, you can also contact +... (Toll Free). If
> you do not reach out, we will proceed with the transaction.  
>  
>  
>
>
> I tried the trick of first adding *@[paypal.com](http://paypal.com) to the
> welcomelist then blocking all of [paypal.com](http://paypal.com), but it
> didn't work. Both were blocked.
>
>  
>
>
> welcomelist_auth *@[paypal.com](http://paypal.com)  
> blocklist_from *@[paypal.com](http://paypal.com)  
>
>
>  
>
>
> None of the KAM paypal rules are effective here, either.
>
>  
> I can add the phone number and perhaps some body rules and the envelope
> sender, but is there a more durable way to block these?
>
>  
>


Re: paypal fraud

Posted by Jared Hall via users <us...@spamassassin.apache.org>.
One of my clients was sent this yesterday:

Return-Path: <bo...@esbmk.onmicrosoft.com>
Received: from mail.tbi.net
     by mail.tbi.net with LMTP
     id IDNsDitYLmfjLA0AVPRGcQ
     (envelope-from <bo...@esbmk.onmicrosoft.com>)
     for <MUNGED>; Fri, 08 Nov 2024 13:27:55 -0500
Received: from localhost (localhost [127.0.0.1])
     by amavis.tbi.net (tbi.net) with ESMTP id 2C585AA951
     for <MUNGED>; Fri,  8 Nov 2024 13:27:55 -0500 (EST)
X-Virus-Scanned: Debian amavisd-new at mail.tbi.net
X-Spam-Flag: YES
X-Spam-Score: 13.469
X-Spam-Level: *************
X-Spam-Status: Yes, score=13.469 tagged_above=-9999 required=10
     tests=[DKIMWL_WL_HIGH=-0.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
     DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
     HTML_MESSAGE=0.001, JR_EXCHANGE=0.01, JR_PHISH_PPAL5=20,
     LOTS_OF_MONEY=0.001, MIME_HTML_ONLY=0.1, POSSIBLE_PAYPAL_PHISH_02=1,
     SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, SYSTEM_INFO=0.01,
     T_JR_BODY_ANYPHONE=0.01, T_JR_EXPLOIT_BAD_URL=0.01,
     T_REMOTE_IMAGE=0.01, T_TBI_MX_CSI_OUTLOOK=0.01,
     USER_IN_DEF_DKIM_WL=-7.5] autolearn=no autolearn_force=no
Authentication-Results: mail.tbi.net (amavisd-new); dkim=pass (2048-bit key)
     header.d=paypal.com
Received: from amavis-in.tbi.net ([127.0.0.1])
     by localhost (mail.tbi.net [127.0.0.1]) (amavisd-new, port 10024)
     with ESMTP id qK8ezV5YyzJM for <MUNGED>;
     Fri,  8 Nov 2024 13:27:54 -0500 (EST)
Received: from APC01-TYZ-obe.outbound.protection.outlook.com 
(mail-tyzapc01lp2046.outbound.protection.outlook.com [104.47.110.46])
     (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
      key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) 
server-digest SHA256)
     (No client certificate requested)
     by mail.tbi.net (tbi.net) with ESMTPS id 2D2DDAA90F
     for <MUNGED>; Fri,  8 Nov 2024 13:27:53 -0500 (EST)
Authentication-Results: spf=pass (sender IP is 66.211.170.94)
  smtp.mailfrom=paypal.com; dkim=pass (signature was verified)
  header.d=paypal.com;dmarc=pass action=none header.from=paypal.com;
Received-SPF: Pass (protection.outlook.com: domain of paypal.com designates
  66.211.170.94 as permitted sender) receiver=protection.outlook.com;
  client-ip=66.211.170.94; helo=mx10.phx.paypal.com; pr=C
DKIM-Signature: v=1; a=rsa-sha256; d=paypal.com; s=pp-dkim1; 
c=relaxed/relaxed;
     q=dns/txt; i=@paypal.com; t=1731081873;
     h=From:From:Subject:Date:To:MIME-Version:Content-Type;
     bh=/SU9ybBUg9+1fwAHSljwojN3W89qQlbWTtk6a9kjKmM=;
  b=cw29yjWqHWZ95AgcBipOut+bx+OSc4Yd70loAVcAuufnmlZz5VaoOGz2Rd+JycC2
     EsYLZ94w81GiVQVmIsiLZlCszPKhuOIP/F1i3Xsa0q4hZMDtuZCJ/qVUWxlPH5xS
     n1HcBuD53mkTwYmEMRJiE3TpMtJdbyyeUKlR7ISztYBsIY+ghhGh+NwsNbawn4q8
     lsMrlYIpdMDJvnyy3bnF1hLON+j4fDfpYKllYx2Gx0B0AsAcGf3yXiBMN4KbKZt9
     so+LfonP5anDBKyvIsEWhAB6E3gwov7znumX+54CCdWOMI8B7a3uUEuobd2mz0QF
     mHE7dWReFbeyNaixUPjnxg==;
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="UTF-8"
Date: Fri, 08 Nov 2024 08:04:33 -0800
Message-ID: <3C...@ccg01mail10>
MIME-Version: 1.0
From: "service@paypal.com" <se...@paypal.com>
To: Billingdepartments1@esbmk.onmicrosoft.com
Subject: ***SPAM*** This money request has been updated

Same as the OP's spample - no MsgID signing.  Indeed interesting.

And what is up with: USER_IN_DEF_DKIM_WL=-7.5?  I see what Benny is 
saying;  good for
SA, but doesn't help PayPal at all.

Shame that PayPal, *probably* the largest online financial processor, 
doesn't have
it's act together; bad SPF records and Microsoft Exchange 
(66.211.170.93/.94) systems that
are Pwned.


Just FYI,

-- Jared Hall


Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
Benny Pedersen skrev den 2024-11-07 22:13:

>> Neither Microsoft or Paypal will do anything unless you advise them of 
>> this - doubt PayPal even knows.
> 
> if the above perl module is fixed for this issue i belive thay will 
> know more

https://dmarcian.com/dmarc-inspector/?domain=paypal.com

relaxed adkim r and aspf r so thay care

dmarc strict need s




Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
Jared Hall via users skrev den 2024-11-07 21:15:

> 1) Paypal's SPF is a little borked.  Here's there first included SPF:
> v=spf1 ip4:173.0.84.224/27 ip4:66.211.170.85/30 ip4:66.211.170.88/29 
> ip4:173.224.165.0/26 ip4:173.0.94.244/30 ip4:173.224.161.128/25 
> ip4:173.0.84.0/29 -all
> 

its still not spf since the forged is not paypal domain in envelope 
sender

> Second entry looks funky with a .85/30 subnet.  *Probably* should be 
> .84/30

if its valid its valid :)

overlapping ranges is another problem

> 2) The funky hostname you see in Return-Path is a result of the 
> Microsoft hacks we've all seen since Last November through June. 
> Obviously abusing Paypal; clever hackers.
> Paypal should take responsibility and fix that also with Microsoft.

yes the selector in dkim should be disputed and public dns key should 
not stay in dns, there is nothing more paypal can do about it

https://github.com/fastmail/mail-dkim/issues/35

> Neither Microsoft or Paypal will do anything unless you advise them of 
> this - doubt PayPal even knows.

if the above perl module is fixed for this issue i belive thay will know 
more


Re: paypal fraud

Posted by Jared Hall via users <us...@spamassassin.apache.org>.

On 11/7/2024 2:20 PM, Benny Pedersen wrote:
> Bill Cole skrev den 2024-11-07 14:47:
>
>> I'm quite sure we don't want the SA project committed to running any
>> sort of blocklist which requires active close attention. We can't do
>> that competently.
>
> how to solve dkim reuse headers then ?, i bet paypal do all thay can 
> to remove that public key in dns, when message-id is not dkim signed or ?
>
> DKIM_VALID_EF should be moved to dmarc plugin btw, and dmarc plugin 
> should really aswell test that minimal rfc h= tags is signed
>
> lets solve it there in the first place

1) Paypal's SPF is a little borked.  Here's there first included SPF:
v=spf1 ip4:173.0.84.224/27 ip4:66.211.170.85/30 ip4:66.211.170.88/29 
ip4:173.224.165.0/26 ip4:173.0.94.244/30 ip4:173.224.161.128/25 
ip4:173.0.84.0/29 -all

Second entry looks funky with a .85/30 subnet.  *Probably* should be .84/30

2) The funky hostname you see in Return-Path is a result of the 
Microsoft hacks we've all seen since Last November through June. 
Obviously abusing Paypal; clever hackers.
Paypal should take responsibility and fix that also with Microsoft.


Neither Microsoft or Paypal will do anything unless you advise them of 
this - doubt PayPal even knows.

-- Jared Hall


Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
Bill Cole skrev den 2024-11-07 14:47:

> I'm quite sure we don't want the SA project committed to running any
> sort of blocklist which requires active close attention. We can't do
> that competently.

how to solve dkim reuse headers then ?, i bet paypal do all thay can to 
remove that public key in dns, when message-id is not dkim signed or ?

DKIM_VALID_EF should be moved to dmarc plugin btw, and dmarc plugin 
should really aswell test that minimal rfc h= tags is signed

lets solve it there in the first place


Re: paypal fraud

Posted by Bill Cole <sa...@billmail.scconsult.com>.
On 2024-11-06 at 22:25:34 UTC-0500 (Thu, 07 Nov 2024 04:25:34 +0100)
Benny Pedersen <me...@junc.eu>
is rumored to have said:

> Alex skrev den 2024-11-07 03:02:
>
>> welcomelist_auth *@paypal.com [2]
>> blocklist_from *@paypal.com [2]
>
> the dkim is imho 100% invalid, there missing important headers dkim 
> signed, eg message-id, doh, reuse forgin is very simple then

It's a bad idea to not sign Message-ID, but that does not make a DKIM 
signature invalid.

> for spamassassin we could add selector blacklistning to solve thease 
> cases

I'm quite sure we don't want the SA project committed to running any 
sort of blocklist which requires active close attention. We can't do 
that competently.

-- 
Bill Cole
bill@scconsult.com or billcole@apache.org
(AKA @grumpybozo@toad.social and many *@billmail.scconsult.com 
addresses)
Not Currently Available For Hire

Re: paypal fraud

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
>>>missing DKIM_VALID_EF, so not dmarc aligned strict

>Matus UHLAR - fantomas skrev den 2024-11-07 19:51:
>>DMARC does not require this.

On 07.11.24 20:00, Benny Pedersen wrote:
>correct for dmarc non strict yes, correct, it does if dkim domain is 
>dmarc strict

This is not what strict means.

DMARC for a domain in header "From:" requires matching DKIM dignature from 
that domain OR matching SPF from that domain. One of them is enough.

>>Even mail from this mailing list does not have DKIM_VALID_EF.
>>Because this list forwards e-mail, changes envelope from, but does 
>>not change headers so original DKIM applies.
>
>maillist will never ever be dmarc strict

You misunderstand what "strict" means. It's related to subdomains.

From: address@sub.example.com in "strict" more requires DKIM or SPF for 
"sub.example.com", in "relaxed" mode DKIM or SPF from "example.com" is 
enough.

Neither policy requires matching both SPF and DKIM

Benny if you have info supporting your theory please point us there.

-- 
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.
Remember half the people you know are below average.

Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
Matus UHLAR - fantomas skrev den 2024-11-07 19:51:

>> missing DKIM_VALID_EF, so not dmarc aligned strict
> 
> DMARC does not require this.

correct for dmarc non strict yes, correct, it does if dkim domain is 
dmarc strict

> Even mail from this mailing list does not have DKIM_VALID_EF.
> Because this list forwards e-mail, changes envelope from, but does not 
> change headers so original DKIM applies.

maillist will never ever be dmarc strict


Re: paypal fraud

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
>Alex skrev den 2024-11-07 14:55:
>>Can I use spamassassin -D on an email I've already received to confirm
>>DKIM signature?

On 07.11.24 17:56, Benny Pedersen wrote:
>sure "spamassassin -D -t email 2>&1 | less" :)
>
>but its sadly dkim valid with non compliant h= tags, i consider this 
>should be reported as a bug
>
>missing DKIM_VALID_EF, so not dmarc aligned strict

DMARC does not require this.

Even mail from this mailing list does not have DKIM_VALID_EF.
Because this list forwards e-mail, changes envelope from, but does not 
change headers so original DKIM applies.

-- 
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.
Honk if you love peace and quiet.

Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
Alex skrev den 2024-11-07 14:55:

> Can I use spamassassin -D on an email I've already received to confirm
> DKIM signature?

sure "spamassassin -D -t email 2>&1 | less" :)

but its sadly dkim valid with non compliant h= tags, i consider this 
should be reported as a bug

missing DKIM_VALID_EF, so not dmarc aligned strict


Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
Michael Peddemors skrev den 2024-11-07 18:03:
> For the record, just because it actually comes from the Paypal 
> infrastructure, doesn't mean it is good.  Last couple of weeks they 
> have been struggling with scammers using actual Paypal accounts.  Fake 
> orders, and using scammers telephone numbers to perpetrate the exfil..

show me spample samples when its hard to detect message-id is not dkim 
h= tag signed, this is ignorant currently in spamassassin missing bug


Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
Michael Peddemors skrev den 2024-11-07 18:03:
> For the record, just because it actually comes from the Paypal 
> infrastructure, doesn't mean it is good.  Last couple of weeks they 
> have been struggling with scammers using actual Paypal accounts.  Fake 
> orders, and using scammers telephone numbers to perpetrate the exfil..

show me spample samples when its hard to detect message-id is not dkim 
h= tag signed, this is ignorant currently in spamassassin missing bug


Re: paypal fraud

Posted by Michael Peddemors <mi...@linuxmagic.com>.
For the record, just because it actually comes from the Paypal 
infrastructure, doesn't mean it is good.  Last couple of weeks they have 
been struggling with scammers using actual Paypal accounts.  Fake 
orders, and using scammers telephone numbers to perpetrate the exfil..

Be on the lookout.

Hard for SA to catch them, but we do keep a list on known scammer 
telephone numbers..

Wonder if it would be a good service to the community to have a database 
of bad phone numbers that a query can be made to.. Of course, soon 
enough they will move to obfuscating those numbers..

Just an idle thought to start the day..

On 2024-11-07 08:51, Kent Oyer wrote:
>  > Should all paypal email have a return-path/envelope sender address as 
> paypal.com <http://paypal.com/>?
> 
> Yes, unless the message was sent through a forwarder. Then the envelope 
> sender will be generated by the forwarding MTA. Also, remember that 
> PayPal has other domains besides paypal.com (paypal.co.uk, 
> paypal.com.mx, etc...)
> 
>  > DKIM is based on the From address, so if it passes DKIM_VALID_AU, 
> doesn't that mean the From address (service@paypal.com 
> <ma...@paypal.com>) is authenticated?
> 
> Yes
> 
>  > Can I use spamassassin -D on an email I've already received to 
> confirm DKIM signature?
> 
> Yes, as long as the sender hasn't changed their selectors/keys in the 
> meantime.
> 
> -Kent
> 
> On Thu, Nov 7, 2024 at 07:56 AM, Alex <my...@gmail.com> wrote:
> 
>      > welcomelist_auth *@ paypal.com [2] > blocklist_from *@ paypal.com
>     [2] the dkim is imho 100% invalid, there missing important headers
>     dkim signed, eg message-id, doh, reuse forgin
>       ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
>     ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
>       ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
>     ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
>       ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
>     ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
>       ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
>     CAUTION: External email from: mysqlstudent@‌gmail.‌com
>     Use caution before clicking on links or opening attachments. 	
> 
>     Protection by MXGuardian <https://mxguardian.net>
> 
> 
>          > welcomelist_auth *@paypal.com <http://paypal.com> [2]
>          > blocklist_from *@paypal.com <http://paypal.com> [2]
> 
>         the dkim is imho 100% invalid, there missing important headers dkim
>         signed, eg message-id, doh, reuse forgin is very simple then
> 
> 
>     Should all paypal email have a return-path/envelope sender address
>     as paypal.com <http://paypal.com>?
> 
>     DKIM is based on the From address, so if it passes DKIM_VALID_AU,
>     doesn't that mean the From address (service@paypal.com
>     <ma...@paypal.com>) is authenticated?
> 
>     Can I use spamassassin -D on an email I've already received to
>     confirm DKIM signature?
> 
>         for spamassassin we could add selector blacklistning to solve
>         thease
>         cases
> 
>         if i get the whole email unedited i can make a yara rule to catch it
> 
> 
>     I will forward it to you separately. I'd be interested in hearing
>     more about blocking based on DKIM selector.
> 
>     Do you have more information on this? I'm aware of yara rules, but
>     can you share more about how you would do this as it applies to SA
>     and how to create the signatures?
> 
>     Is this really any better than reporting to DCC/pyzor/razor and/or
>     clamav or other signature services?
> 


-- 
"Catch the Magic of Linux..."
------------------------------------------------------------------------
Michael Peddemors, President/CEO LinuxMagic Inc.
Visit us at http://www.linuxmagic.com @linuxmagic
A Wizard IT Company - For More Info http://www.wizard.ca
"LinuxMagic" a Reg. TradeMark of Wizard Tower TechnoServices Ltd.
------------------------------------------------------------------------
604-682-0300 Beautiful British Columbia, Canada


Re[2]: paypal fraud

Posted by Kent Oyer <ke...@mxguardian.net>.
> Should all paypal email have a return-path/envelope sender address as paypal.com (http://paypal.com/)?
Yes, unless the message was sent through a forwarder. Then the envelope sender will be generated by the forwarding MTA. Also, remember that PayPal has other domains besides paypal.com (paypal.co.uk, paypal.com.mx, etc...)
> DKIM is based on the From address, so if it passes DKIM_VALID_AU, doesn't that mean the From address (service@paypal.com (mailto:service@paypal.com)) is authenticated?
Yes
> Can I use spamassassin -D on an email I've already received to confirm DKIM signature?
Yes, as long as the sender hasn't changed their selectors/keys in the meantime. 
-Kent

On Thu, Nov 7, 2024 at 07:56 AM, Alex <my...@gmail.com> wrote: > welcomelist_auth *@ paypal.com [2] > blocklist_from *@ paypal.com [2] the dkim is imho 100% invalid, there missing important headers dkim signed, eg message-id, doh, reuse forgin   ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌  ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌    
  CAUTION: External email from: mysqlstudent@‌gmail.‌com
 Use caution before clicking on links or opening attachments.   	 
  Protection by MXGuardian (https://mxguardian.net)    

 > welcomelist_auth *@paypal.com (http://paypal.com) [2]
 > blocklist_from *@paypal.com (http://paypal.com) [2]
 the dkim is imho 100% invalid, there missing important headers dkim 
 signed, eg message-id, doh, reuse forgin is very simple then
Should all paypal email have a return-path/envelope sender address as paypal.com (http://paypal.com)?
DKIM is based on the From address, so if it passes DKIM_VALID_AU, doesn't that mean the From address (service@paypal.com (mailto:service@paypal.com)) is authenticated?
Can I use spamassassin -D on an email I've already received to confirm DKIM signature?
  for spamassassin we could add selector blacklistning to solve thease 
 cases
 if i get the whole email unedited i can make a yara rule to catch it
I will forward it to you separately. I'd be interested in hearing more about blocking based on DKIM selector. 
Do you have more information on this? I'm aware of yara rules, but can you share more about how you would do this as it applies to SA and how to create the signatures? 
Is this really any better than reporting to DCC/pyzor/razor and/or clamav or other signature services?

Re: paypal fraud

Posted by Alex <my...@gmail.com>.
>
>
> > welcomelist_auth *@paypal.com [2]
> > blocklist_from *@paypal.com [2]
>
> the dkim is imho 100% invalid, there missing important headers dkim
> signed, eg message-id, doh, reuse forgin is very simple then
>

Should all paypal email have a return-path/envelope sender address as
paypal.com?

DKIM is based on the From address, so if it passes DKIM_VALID_AU, doesn't
that mean the From address (service@paypal.com) is authenticated?

Can I use spamassassin -D on an email I've already received to confirm DKIM
signature?


> for spamassassin we could add selector blacklistning to solve thease
> cases
>
> if i get the whole email unedited i can make a yara rule to catch it
>

I will forward it to you separately. I'd be interested in hearing more
about blocking based on DKIM selector.

Do you have more information on this? I'm aware of yara rules, but can you
share more about how you would do this as it applies to SA and how to
create the signatures?

Is this really any better than reporting to DCC/pyzor/razor and/or clamav
or other signature services?

Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
Alex skrev den 2024-11-07 03:02:

> welcomelist_auth *@paypal.com [2]
> blocklist_from *@paypal.com [2]

the dkim is imho 100% invalid, there missing important headers dkim 
signed, eg message-id, doh, reuse forgin is very simple then

for spamassassin we could add selector blacklistning to solve thease 
cases

if i get the whole email unedited i can make a yara rule to catch it

> ------
> [1] http://protection.outlook.com
> [2] http://paypal.com
> [3] http://mx9.phx.paypal.com
> [4] http://DU6PEPF0000A7E1.mail.protection.outlook.com

Re: paypal fraud

Posted by Benny Pedersen <me...@junc.eu>.
Alex skrev den 2024-11-07 03:02:

> welcomelist_auth *@paypal.com [2]
> blocklist_from *@paypal.com [2]

the dkim is imho 100% invalid, there missing important headers dkim 
signed, eg message-id, doh, reuse forgin is very simple then

for spamassassin we could add selector blacklistning to solve thease 
cases

if i get the whole email unedited i can make a yara rule to catch it

> ------
> [1] http://protection.outlook.com
> [2] http://paypal.com
> [3] http://mx9.phx.paypal.com
> [4] http://DU6PEPF0000A7E1.mail.protection.outlook.com

Re: paypal fraud

Posted by Alex <my...@gmail.com>.
>
>
> can I have a copy of the email ?
> I am working on improving some KAM Paypal rules.
>

Sent, thanks.


>

Re: paypal fraud

Posted by gi...@paclan.it.
On 11/7/24 3:02 AM, Alex wrote:
> Hi,
> 
> I received a paypal scam invoice using paypal servers that passed DKIM and sent through paypal servers but has the return path of some other server after it went through paypal.
> 
[...]
> From: "service@paypal.com <ma...@paypal.com>" <service@paypal.com <ma...@paypal.com>>
> To:Billingdepartments1@cvoedukempen.onmicrosoft.com <ma...@cvoedukempen.onmicrosoft.com>
> Subject: Reminder: You've still got a money request
> 
> It's intended for the victim to call the toll-free number to fake paypal immediately or they will be charged.
> Note from Berkshire Hathaway:
> Don't recognize the seller? Please contact PayPal Support Team immediately at .... If you have any issues, you can also contact +... (Toll Free). If you do not reach out, we will proceed with the transaction.
> 
> 
> I tried the trick of first adding *@paypal.com <http://paypal.com> to the welcomelist then blocking all of paypal.com <http://paypal.com>, but it didn't work. Both were blocked.
> 
> welcomelist_auth *@paypal.com <http://paypal.com>
> blocklist_from *@paypal.com <http://paypal.com>
> 
> None of the KAM paypal rules are effective here, either.
> 
can I have a copy of the email ?
I am working on improving some KAM Paypal rules.
  Thanks
   Giovanni


> I can add the phone number and perhaps some body rules and the envelope sender, but is there a more durable way to block these?
>