Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







C99Shell :: How To Detect Or Disable The Functionality Of C99Shell


Recently my site was defaced, (i own a dedicated server), my server was not touched, but one of the applications I used on the site was exploited to gain access to it.

I have noticed 4 or 5 c99 shells in different locations on my ftp. The site is back online, but it's definitely possible that they have one of these hidden somewhere and that they'll just do it again. I am using cent os 5

How can I easily search for these on my box? Can I disable their functionality? is there setting I can use in htaccess or something to make my website safer? I visited one of the scripts, and it said SAFEMODE OFF, how can I at least enable safemode?

I don't know much of anything about linux, but I am running cpanel and WHM. I have a guy who manages my box but he is hard to get a hold of sometimes, and I'd like to take care of this ASAP!


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
C99Shell :: Detect And Disable C99 Shell?
how i can detect and disable C99 shell and another shell script exp:r57 ....

View Replies!   View Related
C99shell Disable PHP Scripts?
the biggest security issue i have with my clients is php c99 shell and similar php files, somehow these files uploaded on the website and from here they start attacking the websites.
i have seen also that once you upload the c99 php file you are able to see the accounts information ( such as a user name ) on the same server

so is there any way to disable this kind of php file or at least disable some function within the file!

i have been thinking to install and run a antivirus on the server , but i see sometimes they upload the encrypted version of the file , so the antirus can't catch the file as a torjan!

View Replies!   View Related
C99Shell Folders?
I found these folders in the root

/usr/bin/c99

/usr/include/boost/numeric/interval/detail/c99_rounding_control.hpp

/usr/include/boost/numeric/interval/detail/c99sub_rounding_control.hpp

what are these ? is it normal folders ? or somebody hacked our server?

what shall I do?

View Replies!   View Related
Trojan C99Shell
I just installed zen cart on my webhosting and after few days later i saw some file written like core1405.php and when i open to view the file it is actually trojan c99shell.

I have deleted all of the core file. Now how can i prevent it from happen again? Cause it is too much work to clean up the hosting server.

View Replies!   View Related
C99Shell How To Stop
How to stops the scripts like c99 shell from installing into the server?

View Replies!   View Related
C99Shell Hackers Killing Me!
guys im tired off fighting those hackers everyday! i have about 20 websites,and everyday i have one of them hacked! i restore a backup then another one hacked!

thats unbelivable!!!

those bastards upload there shell scripts to websites via bugs or whatever from php files!!

is there anyway to stop these commands?

can .htaccess helps? how?

i talked to my webhosting companies for my websites! ....

View Replies!   View Related
Mod_security & C99shell Anyone Help Please ?
I installed modsecurity from Addone module in Cpanel

When I try to apply phpshell woork good without a mistakes and I can do anything despite of the presence of protection modsecurity and disable_functions in php.ini.

Is there a particular settings add to the httpd.conf to prevent application phpshell or prevent upload it to the site?

View Replies!   View Related
C99Shell :: Attack Rules For Mod_security
i want to prevent c99shell scripts from running.

I found this rule to detect URI's for the c99 shell.

#new kit
SecFilterSelective REQUEST_URI "/c99shell.txt"
SecFilterSelective REQUEST_URI "/c99.txt?"
My problem is that the hackers are being more stealthy and calling the
script some random name like .../myphpstuff.php. So the URI no longer helps detect it.

How could I detect "c99shell" in the actual file that apache servers? This assumes that the hacker was successfully in installing it.

my box

Apache 1.3.37
WHM 11.2.0 cPanel 11.11.0-R16983
FEDORA 5 i686 - WHM X v3.1.0

View Replies!   View Related
C99Shell Stop Shell Hacking Totally?
Is there a way to stop them totally? i.e. even though they are successfully uploaded but I do not want the source to be available to them etc.?

I mean, is there a way to hide or not allow them to execute any shell?

View Replies!   View Related
C99Shell :: Protect My Server For Shell Attacks Via C99 And H57?
I have few scripts, but hackers again upload at some way c99, and hack some SMF forums at server. Server like server they cannot hack, but user account they can. So please tell me what you advice?

View Replies!   View Related
Would You Like To Monitor Your Web Forms Functionality
Considering a web site could be completely useless without its web forms working as expected, and the uptime reports do not verify them at all, I would like to know if you people, consider it important.

View Replies!   View Related
Hosts That Allow Full Mod_rewrite Functionality
What popular hosts allow full mod_rewrite functionality via an .htaccess file?

Particularly, something like this:

Code:
RewriteRule ^avatars/([^.]*.(jpg|jpeg|png|gif|swf))$ imghost.php?fn=$1&dir=avatars [NC,L]
Hosts that allow it:
- Dreamhost
- Hostgator

Hosts that don't allow it:
- Godaddy
- 1&1 / 1and1

View Replies!   View Related
Important MySQL Monitoring Functionality.
What this does is amongst others is to add "SHOW USER_STATISTICS"
statement do MySQL. What this does is keep statistics on which users on your mysql machine is spending the most time processing queries.

It is also mentioned here: [url]

If you believe this functionality could be important to our industry you are more than welcome to vote for this or add comments to the following feature request:

[url]

View Replies!   View Related
Mod_security Functionality Bypass Through .htaccess Issue
I accidently found that it could be available to de-activate mod_security in a certain directory by using a .htaccess like that...

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

I believe it's something related to the "AllowOverride" directive from apache but im not exactly sure, the available arguments for this directive are "AuthConfig, FileInfo, Indexes, Limit, Options", I've tried hardly to find a way to not to disable the usage of .htaccess files and keep it's functionality but also to prevent it from being able to modify through it the functionality of mod_security.

I'm sure Anyone here could help me in this issue as it's a big pain for any server running apache in a shared vhosting environment.

View Replies!   View Related
How To Detect Spamming
How do you know your clients are sending bulk/spam emails?

I don't seem to understand the reports in "Email >> View Mail Statistics" section of WHM.

View Replies!   View Related
Detect Memory
I have a private vps server works under linux ( centos ), sometimes am getting msg from csf/firewall subject:

lfd on website.com: Suspicious process running under user user account

when i check my cpanel/whm vps ( service status ) its shows that the memory limit 80% - 85% , It's had a good forum works with vb, but am wonder how to check my vps memory, i mean how to detect if there any script, or malware, or anything takes the vps memory out...

Is there any way to check,know what works under my vps, so it's take my memory limit 85%?

i check the tmp folder,

root@www [/home]# cd /tmp
root@www [/tmp]# ls -la
total 364
drwxrwxrwt 6 root root 4096 Jul 25 02:14 ./
drwxr-xr-x 21 root root 4096 Jul 18 02:21 ../
drwxrwxrwt 2 root root 4096 Jun 30 05:50 .ICE-unix/
drwxrwxrwx 18 root root 4096 Jul 2 17:33 eaccelerator/
lrwxrwxrwx 1 root root 27 Jul 18 02:13 mysql.sock -> ../var/lib/mysql/mysql.sock=
drwxr-xr-x 3 root root 4096 Jun 30 05:29 pear/
drwx------ 3 root root 4096 Jul 5 18:31 spamd-23647-init/
-rw------- 1 root root 343335 Jul 19 02:50 whatis.bk6140
root@www [/tmp]# cd /home
and the df space

root@www [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 80G 4.1G 76G 6% /
root@www [~]#
and the services running is

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2060 156 ? Ss Jun30 1:23 init [3]
root 7465 0.0 0.0 2444 156 ? S Jul03 0:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/www.website.com.pid
mysql 7491 0.0 2.5 33452 10440 ? Sl Jul03 11:33 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/www.website.com.pid --skip-external-locking
root 10236 0.0 6.0 27396 24764 ? Ss Jul24 0:07 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=3 --max-spare=1
root 11447 0.0 1.9 18364 8020 ? S Jul24 0:00 cpsrvd - waiting for connections
root 11865 0.0 0.7 13672 3260 ? S Jul06 0:00 /usr/local/apache/bin/httpd -k start -DSSL
root 13537 0.0 3.1 15092 13064 ? Ss 00:00 0:02 lfd - sleeping
root 13703 0.0 0.3 3808 1284 ? SN Jul06 0:01 cpanellogd - sleeping for logs
root 13739 0.0 0.6 5856 2844 ? Ss Jul06 0:00 cPhulkd - processor
root 13795 0.0 1.5 14760 6304 ? S Jul06 0:00 cpdavd - accepting connections on 2077 and 2078
root 18161 0.0 0.0 1716 380 ? Ss Jun30 0:24 syslogd -m 0
root 18164 0.0 0.0 1668 72 ? Ss Jun30 0:00 klogd -x
dbus 18193 0.0 0.0 2736 212 ? Ss Jun30 0:00 dbus-daemon --system
root 18213 0.0 0.0 2716 172 ? Ss Jun30 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 18399 0.0 5.9 27604 24404 ? S Jul24 0:06 spamd child
root 19461 0.0 0.1 3228 684 ? Ss Jun30 0:08 crond
root 19616 0.0 0.0 1820 124 ? Ss Jun30 0:00 /usr/sbin/portsentry -

View Replies!   View Related
How-to Detect A Possible Intruder ¿?
I have a few incomplete steps to see if I got some intruder in my Linux system.. But i really would like to have all your suggestions to make a good doc about this matter,

1.- Download and run Rkhunter & Chkrootkit
2.- Run "w", and "netstat -nalp |grep "SHPORTHERE" to see whos connected using SSH
3.- Search for ssh and ftp accepted logins.

Code:
last
cat /var/log/secure* | grep ssh | grep Accept
cat /var/log/secure* |grep ftp |grep Accept
less /var/log/messages | grep ftp
4.- Watch current connections and scan your ports.

Code:
netstat -nalp
nmap 1-65535 localhost
5.- Search for suspicious content on common explotable dirs.

Code:
rm -rf /tmp/sess*
rm -rf /var/dos-*
rm -rf /var/tmp/ssh-*
rm -rf /var/tmp/dos-*
ls /tmp -lab
ls /var/tmp -labR
ls /dev/shm -labR
ls /usr/local/apache/proxy -labR
ls /usr/local/samba -labR
6.- Checking for anomalies on this files.

Code:
less /etc/passwd
less /etc/shadow
less /etc/groups
7.- Search for new users at sudoers, check wtmp and telnet is not running.

Code:
cat /etc/sudoers
who /var/log/wtmp
cat /etc/xinetd.d/telnet
8.- Find bash history files

Code:
find '/' -iname .bash_history
9 .- Verify the Crontab table

Code:
crontab -l
10 .- Update the slocate database and search for exploits.

Code:
updatedb &
For cPanel servers:

Code:
egrep -i '(chr(|system()|(curl|wget|chmod|gcc|perl)%20' /usr/local/apache/logs/*
egrep -i '(chr(|system()|(curl|wget|chmod|gcc|perl)%20' /home/*/statistics/logs/*
For Ensim servers:

Code:
egrep -i '(chr(|system()|(curl|wget|chmod|gcc|perl)%20'/home/virtual/site*/fst/var/log/httpd/*
Search for shell code:

Code:
cat /path/of/your/web/logs/* |grep "/x90/"
11.- Search for hidden dirs

Code:
locate "..."
locate ".. "
rlocate " .."
locate ". "
locate " ."
12.- Search for perl-scripts running

Code:
ps -aux | grep perl
13 .- Checking nobody user and open files.

Code:
service httpd stop
lsof -u nobody

View Replies!   View Related
Detect Errors On Server
I have a server of my own. Unfortunatlly 20% of the time, the server is down even though my connection to internet always up.

I am checking the event log but cannot see anything odd...
OS:Windows server 2003

Is there any tool to detect why the server is down most of the time?

I can post the event viewer errors that I can find suspeicious if needed.

View Replies!   View Related
How To Detect A DDoS Attack ...
is there any proved method to determine what kind of attack you are under? Our server has been under attack for more than a day now but so far we have not been able to find out what kind of attack it is exactly. The server maintence company we are using says it's a DDoS attack but they don't say how they found this out. Also, they are not telling us what kind of DDoS attack it is.

View Replies!   View Related
Is It Possible To Detect User's Pc Configuation
i have some issue,

sometimes,a user may be banned by our firewall,

or the dns of his pc does not work well,...and so on,

by the way,

they can not link to server,

and it spend a lot of time to check where is wrong from his pc aside.

i want to ask if it is possible i use a php script or a exe let him to execute,

and it will help me detect user's pc configuation,

it include his IP/DNS/fateway/trace and ping result,...and so on.

View Replies!   View Related
Host Ability To Self Detect
Do web hosts have the means to self-detect or self-correct problems with people's websites? If so, is there a name for this ability?

Seems that every host I've used has to be *told* about major problems, such as the server or database being down completely. I'm tired of going out of town fearing a site crash. I don't expect them to catch every problem, but when the failure is so blatant, it would be nice if they caught it...

How would I find a host who does this?

View Replies!   View Related
How To Detect Flood Ftp
My server run after 10h sevices ftp is down (network error: connection timed out). may be flood ftp.

how to Detect flood ftp.

View Replies!   View Related
How To Detect What Exactly Caused High Load
On one server which i have sometime appear very high load up to 70,and that causing downtime of few minutes(i have historic data webmin module where i saw high load and downtime time matches,but it doesn't show what causing it).That server also have hardware raid in mirror mode.(copies exact data from one disk to another).

View Replies!   View Related
How To Detect A VPS And Its Technology In Linux
Is there any way to distinguish a dedicated server from VPS using Linux commands and detect the implemented virtualization technology like XEN and OpenVZ, ...?

I have received a dedicated server and in cPanel its written Virtuozzo but they tell me it's XEN , beside this what's the reason to implement a virtualization technic while they give me a dedicated server? Maybe to obtain cheaper cPanel license,

View Replies!   View Related
Detect Mail Server Software
How does one go about detecting what mail server software you have installed and running on your server?

View Replies!   View Related
How To Detect Is It Domain Name Server (DNS) Or Http Down?
If i put domain.com on uptime checker,and downtime is detected,downtime will be reported if dns is down or if http server is down.So question is what i need to do to see what exactly went down?For network uptime i can ping ip adress,but for these two i really don't know.

View Replies!   View Related
Detect The Costa Rica ISP's Website
I know the ISP is RADIGRAFICA COSTARRICENSE, and the server location is San José in Costa Rica.

I googled the ISP name RADIGRAFICA COSTARRICENSE, trying to find out the company site which offer's web hosting service, but I can only find racsa.co.cr; however, this doesn't look like a web hosting company.

View Replies!   View Related
Hacked Vps, To Many Files, How To Detect Hacker
Sometime ago the DC told me there was too many files on server and I started to investigate what is was and i got info that some one hacked the server and was sending spam from it.

When I looked at the accounts in Direct Admin some of them had the contact email to some hacker so i deleted the emails and changed password on the DA account and the email of those accounts.

Still I got too many files all the time so the server goes down so i have to delete the spoolfile all the time like 10 times a day

Please help how do I detect from what account do the hacker operate?

Can I detect that somehow?

Is it possible to do some small script to detect this?

Is there any advanced module to DA that gives me the info?

View Replies!   View Related
How To Detect The Type Of HDDs Installed On My CentOS
Everything I found is the type of RAID controller installed. It's Adaptec 4800SAS SA-SCSI RAID-10. Nothing in /proc about types of HDDs.

View Replies!   View Related
How To Auto Detect A Hack Local File
My server running centOS4 and cPAnel.

Can anyone let me know how to auto detect a hack local file ? eg: review cgi-telnet, c99sell ....

View Replies!   View Related
How To Detect Raid Harddisk Specs From Command Line
how can i remotly( SSH) figure out what kind of raid controller is on my system?!
and how many harddisks my system has and what size?!

I am working on Linux( Centos4)

if i do
#df -h
then i get 146 G

so if my system has raid1, does it mean that the harddisk is 2 X 146 G?
or i should actually see it as 146 / 2?

View Replies!   View Related
How Do You Detect And Block Ddos Or Large Number Of Connection
sometimes, some people may try to guess the password of ssh,whm,ftp,...etc,

or any ddos attack,

do you only use iptables to place this problem?

or do you install any other scripts to secure your server?

my serve is centso.

View Replies!   View Related
How Do I Detect And Remove Spyware From Windows 2003 Server
I am suspecting that we have spyware or virus on our server. How do I detect and remove it from windows 2003 server?

View Replies!   View Related
Command Line To Detect Account/file With Video/music
What command line do you use to detect account storing music/video?

What command line do you search for file that is greater than 1MB?

View Replies!   View Related
How Detect Paths Of ImageMagick And Test ImageMagick?
I buy some webhosts from various hosting providers. I installed vBulletin on one host and ImageMagick do not work. Hosting provider said ImageMagick is installed. Also I checked phpinfo and sow it is really installed. But ImageMagick still do not work!

So, I need anything to detect real ImageMagick paths, status, components.
and also I need anything to test ImageMagick if it works or not.

View Replies!   View Related
Why Disable Parse_ini_file
I've seen for securing PHP recommends putting parse_ini_file() in the disable_functions line in php.ini but I cannot find an exact reason why. This being disabled is causing an error message to appear on some of my users sites but I'm trying to find a clear cut reason why it is disabled.

View Replies!   View Related
Disable Clamav
How can I disable clamav on cpanel server and make sure that it's not running

because when clamav is running the outlook is not working so I have to restart clamav every time.

View Replies!   View Related
Disable Logrotate
is it possible to disable log rotate? I can't seem to find the cron under my weeklys or dailys nor monthlys unless it's named "mad-db" but is there a way to make it say yearly? or just disable it all together? I say this because the script I use has a function already to clear the logs and when log rotate runs it kills all processes going by the script

View Replies!   View Related
How Disable Phpinfo()
when some one upload and load files with phpinfo()

he can see our server PHP Configuration.

how can us disable phpinfo()?

View Replies!   View Related
Disable Auditd
I have disabled auditd

Code:
root@server48 [~]# chkconfig --list |grep audit
root@server48 [~]# rpm -qa|grep audit
audit-libs-1.7.7-6.el5_3.3
audit-libs-1.7.7-6.el5_3.3
audit-libs-python-1.7.7-6.el5_3.3
root@server48 [~]# lsmod |grep audit
root@server48 [~]#
root@server48 [~]# ps aux|grep audit
root 532 0.0 0.0 0 0 ? S< May17 0:00 [kauditd]
root 20690 0.0 0.0 61180 740 pts/0 R+ 06:12 0:00 grep audit
root@server48 [~]#

I still get audit on /var/log/messages

Quote:

May 24 06:10:01 server48 kernel: type=1101 audit(1243163401.625:179651): user pid=19715 uid=0 auid=0 msg='PAM: accounting acct="root" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)'
May 24 06:10:01 server48 kernel: type=1101 audit(1243163401.716:179652): user pid=19716 uid=0 auid=0 msg='PAM: accounting acct="youtubet" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)'
May 24 06:10:02 server48 kernel: type=1101 audit(1243163402.087:179656): user pid=19719 uid=0 auid=0 msg='PAM: accounting acct="vidzboxc" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)'

How do i disable auditd completely?

View Replies!   View Related
Disable Backup
i wanna disable the backup from cpanel for one user only

how i can do that?

i wont him take full backup from the cpanle.

View Replies!   View Related
How To Disable RBL
RBL is blocking every incoming email. While waiting for the admin. How to disable it?

View Replies!   View Related
How To Disable A Contain With Mod_security
How can i disable some words from the contain of the page by Mod_Security2?

View Replies!   View Related
How Do I Disable IPTables?
I installed APF/BFD a log time ago on my centos server and have had no problems up until now.

Approx 3 days ago, the server was uncontactable by SSH/HTTP/FTP. So I ran a traceroute and the host confirmed the box was up with no problems.

He disabled IPTables and I was allowed in. Anyway, overnight, the same thing has happenned again.

I will have to SSH in from another IP however, my main question is how do I disable IPTables ? Or better still, how do I uninstall APF!

View Replies!   View Related
Disable Email
I got the problem with email running on my server.

That mean, I using my domain email service with other server. Now I hosted a website for this domain on one other server.

Note that the IP for domain and email domains are different (Using managed domain service)

But I got the problem now when email sending from the server (using php email function ) with the website running that will confusing, not sending anymore.

Don't know that you understand my case. But I want to stop email service for this domain on my server, all email just send and receive through other email server.

How can I setup or configure it through SSH?

View Replies!   View Related
How To Disable This Message
I have placed .htaccess to block some ip, when the person ip matches, my server will gives this message "client denied by server configuration", got lots of them everday in my error log, how can I disable this message? I need other error log message but not this message, is there any way I can disable it?

using centos and plesk.

View Replies!   View Related
How Do I Disable Apache
I have Apache 2.2 using cPanel 11 how do I disable apache I was sure it was using this cmd, /etc/httpd/conf/httpd.conf off When I try that I get permission denied and im logged in with root! I also tried this /etc/httpd/conf/httpd.conf chmod 777 permission denied again. Anyways, I need to disable Apache so LiteSpeed will work and I can dump Apache the unforgiven pos that will dos it recieves a request to visit a webpage. (That is over doing it, Apache is really good just if it gets hit it's down easy.)

View Replies!   View Related
Dr Web - How To Disable It
I can stop Dr Web from within Plesk Control panel, but every time server restarts - Dr Web is automatically started again.

Any possible way to disable it from running?

Also the same with Spam Assassin.

I am running CentOS

View Replies!   View Related
Disable Function
It possible to disable the disable function for all user expect one account for running few application i need shell_exec, passthru, exec these so for other account it possible to disable it?

View Replies!   View Related
Disable Firewire
how does one disable firewire, in linux, can this be done without recompiling kernel?

View Replies!   View Related
How To Disable Spamassassin.
I am using cPanel 11 one of my Linux server with O.S. as Fedora core 4. For one of my websites I had enabled spam assassin a few days before. But now I want to disable it but not getting any option to do so.

View Replies!   View Related
Disable Clamd
we have a dedicated with 1 only customer that use server x mailing

we would disable clamd because is not used in this situation

we have disable, any day ago, from 'service manager' of WHM but now we see this under "today cpu usage":

Top Process %CPU 67.5 /usr/sbin/clamd
Top Process %CPU 44.0 /usr/bin/perl -w /usr/sbin/eximstats
Top Process %CPU 25.9 /usr/sbin/clamd

View Replies!   View Related
How To Disable Munin...
How to disable from debian server autorun munin script [url] [munin, munin-update, munin-node processes]?

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved