CAT Detect Wiki
Status: Alpha
Brought to you by:
marrington
These test queries were described in the paper published at DFRWS 2011 with the version of CAT Detect released at that conference.
SELECT * FROM RecordedEvents UNION SELECT * FROM InferredEvents ORDER BY Time;
SELECT * FROM
((SELECT * FROM RecordedEvents)
UNION
(SELECT * FROM InferredEvents)) AS AllEvents
WHERE
Time >= (SELECT Time FROM RecordedEvents WHERE EventID = 188)
AND Time <= ( SELECT Time FROM RecordedEvents WHERE EventID = 146)
ORDER BY Time;
SELECT * FROM
((SELECT * FROM RecordedEvents)
UNION (SELECT * FROM InferredEvents)) AS AllEvents
WHERE
Time >= (SELECT Time FROM RecordedEvents WHERE EventID = 132)
AND Time <= ( SELECT Time FROM RecordedEvents WHERE EventID = 76)
ORDER BY Time;
SELECT * FROM
((SELECT * FROM RecordedEvents)
UNION (SELECT * FROM InferredEvents)) AS AllEvents
WHERE Time >= (SELECT Time FROM RecordedEvents WHERE EventID = 180)
AND Time <= ( SELECT Time FROM RecordedEvents WHERE EventID = 146)
ORDER BY Time;
Note that this timeline requires a test data modification in order to be shown as inconsistent.
SELECT * FROM
((SELECT * FROM RecordedEvents)
UNION (SELECT * FROM InferredEvents)) AS AllEvents
WHERE Time >= (SELECT Time FROM RecordedEvents WHERE EventID = 188)
AND Time <= ( SELECT Time FROM RecordedEvents WHERE EventID = 149)
ORDER BY Time;