LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-05-2006, 10:15 PM   #1
davsnotn
LQ Newbie
 
Registered: Feb 2006
Distribution: RHEL 4
Posts: 15

Rep: Reputation: 0
strange directory entry in Desktop


I am running RHEL 4 and the Gnome desktop. When I switch to the Desktop directory and do an "ls", I notice two strange listings. One is" larry-004369ec04.desktop and the other is greasy-000e4d4d26.desktop I don't know what to make of it. Is this some kind of security issue?
 
Old 06-06-2006, 07:11 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
If there are no authorized users of your system named either 'larry' or 'greasy', then you probably have a security issue.

Start reading howtos and tutorials on how to harden your system against intrusion.

Before installing/configuring software to harden the system, make certain the system is clean. Take the system off-line, backup personal files to removable media, then format your partitions and re-install the OS so that you can be assured that the software you do have installed has not been compromised, and that there are no strangers hidden files in the system.
 
Old 06-06-2006, 07:54 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Uhhmm, before we enter full-scale nuclear destruction mode I'd suggest running "fuser", "file" and "stat" on the files to give us some more details. Fuser should show if it's in use right now, file tries to determine what type this is (like safe to read ASCII) and stat gives you details about ownership and access times. please post *exact* output.
 
Old 06-07-2006, 08:56 PM   #4
davsnotn
LQ Newbie
 
Registered: Feb 2006
Distribution: RHEL 4
Posts: 15

Original Poster
Rep: Reputation: 0
Sorry for the delay in the reply. I've had some personal issues with my son. "larry" is an ASCII file and "greasy" is a UTF-8 unicode text file. I will post the exact output when I get to the Linux box. Where do I download "fuser" from? I get an error that it doesn't exist? The other two worked fine and I'll post the exact output tomorrow.
 
Old 06-08-2006, 04:42 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Sorry for the delay in the reply. I've had some personal issues with my son.
Don't be. It was only two days ago and I don't see no real urgency or security issues here.


"larry" is an ASCII file and "greasy" is a UTF-8 unicode text file.
...which means you probably can read contents safely.


Where do I download "fuser" from? I get an error that it doesn't exist?
Maybe it isn't in your $PATH statement. "slocate fuser" should indicate where it lives, I'd say /sbin.


...now say you would "slocate -r ".*/.*\.desktop"" (w/o outer quotes), pick one, and compare it with these two, is the content in any of those two kinda similar? If it is then you could do "rpm -q --whatprovides original_file_you_picked_for_comparison" to get the name(s) of package with this similar content and so (narrow down and) determine what app(s) would write stuff like that.

Last edited by unSpawn; 06-08-2006 at 04:43 AM.
 
Old 06-08-2006, 12:14 PM   #6
davsnotn
LQ Newbie
 
Registered: Feb 2006
Distribution: RHEL 4
Posts: 15

Original Poster
Rep: Reputation: 0
Thank you. Here is an exact copy from the stat and file output. I'll do the fuser next:

[walkup@NMR400 ~/Desktop]$ file larry-004369ec04.desktop
larry-004369ec04.desktop: ASCII text
[walkup@NMR400 ~/Desktop]$ file greasy-000e4d4d26.desktop
greasy-000e4d4d26.desktop: UTF-8 Unicode text
[walkup@NMR400 ~/Desktop]$ stat larry-004369ec04.desktop
File: `larry-004369ec04.desktop'
Size: 228 Blocks: 16 IO Block: 4096 regular file
Device: 302h/770d Inode: 5647599 Links: 1
Access: (0700/-rwx------) Uid: ( 1001/ walkup) Gid: ( 31/ nmr)
Access: 2006-06-07 21:45:15.727746776 -0400
Modify: 2006-04-21 20:52:32.000000000 -0400
Change: 2006-04-21 20:52:32.000000000 -0400
[walkup@NMR400 ~/Desktop]$ stat greasy-000e4d4d26.desktop
File: `greasy-000e4d4d26.desktop'
Size: 3652 Blocks: 16 IO Block: 4096 regular file
Device: 302h/770d Inode: 5647483 Links: 1
Access: (0700/-rwx------) Uid: ( 1001/ walkup) Gid: ( 31/ nmr)
Access: 2006-06-07 21:45:48.325791120 -0400
Modify: 2006-02-08 08:17:37.000000000 -0500
Change: 2006-02-08 08:17:41.000000000 -0500
[walkup@NMR400 ~/Desktop]$
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Bugzilla Entry... bornhj General 2 10-01-2004 11:56 PM
strange iptables entry jimieee Linux - Networking 2 11-10-2003 10:31 AM
strange apache access_log entry bulliver Linux - Security 3 01-30-2003 04:07 AM
CDROM desktop entry error in Debian sidewalking Linux - General 2 01-15-2003 09:28 PM
Strange Log Watch entry magyartoth Linux - General 4 06-07-2002 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration