mailing list archives
Re: Java Code Scanning
From: Gary Ellison <gary.ellison () sun com>
Date: Fri, 9 Jan 2004 17:10:26 -0800
" " == Peter Lee <Peter> writes:
Hi there and a good day to you,
Cutting to the chase; if I am to do a textual scan of a piece of Java
application code for potential malicious code embedded, what are the key
words to scan for?
For example in the case of C/C++ program; I might look for memory
handling code i.e memcpy(), strcpy(), strdup(), memset(), system
execution code sys(), exec(), fork(), etc. IPC & RPC calls. Codes which
try to access password directory that sort of thing.
The idea is not to look for bad code writing, but to identify/flag code
which may have security implications for more detailed sturdy or even
Anyone have a list of keywords to search with?
You may want to have a look at the secure coding guide
To get a deeper understanding of permissions the paper by Kovad,
Pistoia and Kershenbaum is quite detailed.
mailto: <first>_DOT_<last>_AT_sun_DOT_com http://tinyurl.com/yrbj6
"Yeah, Bootsy's cool. Huh, huhhuhuh."
"Bootsy! He's from outer space. Heh, henh, henh, henh."
Beavis & Butthead