|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetwork.detectors.EventDetector
network.detectors.IPEEventDetector
IPE stands for IllegalProcessExecution. This detector finds
processes that have specific names, being run by specific (or any) users.
These users and programs are specified in the $NETMON/config/ipepolicyfile.
The detector is triggered by a NewProcessEvent.
Here's an example config file:
user = * : program = bnc, eggdrop, eggDrop, crack, john, sniffit, dsniff
user = johnsond : program = mozilla
| Field Summary |
| Fields inherited from class network.detectors.EventDetector |
agentURN, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, remoteTriggeringEvents, reportTable |
| Constructor Summary | |
IPEEventDetector(ConfigObject configObj)
The default constructor. |
|
IPEEventDetector(java.lang.String policyFile,
ConfigObject configObj)
Constructor that takes a path to a policy file. |
|
| Method Summary | |
java.util.Vector |
generateEvent(Event triggeredEvent)
This method will generate an IPEEvent if a currently-running process matches the username and args of a program specified in the IPE policy file. |
java.lang.String |
getGeneratingEventClassName()
Returns the fully-qualified classname of the event that this detector may generate. |
static java.lang.String[] |
getParamList()
Returns array of strings containing all the parameters that can be used as input to modify this detector. |
void |
modifyDetector(java.lang.Object object)
Allows modification of this detector. |
static void |
parseIllegalProgramNamesFile(java.lang.String policyFile,
java.util.Vector policyTable)
Parses an IPE policy file and puts the config info into a vector. |
static java.lang.Object[] |
translateParameters(java.lang.String[] inputarray)
This function takes an array of strings from GUI which contains input and converts them to array of objects and returns. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IPEEventDetector(ConfigObject configObj)
throws java.lang.Exception
public IPEEventDetector(java.lang.String policyFile,
ConfigObject configObj)
throws java.lang.Exception
policyFile - path to policy file.| Method Detail |
public static void parseIllegalProgramNamesFile(java.lang.String policyFile,
java.util.Vector policyTable)
throws java.lang.Exception
policyFile - path to the IPE policy file to be parsed.policyTable - a vector to fill with the config info.
java.lang.Exceptionpublic static java.lang.String[] getParamList()
public static java.lang.Object[] translateParameters(java.lang.String[] inputarray)
throws java.lang.Exception
inputarray - an array of strings that contains user inputs.
java.lang.Exceptionpublic void modifyDetector(java.lang.Object object)
object - a network.PatternObject containing data and action.
network.PatternObjectpublic java.lang.String getGeneratingEventClassName()
getGeneratingEventClassName in class EventDetectorpublic java.util.Vector generateEvent(Event triggeredEvent)
generateEvent in class EventDetectortriggeredEvent - the event that triggered the detector.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||