Page 1 of 1
[SOLVED] Clamav virus scan and false positive alerts (PUA)

Posted:
May 12th, '13, 14:21
by joeclem111
I have been using Mageia 2 since last December and, as a Mandriva user previously, I love Maggie. For the last few weeks I have been having some fun. Once or twice it has booted and not displayed the desktop icons. Last night it would not respond to the "turn off" instruction. The worst thing is that the USB mouse (I am on a laptop) does a double click when I only click once. I have reset the mouse in KDE to single click but this is no cure. It feels like there is a rogue program doing this. I do a recursive scan on the home directory maybe 4 times a day and can find a java script threat (phishing) in the firefox cache even when I have not used Firefox and that suggests a trojan may be downloading the threat. A recursive scan of the whole system does not find any threat. Does anyone have any knowledge of this? Are there any known rogue programs that do this? Any constructive help welcome, LATE NEWS, I have determined the mouse to be at fault, didn't expect it as it is only weeks old. The other questions still stand about unusual behaviour and a possible trojan.
Re: system security

Posted:
May 12th, '13, 17:09
by doktor5000
What tool do you use to scan your home, and which script java threat does it find exactly?
Re: system security

Posted:
May 12th, '13, 17:25
by joeclem111
Clamav is my scanner and the java script is usually called "packed" with some other references. I have divided my 500 Gb hard drive with an 8 Gb swap, a 50 Gb partition for the programs and a 200 Gb partition which has /home on it. This is because, on a re-install, the old Mandriva did not over write the /home so all data is usually left intact.
Re: system security

Posted:
May 12th, '13, 20:11
by doktor5000
joeclem111 wrote:Clamav is my scanner and the java script is usually called "packed" with some other references.
Which references exactly? Please provide some output from clamav.
Re: system security

Posted:
May 12th, '13, 20:23
by joeclem111
I have been clean today. Please be patient and I will copy the exact nasty when I next find one and post the name here. Thank you so far.
Re: system security

Posted:
May 14th, '13, 01:32
by joeclem111
I have just found the following threat in /home/user/.mozilla/firefox/qsh25xPUA.Script.Packed-2. Hope this tells you something.
Re: system security

Posted:
May 14th, '13, 20:04
by doktor5000
Well, PUA is a common acronym for Potential Unwanted Application, which most virus scanners use for runtime compression algorithms or similar software. This doesn't tell you anything about the compressed script which is found by clamav, if it's malicious or benign. What i'd worry about is that normally nothing writes directly in /home/user/.mozilla/firefox/
I'd expect something like that in /home/user/.mozilla/firefox/profileid.default/Cache ...
Could you please check that script via
https://www.virustotal.com/en/ ?
Maybe you want to check
http://endian-firewall.1086186.n5.nabbl ... d4445.html
Re: system security

Posted:
May 14th, '13, 20:40
by joeclem111
I have deleted the package so would have to wait for the next incidence before I could check the full package. I also have found this where you indicated, ie, in the Cache. Do you think I have a trojan in play?
Re: system security

Posted:
May 14th, '13, 21:21
by doktor5000
As mentioned, you should definitely check it again thoroughly if it reoccurs. From what you've written, i don't think it's a "trojan".
But better be safe than sorry.
Apart from that, why did you enabled scanning for PUA's in the first place? It's disabled by default.
Please also check
http://forums.clamwin.com/viewtopic.php?p=15576 and
http://web.archive.org/web/200901092005 ... upport/pua
Re: system security

Posted:
May 16th, '13, 02:17
by joeclem111
I didn't enable it, it was like that from the install. I will be missing now till later on Friday as I am in hospital for an op. Will scan on my return and let you know I am back.
I am home and all is well with the op.I have scanned and as yet have not found any more threats. Will continue till I get one and will then have it checked by your link and will post the result.
Re: system security

Posted:
Jun 3rd, '13, 16:42
by joeclem111
Today I got a threat for the first time in a long time. I could not navigate via your virus link as it would not show me the hidden directories. I then went to the directory to move the file to an accessible directory but the file was not there, even though I was showing all hidden files. I had no choice but to delete it. It was in /home/user/.mozilla/firefox/qsh25x PUA.js.Xored. Hope this helps.
Re: system security

Posted:
Jun 3rd, '13, 19:24
by doktor5000
The file was not there, but you deleted it? Huh?
Also noticed that the "PUA.js.Xored" is only a classification by clamav, not part of the filename.
Re: Clamav virus scan and false positive alerts (PUA)

Posted:
Jun 3rd, '13, 19:28
by joeclem111
It was clamav that found it and ofered the delete option after a recursive scan of /home. This delete was done from within the clamav package.
Re: Clamav virus scan and false positive alerts (PUA)

Posted:
Jun 3rd, '13, 19:35
by doktor5000
How did you search for the file manually?
Also please look again at my earlier comments. clamav basically only told you that the file was x-ored:
https://en.wikipedia.org/wiki/Exclusive ... _operationThat's not what i'd call a "threat". Please disable PUA scanning as already mentioned above, it produces too many false positives and is generally not recommended.
Do you use clamtk as frontend?
Re: Clamav virus scan and false positive alerts (PUA)

Posted:
Jun 3rd, '13, 19:52
by joeclem111
I use clamTK but it is out of date (4.43). Last time I updated clamTK on the old laptop it disabled clamav altogether. I invoked clamTK and chose to scan home (recursive).
Re: Clamav virus scan and false positive alerts (PUA)

Posted:
Jun 3rd, '13, 19:57
by doktor5000
In clamtk you manually have to enable scanning for PUA, so either you're using old/migrated settings in your /home, or enabled it yourself.
It is definitely disabled by default - when i ran clamtk, i had to enable it explicitly [- and got 3 "PUA" findings in my firefox profile, which are no threats at all]
Please disable it, as already mentioned, it produces too many false positives.
And please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks
Re: Clamav virus scan and false positive alerts (PUA)

Posted:
Jun 3rd, '13, 20:07
by joeclem111
Thanks so much for all you have done.