[Mimedefang] [OT] Fw: Interesting Phishing Trick

David F. Skoll dfs at roaringpenguin.com
Thu Mar 9 19:41:14 EST 2006

Philip Prindeville wrote:

> /<[aA] [hH][rR][eE][fF]=.* (onMouseOver|onMouseMouse)="window\.status=/

You might want to change that regexp to something like:


You probably don't want to use the '*' quantifier in a SpamAssassin
rule regexp; it can exhibit very long execution time on long messages.
You might also want to not get sidetracked by people who add spaces to
throw you off.  And you may as well make the whole thing
case-insensitive.  Finally, you'd want to match something like
<a title="foo" href="bar" onMouseOver="..."> which the original regexp
would miss.



More information about the MIMEDefang mailing list