Grokbase
Topics Posts Groups | in
x
[ help ]

Re: -bash: /bin/grep: cannot execute binary file

View PostFlat  Thread  Threaded | < Prev - Next >
Bill Campbell Re: [CentOS] -bash: /bin/grep: cannot execute binary file
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
On Sat, Oct 18, 2008, Semih Gokalp wrote:
>
>   Hi all,I have problem on CentOS 5.2
> while everything is working great,suddenly i have this error when i
>   login my server,

This could well mean that your system has been cracked.  These
programs are frequently changed in common root exploits.  You can
run ``rpm -V packagename'' to check for package corruption:

The command ``rpm -qf /bin/egrep'' will show the package name to
which /bin/egrep belongs.  A lazy way to handle this is:

rpm -V `rpm -qf /bin/egrep`
rpm -V `rpm -qf /bin/hostname`

The most common reason these programs don't run after a root
exploit is that the cracker has replaced them with binaries from
another distribution and the binaries are looking for shared
libraries that are not on the cracked system.

Bill
--
INTERNET: [email protected: b...@celestial.com] Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

"I do not feel obliged to believe that the same God who has endowed us
with sense, reason, and intellect has intended us to forego their use."
    -- Galileo Galilei
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos

Thread : -bash: /bin/grep: cannot execute binary file
1)
Semih Gokalp Hi all,I have problem on CentOS 5.2 while everything is working great,suddenly i have this error...
2)
Bill Campbell This could well mean that your system has been cracked. These programs are frequently changed in...
3)
Mark Hull-Richter What are you expecting this command to do? If you want to 'sudo' a command, do that. If you want to...
4)
Stephen Harris I'm not the OP, but "sudo su -" is a very useful command; it gives the user full root access to a...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >