PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > block user_agent at server level
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

block user_agent at server level

Réponse
 
LinkBack Outils de la discussion
Vieux 07/05/2007, 16h54   #1
Bill
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut block user_agent at server level

Hi

Everybody knows Morfeus Fucking Scanner I think.
I want to block it from my server.

I'm with dyndns.
Apache 2.0.55 under Linux

RewriteCond %{HTTP_USER_AGENT} ^Morfeus.*
RewriteRule ^/.+ - [F]

Is this rule used at the docroot level enough to kick it out without
causing any access problem for the rest of the world ?

Or should I insert it into /etc/apache2.conf ?


Thanks

  Réponse avec citation
Vieux 07/05/2007, 19h56   #2
lark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: block user_agent at server level

Bill wrote:
> Hi
>
> Everybody knows Morfeus Fucking Scanner I think.
> I want to block it from my server.
>
> I'm with dyndns.
> Apache 2.0.55 under Linux
>
> RewriteCond %{HTTP_USER_AGENT} ^Morfeus.*
> RewriteRule ^/.+ - [F]
>
> Is this rule used at the docroot level enough to kick it out without
> causing any access problem for the rest of the world ?
>
> Or should I insert it into /etc/apache2.conf ?
>
>
> Thanks
>


holy moly, i've been also a victim of these scans!!! anybody can
with the rule set above to block this booger altogether?


--
lark -- hamzee@sbcdeglobalspam.net
To reply to me directly, delete "despam".
  Réponse avec citation
Vieux 07/05/2007, 20h20   #3
lark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: block user_agent at server level

lark wrote:
> Bill wrote:
>> Hi
>>
>> Everybody knows Morfeus Fucking Scanner I think.
>> I want to block it from my server.
>>
>> I'm with dyndns.
>> Apache 2.0.55 under Linux
>>
>> RewriteCond %{HTTP_USER_AGENT} ^Morfeus.*
>> RewriteRule ^/.+ - [F]
>>
>> Is this rule used at the docroot level enough to kick it out without
>> causing any access problem for the rest of the world ?
>>
>> Or should I insert it into /etc/apache2.conf ?
>>
>>
>> Thanks
>>

>
> holy moly, i've been also a victim of these scans!!! anybody can
> with the rule set above to block this booger altogether?
>
>


also, i found this out on the blog.evologiq.com's

RewriteCond %{HTTP_USER_AGENT} ^Morfeus
RewriteRule ^.*$ - [F]

one of these or a combination of them should work out, ey?



--
lark -- hamzee@sbcdeglobalspam.net
To reply to me directly, delete "despam".
  Réponse avec citation
Vieux 07/05/2007, 20h38   #4
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: block user_agent at server level

On May 7, 8:20 pm, lark <ham...@sbcdeglobalspam.net> wrote:
> lark wrote:
> > Bill wrote:
> >> Hi

>
> >> Everybody knows Morfeus Fucking Scanner I think.
> >> I want to block it from my server.

>
> >> I'm with dyndns.
> >> Apache 2.0.55 under Linux

>
> >> RewriteCond %{HTTP_USER_AGENT} ^Morfeus.*
> >> RewriteRule ^/.+ - [F]

>
> >> Is this rule used at the docroot level enough to kick it out without
> >> causing any access problem for the rest of the world ?

>
> >> Or should I insert it into /etc/apache2.conf ?

>
> >> Thanks

>
> > holy moly, i've been also a victim of these scans!!! anybody can
> > with the rule set above to block this booger altogether?

>
> also, i found this out on the blog.evologiq.com's
>
> RewriteCond %{HTTP_USER_AGENT} ^Morfeus
> RewriteRule ^.*$ - [F]
>
> one of these or a combination of them should work out, ey?
>
> --
> lark -- ham...@sbcdeglobalspam.net
> To reply to me directly, delete "despam".


well, they work for those scanner setting the user agent string.
One tweak and they're right back at yer, a firewall should really be
doing the work as if Apache is having to block these guys the
connections are still being made. (and as I say one tweak of the UA
and the scanner is doing its work again)
On large sites this is par for the course, I wouldn't worry about it,
just get your security right, and rely on security the old fashioned
way, patching, decent coding, and ACL's, rather than optional UA stuff.

  Réponse avec citation
Vieux 07/05/2007, 20h49   #5
lark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: block user_agent at server level

shimmyshack wrote:
> On May 7, 8:20 pm, lark <ham...@sbcdeglobalspam.net> wrote:
>> lark wrote:
>>> Bill wrote:
>>>> Hi
>>>> Everybody knows Morfeus Fucking Scanner I think.
>>>> I want to block it from my server.
>>>> I'm with dyndns.
>>>> Apache 2.0.55 under Linux
>>>> RewriteCond %{HTTP_USER_AGENT} ^Morfeus.*
>>>> RewriteRule ^/.+ - [F]
>>>> Is this rule used at the docroot level enough to kick it out without
>>>> causing any access problem for the rest of the world ?
>>>> Or should I insert it into /etc/apache2.conf ?
>>>> Thanks
>>> holy moly, i've been also a victim of these scans!!! anybody can
>>> with the rule set above to block this booger altogether?

>> also, i found this out on the blog.evologiq.com's
>>
>> RewriteCond %{HTTP_USER_AGENT} ^Morfeus
>> RewriteRule ^.*$ - [F]
>>
>> one of these or a combination of them should work out, ey?
>>
>> --
>> lark -- ham...@sbcdeglobalspam.net
>> To reply to me directly, delete "despam".

>
> well, they work for those scanner setting the user agent string.
> One tweak and they're right back at yer, a firewall should really be
> doing the work as if Apache is having to block these guys the
> connections are still being made. (and as I say one tweak of the UA
> and the scanner is doing its work again)
> On large sites this is par for the course, I wouldn't worry about it,
> just get your security right, and rely on security the old fashioned
> way, patching, decent coding, and ACL's, rather than optional UA stuff.
>


do you mean to include the ip of the scanner in the firewall list of
denied ips?

--
lark -- hamzee@sbcdeglobalspam.net
To reply to me directly, delete "despam".
  Réponse avec citation
Vieux 07/05/2007, 21h18   #6
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: block user_agent at server level

On May 7, 8:49 pm, lark <ham...@sbcdeglobalspam.net> wrote:
> shimmyshack wrote:
> > On May 7, 8:20 pm, lark <ham...@sbcdeglobalspam.net> wrote:
> >> lark wrote:
> >>> Bill wrote:
> >>>> Hi
> >>>> Everybody knows Morfeus Fucking Scanner I think.
> >>>> I want to block it from my server.
> >>>> I'm with dyndns.
> >>>> Apache 2.0.55 under Linux
> >>>> RewriteCond %{HTTP_USER_AGENT} ^Morfeus.*
> >>>> RewriteRule ^/.+ - [F]
> >>>> Is this rule used at the docroot level enough to kick it out without
> >>>> causing any access problem for the rest of the world ?
> >>>> Or should I insert it into /etc/apache2.conf ?
> >>>> Thanks
> >>> holy moly, i've been also a victim of these scans!!! anybody can
> >>> with the rule set above to block this booger altogether?
> >> also, i found this out on the blog.evologiq.com's

>
> >> RewriteCond %{HTTP_USER_AGENT} ^Morfeus
> >> RewriteRule ^.*$ - [F]

>
> >> one of these or a combination of them should work out, ey?

>
> >> --
> >> lark -- ham...@sbcdeglobalspam.net
> >> To reply to me directly, delete "despam".

>
> > well, they work for those scanner setting the user agent string.
> > One tweak and they're right back at yer, a firewall should really be
> > doing the work as if Apache is having to block these guys the
> > connections are still being made. (and as I say one tweak of the UA
> > and the scanner is doing its work again)
> > On large sites this is par for the course, I wouldn't worry about it,
> > just get your security right, and rely on security the old fashioned
> > way, patching, decent coding, and ACL's, rather than optional UA stuff.

>
> do you mean to include the ip of the scanner in the firewall list of
> denied ips?
>
> --
> lark -- ham...@sbcdeglobalspam.net
> To reply to me directly, delete "despam".


using mod_security you could do that sure, once it had made one
request you could ban it straight away.
but I was thinking more along the lines of an external firewall with
rules for this kind of scanner, once it's signature is detected no
further requests are honoured, or a second honeypot is used. But as I
said, if you are a large site, you are a large target, just make sure
you audit your code for secure practise, and code properly, and patch
your server and so on...

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,66657 seconds with 14 queries