suspicious a.out file in home directory
hi folks,
from time to time an a.out file appears in my home directory of my slackware64 14.1 box.The owner of this file is my user account. I feel unconfortable about it and want to ask if anyone knows whats going on here. You can find the gzipped file here: http://laokoon.in-berlin.de/~heiko/a.out.gz I checked my system with rkhunter - no errors. If you need more informations let me know. regards, heiko |
It happened with me too, I had to remove it like twice and then it never came back again.
|
Perhaps this would be of help?
http://en.wikipedia.org/wiki/A.out Are you compiling software using your standard user account by any chance? |
Thanks for the replies.
Quote:
|
this doesnt reveal much:
Code:
[schneidz@hyper ~]$ file a.out |
It's about as empty as a correctly-formatted ELF file can be. All those sections are empty and define no symbols. It's only "suspicious" for small values of "suspicious" ;)
Code:
$ readelf -a a.out |
Quote:
|
Quick analyzing this little program with a decompiler, I discovered that it do NOTHING.
A good aproximate of its source code is: Code:
int main() { That's all guys, we can move along. :hattip: |
thanks for all your help, i did even learn some things by reading your replies. great.
even though the program won't do any harm to my system i am still worried, as i don't know where this program comes from. i keep an eye on it. thank you. |
ok, again a found an a.out file in my home directory. i set up a script to watch this directory and, if a.out pops up again, log some data and make some noise:
Code:
#!/bin/bash |
I shot in the dark here. What does:
Code:
lsof | grep -i a.out ---------- Post added 02-02-14 at 09:21 AM ---------- Perhaps incorporate that into your script to see if it can catch it in the act. |
In the same idea as stormtracknole, a way to track this kind of things would be to write a gcc/g++ hook in bash, to log any call to the compiler...
This hook could even "break" or notify in real time whenever a "a.out" is being built (or a call without '-o' flag). Cheers Garry. |
Quote:
Code:
fuser $HOME/a.out |
Quote:
|
Looks like something has been testing the compiler, like the test at the end of version-check.sh from LFS:
Code:
echo 'main(){}' > dummy.c && g++ -o dummy dummy.c |
All times are GMT -5. The time now is 05:24 AM. |