Linux Security Breach

I have a Linux box at rackspace which has been hacked, I've recreated the box on a different VM, but, and I don't know if there's an answer to this, is it conceivable that data files can carry a Trojan/backdoor  if I move them to a new server (esp .mp3 files) ?
I don't know if it's safe to migrate them over.
Silas2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

skijCommented:
Yes, it  is conceivable for data files to carry malicious trojans or backdoor viruses.

For example, MP3 files may contain EXIF data, and in theory the EXIF data could contain code sequences that could target vulnerabilities in media players to infect the memory and impact other files.  Any data files that support EXIF may be vulnerable, including images, audio files and documents.  This problem gained attention in 2007 when TIF images were used to gain control of iPod and iPhone devices.
http://www.scmagazineuk.com/iphone-and-ipod-touch-tiff-flaw-revealed/article/105562/

ClamAV is a free and open-source project that does an excellent job of scanning and detecting data files for these types of vulnerabilities.  

http://www.clamav.net/download.html
https://en.wikipedia.org/wiki/Clam_AntiVirus

If you find ClamAV for Linux too intimidating to use, consider installing ClamWin or Clam Sentinel (both are powered by ClamAV) on a Windows machine, then using it on your Windows platform to scan the data files.

http://www.clamwin.com/
http://clamsentinel.sourceforge.net/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gerwin Jansen, EE MVETopic Advisor Commented:
>> I don't know if it's safe to migrate them over.
Just scan them with any decent virus scanner and move the files over.
0
skijCommented:
ClamWin is a virus scanner that runs on both Windows and Linux.
0
serialbandCommented:
ClamAV mostly scans for Windows Virus signatures.  You'll probably want to use Rootkit Hunter and Chkrootkit to find what might be lurking on your Linux system.

https://rootkit.nl/projects/rootkit_hunter.html
http://www.chkrootkit.org/links/
0
joolsCommented:
Do all of the above but bear in mind that just because a file has a specific extension doesnt mean that it relates to the file type. when back doors are dropped onto systems I have noticed that they can be disguised as picture files or anything really.

Do a full scan!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.