Hacked again :-(

This is a discussion on Hacked again :-( within the Apache Web Server forums, part of the Web Server and Related Forums category; Every few days my server is hacked via apache and I don't know how they get in. For some ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-29-2004
Dan Eskildsen
 
Posts: n/a
Default Hacked again :-(

Every few days my server is hacked via apache and I don't know how they get
in.
For some background information is my post from the 26/07

This time I got a bit more information. I ran the lsof command to see what
files are open.

Somehow the hackers get a file on my system which they are able to execute.
The file is called bd.zip

Here is the interesting information lsof:

bd.zip 21333 wwwrun cwd DIR 3,3 584 2 /
bd.zip 21333 wwwrun rtd DIR 3,3 584 2 /
bd.zip 21333 wwwrun txt REG 3,3 17318 74028
/var/tmp/bd.zip
bd.zip 21333 wwwrun mem REG 3,3 112347 6827
/lib/ld-2.3.2.so
bd.zip 21333 wwwrun mem REG 3,3 569145 46312
/usr/lib/GL/libGL.so.1.2
bd.zip 21333 wwwrun mem REG 3,3 1461208 6824
/lib/i686/libc.so.6
bd.zip 21333 wwwrun mem REG 3,3 80714 6826
/lib/i686/libpthread.so.0
bd.zip 21333 wwwrun mem REG 3,3 66876 16463
/usr/X11R6/lib/libXext.so.6.4
bd.zip 21333 wwwrun mem REG 3,3 1121082 16453
/usr/X11R6/lib/libX11.so.6.2
bd.zip 21333 wwwrun mem REG 3,3 13625 6836
/lib/libdl.so.2
bd.zip 21333 wwwrun 0u CHR 1,3 26298 /dev/null
bd.zip 21333 wwwrun 1u CHR 1,3 26298 /dev/null
bd.zip 21333 wwwrun 2u CHR 1,3 26298 /dev/null
bd.zip 21333 wwwrun 3u IPv4 340065 TCP *:19375
(LISTEN)
bd.zip 21333 wwwrun 8u unix 0xc9d33040 128398 socket
bd.zip 21333 wwwrun 15w REG 3,3 108244 74043
/var/log/httpd/error_log

Looks like it is listening for further command on port 19375. Thankfully my
router's firewall is stopping them.

Any ideas on how they are getting in?


  #2 (permalink)  
Old 07-29-2004
Hostmaster \(NS\)
 
Posts: n/a
Default Re: Hacked again :-(

obviously the 1st thing to do is upgrade apache to latest version, what version you running at present
?

"Dan Eskildsen" <danes@image.dk> wrote in message news:cea8pi$2pm$1@news.cybercity.dk...
> Every few days my server is hacked via apache and I don't know how they get
> in.
> For some background information is my post from the 26/07
>
> This time I got a bit more information. I ran the lsof command to see what
> files are open.
>
> Somehow the hackers get a file on my system which they are able to execute.
> The file is called bd.zip
>
> Here is the interesting information lsof:
>
> bd.zip 21333 wwwrun cwd DIR 3,3 584 2 /
> bd.zip 21333 wwwrun rtd DIR 3,3 584 2 /
> bd.zip 21333 wwwrun txt REG 3,3 17318 74028
> /var/tmp/bd.zip
> bd.zip 21333 wwwrun mem REG 3,3 112347 6827
> /lib/ld-2.3.2.so
> bd.zip 21333 wwwrun mem REG 3,3 569145 46312
> /usr/lib/GL/libGL.so.1.2
> bd.zip 21333 wwwrun mem REG 3,3 1461208 6824
> /lib/i686/libc.so.6
> bd.zip 21333 wwwrun mem REG 3,3 80714 6826
> /lib/i686/libpthread.so.0
> bd.zip 21333 wwwrun mem REG 3,3 66876 16463
> /usr/X11R6/lib/libXext.so.6.4
> bd.zip 21333 wwwrun mem REG 3,3 1121082 16453
> /usr/X11R6/lib/libX11.so.6.2
> bd.zip 21333 wwwrun mem REG 3,3 13625 6836
> /lib/libdl.so.2
> bd.zip 21333 wwwrun 0u CHR 1,3 26298 /dev/null
> bd.zip 21333 wwwrun 1u CHR 1,3 26298 /dev/null
> bd.zip 21333 wwwrun 2u CHR 1,3 26298 /dev/null
> bd.zip 21333 wwwrun 3u IPv4 340065 TCP *:19375
> (LISTEN)
> bd.zip 21333 wwwrun 8u unix 0xc9d33040 128398 socket
> bd.zip 21333 wwwrun 15w REG 3,3 108244 74043
> /var/log/httpd/error_log
>
> Looks like it is listening for further command on port 19375. Thankfully my
> router's firewall is stopping them.
>
> Any ideas on how they are getting in?
>
>

  #3 (permalink)  
Old 07-29-2004
Uncle Pirate
 
Posts: n/a
Default Re: Hacked again :-(

Dan Eskildsen wrote:

> Every few days my server is hacked via apache and I don't know how they get
> in.


I don't know how they got in in the first place, but once a system has
been compromised, you cannot know what backdoors have been set up. Your
best bet is to completely reinstall everything from the OS up from known
clean disks. BTDT. It sucks but it is the only way to be sure they
can't come back again. After reinstalling the OS, make sure you have
all of the latest software and security fixes.

--
Stan McCann "Uncle Pirate"
Webmaster/Computer Center Manager, NMSU at Alamogordo
Cooordinator, Tularosa Basin Chapter, ABATE of NM AMA#758681
'94 1500 Vulcan (now wrecked) :( http://motorcyclefun.org/Dcp_2068c.jpg
A zest for living must include a willingness to die. - R.A. Heinlein

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:36 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0