|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetwork.detectors.EventDetector
network.detectors.RootPresenceEventDetector
Check for RootPresence, through either legitimate logins (xdm, or SU), or through new processes being started as root. Once found, new event will be generated, and the event handler will take appropriate action, eg: launching further agents to monitor critical resources.
Field Summary |
Fields inherited from class network.detectors.EventDetector |
agentURN, cred, dbModule, eventIDGenerator, eventTable, host, localTriggeringEvents, remoteTriggeringEvents, reportTable |
Constructor Summary | |
RootPresenceEventDetector(ConfigObject configObj)
Instantiates the detector with the default triggering events |
Method Summary | |
java.util.Vector |
generateEvent(Event triggeringEvent)
Determines if the triggering event is an XDMEvent, SUEvent, or ProcessMonitorEvent and calls the correct processing method. |
java.lang.String |
getGeneratingEventClassName()
Returns the name of the event that this detector generates |
java.util.Vector |
processProcessMonitoringEvent(ProcessMonitoringEvent event)
|
java.util.Vector |
processSUEvent(SUEvent event)
Generates an event if the su is trying to switch to root and if the su command succeeded |
java.util.Vector |
processXDMEvent(XDMEvent event)
Determines if the username logging into xdm is root and if the event is an xdmOn event |
java.util.Vector |
testProcessMonitoringEvent(ProcessMonitoringEvent event)
Determines if a new process has been created by the root user |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RootPresenceEventDetector(ConfigObject configObj)
Method Detail |
public java.lang.String getGeneratingEventClassName()
getGeneratingEventClassName
in class EventDetector
public java.util.Vector processXDMEvent(XDMEvent event)
event
- The XDMEvent to analyze
public java.util.Vector testProcessMonitoringEvent(ProcessMonitoringEvent event)
event
- The event to analyze
public java.util.Vector processProcessMonitoringEvent(ProcessMonitoringEvent event)
event
-
public java.util.Vector processSUEvent(SUEvent event)
event
- The SUEvent to analyze.
public java.util.Vector generateEvent(Event triggeringEvent)
generateEvent
in class EventDetector
triggeringEvent
- The event triggering this detector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |