2018-11-30 09:46 AM
I'm new to this SIEM and writing rules. How would I write a simple rule to report when changes have been made to GPO?
2018-11-30 10:32 AM
We had a client request for notification when GPO policies were created, edited, or deleted. When studied, these actions cause multiple event log entries. Because of the multiple event log entries, we determined that we needed to use the ESA engine for correlation. The EPL rules we created in ESA are below. They may not be exactly what you need, but they may get you started.
======
module GPOCreated;
@Name('GPO Created')
@RSAAlert
SELECT window(*) FROM Event(
medium = 32
AND
reference_id IN ('5137',’5136’)
AND
obj_type = 'grouppolicycontainer'
AND
(ec_activity = 'create' OR cast(action, string) LIKE '%Value Deleted%'))
.std:groupwin(obj_type).win:time_batch(20 seconds)
GROUP BY obj_type;
======
module GPOEdited;
@Name('GPO Edited')
@RSAAlert
SELECT window(*) FROM Event(
medium = 32
AND
reference_id = '5136'
AND
obj_type = 'grouppolicycontainer'
AND
cast(action, string) LIKE '%Value Deleted%')
.std:groupwin(reference_id, obj_type).win:time_batch(20 seconds)
GROUP BY reference_id, obj_type;
======
module GPODeleted;
@Name('GPO Deleted')
@RSAAlert
SELECT window(*) FROM Event(
medium = 32
AND
reference_id = '5141'
AND
obj_type = 'grouppolicycontainer'
AND
cast(action, string) LIKE '%Tree Delete%')
.std:groupwin(reference_id, obj_type).win:time_batch(20 seconds)
GROUP BY reference_id, obj_type;
2018-11-30 10:33 AM
I’m OOO traveling today but will get with you Monday.
2018-11-30 12:00 PM
I am getting this error.
2018-11-30 12:11 PM
The single quotes around 5136 are *different* (they have a name, I'm sure, but I have no idea what those kinds of single-quote-like marks are called). Compare those to the marks around 5137:
Replace those *other* ones with normal single quotes and you should be good.
2018-11-30 01:06 PM
Unfortunately that didn't work. I used the same single quote for both.
2018-11-30 01:15 PM
I'm getting the same error with this one as well
2018-11-30 01:24 PM
I don't have access to a lab environment right now, but these were taken straight from a client report, so they should work.
2018-11-30 01:28 PM
This is copied and pasted to Notepad ++ and copied into Netwitness. I'm stumped
2018-11-30 01:39 PM