Windows logs security event id 4624 whenever a user logs on to a machine. Using the Hour/Day settings in an event log filter, you can receive an email alert if someone logs in outside of normal working hours.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
{
"type": 0,
"active": 1,
"name": "Logon After Hours",
"uuid": "6c9df039-fd75-4f4e-8b5f-9b14931a984d",
"version": 2,
"order": 0,
"isfolder": 0,
"applyToCollectorSideThresholds": 0,
"requireAck": 0,
"stopProcessing": 0,
"anomalyFiltering": 1701601889,
"logs": [ "SEC" ],"severities": [ "AUDITSUCCESS" ],"source": "Microsoft-Windows-Security-Auditing",
"eventid": "4624",
"chainType": 0,
"textfilters": [ { "insertionString": 8,
"comparisonType": 0,
"text": "10",
"type": 1
},{ "insertionString": 8,
"comparisonType": 0,
"text": "2",
"type": 1
}],"threshold": {
"type": 0,
"limit": 0,
"interval": 0,
"intervalScale": 0,
"processBefore": 0,
"processAfter": 0,
"processAfterFirstOnly": 0,
"logImmediate": 0,
"logInterval": 0,
"logSeverity": 0,
"matchType": 1
},"timer": {
"enable": 0,
"interval": 2,
"intervalScale": 1
},"bootBehavior": 0,
"schedule": {
"type": 0,
"behavior": 0,
"nthWeekdayOfMonth": 0,
"schedules": [ "1:1:1:1:1:0:0:18:00:07:00", "0:0:0:0:0:1:1:00:00:00:00"]
}
}
|