![]() |
|
#1
|
|||
|
|||
|
Java: CLASS file processing and antivirus software
It seems like there is a new Java exploit available, which is now used by some crack sites to change your default browser homepage and your internet security settings. When I noticed this behaviour with my browser, I did a virus scan and my antivirus found some infected java *.class files inside some *.zip files.
Now I'm wondering how Java loads his class files, since my antivirus is set to scan *.class files on access and also scan inside archives. I verified this with by opening the *.zip in winzip, which gave me a virus error. Then I disabled the archive scan and was able to open the *.zip, but I could not extract any of the *.class files because of virus found. So my antivirus works. But Java can load and execute the *.zip and *.class files without my antivirus showing virus found. So how does Java load his programs? |
|
#2
|
|||
|
|||
|
Classes are loader through the class loader(s), that are part of the
Java runtime environment.There are different class loaders available, and of course you can write your own. Normally, the class loader goes through your classpath and examines the .jar files. If a matching .class is found, then it's loaded ... Kerstin |
|
#3
|
|||
|
|||
|
Hello,
Markus, that is strange. What browser do you use ? I think that is a browser flow, especialy if you use that crap of MS IE. As described here: h t t p://www javaworld.com/javaworld/jw-09-1997/jw-09-hood.html untrusted class will not be loaded. regards, asmith |
|
#4
|
|||
|
|||
|
Could you, please, post the infected .class or the link to it. Normally, the browser (in fact the security manager) do not allow any access to the local files and resources of an applet as java classes are loaded and executed in a separated context. At least, that what is claimed in the java world. This could be a bug of the JRE browser plugin though.
Thank you for the info. |
|
#5
|
|||
|
|||
|
Independently of any security flaws that the security manager might have, this still doesn't explain why a process (IE) accesses a .jar or .zip, and the AV doesn't perform the scan of the archive and denies access.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is Baidu an Antivirus Software or a Spyware/Malware? | TempoMat | General Discussion | 7 | 06-26-2014 01:23 |