Hi Matias, hope you are well, am back, and
1) Got one rule working (wuhu!, thx Matias), am stuck on the next experiment (if ok, see #3). If I can get this 2nd one working, am hoping I'll have enough to proceed on my own:).
The rule that's working (log entries in archives.log, in alerts.log and .json, and triggering emails I'm receiving) is:
group name="customrules,">
<rule id="60642" level="12" overwrite="yes">
<if_sid>60640</if_sid>
<field name="win.system.eventID">^16384$</field>
<options>no_full_log</options>
<description>Software protection service scheduled successfully.</description>
<options>alert_by_email</options>
</rule>
</group>
I'd started off thinking this would a new custom rule, not a change to an existing one. I've not needed a custom decoder for this rule to work, for me to be getting emails for it.
I think an aspect of all of this I didn't understand (and correct if this seems like I still don't) is the complexity & interaction between custom rules/decoders and default rules/decoders. E.g., I might not need a custom rule because a default one already exists (and my custom one might not work as a result) so it matters to try to determine that, or I might want to make a custom rule as a change to a default one with "overwrite="yes"> tag because I want to change the level etc. This makes the whole process deeper than I expected, and have with your help used wazuh-logtest and various grep statements to see if a default rule exists that I want to know about (there may be good documentation on all of this that I've missed and apologies if so) before embarking on developing a custom rule or decoder.
2) The wazuh-logtest test strings, the one in the documentation looks (
https://documentation.wazuh.com/current/user-manual/ruleset/testing.html) like it has the header (e.g., Dec 25 20:45:02 MyHost example[12345]: User 'admin' logged from '192.168.1.100' ...am I mistaken? So am still a bit uncertain as to if this means take a straight log entry out of "archive.log" with the header and if that doesn't seem to work, strip the header out or is it "always strip the header out"?
3) Am trying one more experiment with rules here, I started thinking would be simple but am struggling. This one is to look at "chkdsk" results, and flag problems. Log events are showing up in archives.log but not alerts.log or alerts.json yet.
my rule attempt is (I am assuming there is a default rule 1002 in /var/ossec/ruleset/rules/0020-syslog_rules.xml:
<rule id="1002" level="12" overwrite="yes">
<match>$Chkdsk</match>
<description>ChkdskScan</description>
<options>alert_by_email</options>
<group>gpg13_4.3,</group>
</rule>
The default rule had a level of 2, and a match statement of <match>$BAD_WORDS</match>. I've tried a number of different things (e.g., <if_sid>530</if_sid> for an attempt using a local file on the client, using custom rules with an <if_sid>1002</if_sid to try to use rule 1002 to trigger a custom rule).
I'm using as a logtest string the ugly one from archives.log (sorry, this is quite log):
2023 Sep 06 10:42:57 (MG-PC) any->EventChannel {"win":{"system":{"providerName":"Chkdsk","eventID":"26212","version":"0","level":"4","task":"0","opcode":"0","keywords":"0x80000000000000","systemTime":"2023-09-06T14:42:57.4893065Z","eventRecordID":"973394","processID":"0","threadID":"0","channel":"Application","computer":"MG-PC","severityValue":"INFORMATION","message":"\"Chkdsk was executed in read-only mode on a volume snapshot. \r\n\r\nChecking file system on C:\r\nThe type of the file system is NTFS.\r\nVolume label is OSDisk.\r\n\r\nWARNING! /F parameter not specified.\r\nRunning CHKDSK in read-only mode.\r\n\r\nStage 1: Examining basic file system structure ...\r\nCleaning up instance tags for file 0x19953.\r\n 836096 file records processed. \r\r\nFile verification completed.\r\n Phase duration (File record verification): 55.78 seconds.\r\n 29050 large file records processed. \r\r\n Phase duration (Orphan file record recovery): 0.00 milliseconds.\r\n 0 bad file records processed. \r\r\n Phase duration (Bad file record checking): 0.60 milliseconds.\r\n\r\nStage 2: Examining file name linkage ...\r\n 76080 reparse records processed. \r\r\n 1173980 index entries processed. \r\r\nIndex verification completed.\r\n Phase duration (Index verification): 3.73 minutes.\r\n 0 unindexed files scanned. \r\r\n Phase duration (Orphan reconnection): 7.40 seconds.\r\n 0 unindexed files recovered to lost and found. \r\r\n Phase duration (Orphan recovery to lost and found): 0.33 milliseconds.\r\n 76080 reparse records processed. \r\r\n Phase duration (Reparse point and Object ID verification): 279.81 milliseconds.\r\n\r\nStage 3: Examining security descriptors ...\r\nSecurity descriptor verification completed.\r\n Phase duration (Security descriptor verification): 725.96 milliseconds.\r\n 168943 data files processed. \r\r\n Phase duration (Data attribute verification): 0.39 milliseconds.\r\nCHKDSK is verifying Usn Journal...\r\n 33718840 USN bytes processed. \r\r\nUsn Journal verification completed.\r\n Phase duration (USN journal verification): 580.54 milliseconds.\r\n\r\nWindows has scanned the file system and found no problems.\r\nNo further action is required.\r\n\r\n 311459395 KB total disk space.\r\n 50097752 KB in 413842 files.\r\n 311952 KB in 168944 indexes.\r\n 0 KB in bad sectors.\r\n 956951 KB in use by the system.\r\n 65536 KB occupied by the log file.\r\n 260092740 KB available on disk.\r\n\r\n 4096 bytes in each allocation unit.\r\n 77864848 total allocation units on disk.\r\n 65023185 allocation units available on disk.\r\nTotal duration: 4.81 minutes (289035 ms).\r\n\""},"eventdata":{"binary":"00C20C008DE40800ADA70F00000000001C020000142701000000000000000000","data":" Checking file system on C: The type of the file system is NTFS. Volume label is OSDisk. WARNING! /F parameter not specified. Running CHKDSK in read-only mode. Stage 1: Examining basic file system structure ... Cleaning up instance tags for file 0x19953. 836096 file records processed. File verification completed. Phase duration (File record verification): 55.78 seconds. 29050 large file records processed. Phase duration (Orphan file record recovery): 0.00 milliseconds. 0 bad file records processed. Phase duration (Bad file record checking): 0.60 milliseconds. Stage 2: Examining file name linkage ... 76080 reparse records processed. 1173980 index entries processed. Index verification completed. Phase duration (Index verification): 3.73 minutes. 0 unindexed files scanned. Phase duration (Orphan reconnection): 7.40 seconds. 0 unindexed files recovered to lost and found. Phase duration (Orphan recovery to lost and found): 0.33 milliseconds. 76080 reparse records processed. Phase duration (Reparse point and Object ID verification): 279.81 milliseconds. Stage 3: Examining security descriptors ... Security descriptor verification completed. Phase duration (Security descriptor verification): 725.96 milliseconds. 168943 data files processed. Phase duration (Data attribute verification): 0.39 milliseconds. CHKDSK is verifying Usn Journal... 33718840 USN bytes processed. Usn Journal verification completed. Phase duration (USN journal verification): 580.54 milliseconds. Windows has scanned the file system and found no problems. No further action is required. 311459395 KB total disk space. 50097752 KB in 413842 files. 311952 KB in 168944 indexes. 0 KB in bad sectors. 956951 KB in use by the system. 65536 KB occupied by the log file. 260092740 KB available on disk. 4096 bytes in each allocation unit. 77864848 total allocation units on disk. 65023185 allocation units available on disk. Total duration: 4.81 minutes (289035 ms)."}}}
2023 Sep 06 12:12:23 (MG-PC) any->EventChannel {"win":{"system":{"providerName":"Chkdsk","eventID":"26212","version":"0","level":"4","task":"0","opcode":"0","keywords":"0x80000000000000","systemTime":"2023-09-06T16:12:23.1086916Z","eventRecordID":"973400","processID":"0","threadID":"0","channel":"Application","computer":"MG-PC","severityValue":"INFORMATION","message":"\"Chkdsk was executed in read-only mode on a volume snapshot. \r\n\r\nChecking file system on C:\r\nThe type of the file system is NTFS.\r\nVolume label is OSDisk.\r\n\r\nWARNING! /F parameter not specified.\r\nRunning CHKDSK in read-only mode.\r\n\r\nStage 1: Examining basic file system structure ...\r\nCleaning up instance tags for file 0x19953.\r\n 836096 file records processed. \r\r\nFile verification completed.\r\n Phase duration (File record verification): 1.24 minutes.\r\n 29051 large file records processed. \r\r\n Phase duration (Orphan file record recovery): 0.00 milliseconds.\r\n 0 bad file records processed. \r\r\n Phase duration (Bad file record checking): 0.93 milliseconds.\r\n\r\nStage 2: Examining file name linkage ...\r\n 76080 reparse records processed. \r\r\n 1173980 index entries processed. \r\r\nIndex verification completed.\r\n Phase duration (Index verification): 4.41 minutes.\r\n 0 unindexed files scanned. \r\r\n Phase duration (Orphan reconnection): 7.42 seconds.\r\n 0 unindexed files recovered to lost and found. \r\r\n Phase duration (Orphan recovery to lost and found): 0.32 milliseconds.\r\n 76080 reparse records processed. \r\r\n Phase duration (Reparse point and Object ID verification): 276.55 milliseconds.\r\n\r\nStage 3: Examining security descriptors ...\r\nSecurity descriptor verification completed.\r\n Phase duration (Security descriptor verification): 147.47 milliseconds.\r\n 168943 data files processed. \r\r\n Phase duration (Data attribute verification): 0.37 milliseconds.\r\nCHKDSK is verifying Usn Journal...\r\n 34392472 USN bytes processed. \r\r\nUsn Journal verification completed.\r\n Phase duration (USN journal verification): 719.12 milliseconds.\r\n\r\nWindows has scanned the file system and found no problems.\r\nNo further action is required.\r\n\r\n 311459395 KB total disk space.\r\n 50355068 KB in 413907 files.\r\n 311964 KB in 168944 indexes.\r\n 0 KB in bad sectors.\r\n 957783 KB in use by the system.\r\n 65536 KB occupied by the log file.\r\n 259834580 KB available on disk.\r\n\r\n 4096 bytes in each allocation unit.\r\n 77864848 total allocation units on disk.\r\n 64958645 allocation units available on disk.\r\nTotal duration: 5.80 minutes (348103 ms).\r\n\""},"eventdata":{"binary":"00C20C00CEE408002BA80F00000000001C020000142701000000000000000000","data":" Checking file system on C: The type of the file system is NTFS. Volume label is OSDisk. WARNING! /F parameter not specified. Running CHKDSK in read-only mode. Stage 1: Examining basic file system structure ... Cleaning up instance tags for file 0x19953. 836096 file records processed. File verification completed. Phase duration (File record verification): 1.24 minutes. 29051 large file records processed. Phase duration (Orphan file record recovery): 0.00 milliseconds. 0 bad file records processed. Phase duration (Bad file record checking): 0.93 milliseconds. Stage 2: Examining file name linkage ... 76080 reparse records processed. 1173980 index entries processed. Index verification completed. Phase duration (Index verification): 4.41 minutes. 0 unindexed files scanned. Phase duration (Orphan reconnection): 7.42 seconds. 0 unindexed files recovered to lost and found. Phase duration (Orphan recovery to lost and found): 0.32 milliseconds. 76080 reparse records processed. Phase duration (Reparse point and Object ID verification): 276.55 milliseconds. Stage 3: Examining security descriptors ... Security descriptor verification completed. Phase duration (Security descriptor verification): 147.47 milliseconds. 168943 data files processed. Phase duration (Data attribute verification): 0.37 milliseconds. CHKDSK is verifying Usn Journal... 34392472 USN bytes processed. Usn Journal verification completed. Phase duration (USN journal verification): 719.12 milliseconds. Windows has scanned the file system and found no problems. No further action is required. 311459395 KB total disk space. 50355068 KB in 413907 files. 311964 KB in 168944 indexes. 0 KB in bad sectors. 957783 KB in use by the system. 65536 KB occupied by the log file. 259834580 KB available on disk. 4096 bytes in each allocation unit. 77864848 total allocation units on disk. 64958645 allocation units available on disk. Total duration: 5.80 minutes (348103 ms)."}}}
2023 Sep 06 13:11:00 (MG-PC) any->EventChannel {"win":{"system":{"providerName":"Chkdsk","eventID":"26212","version":"0","level":"4","task":"0","opcode":"0","keywords":"0x80000000000000","systemTime":"2023-09-06T17:11:00.8631543Z","eventRecordID":"973404","processID":"0","threadID":"0","channel":"Application","computer":"MG-PC","severityValue":"INFORMATION","message":"\"Chkdsk was executed in read-only mode on a volume snapshot. \r\n\r\nChecking file system on C:\r\nThe type of the file system is NTFS.\r\nVolume label is OSDisk.\r\n\r\nWARNING! /F parameter not specified.\r\nRunning CHKDSK in read-only mode.\r\n\r\nStage 1: Examining basic file system structure ...\r\nCleaning up instance tags for file 0x19953.\r\n 836096 file records processed. \r\r\nFile verification completed.\r\n Phase duration (File record verification): 1.66 minutes.\r\n 29051 large file records processed. \r\r\n Phase duration (Orphan file record recovery): 0.00 milliseconds.\r\n 0 bad file records processed. \r\r\n Phase duration (Bad file record checking): 1.16 milliseconds.\r\n\r\nStage 2: Examining file name linkage ...\r\n 76081 reparse records processed. \r\r\n 1173980 index entries processed. \r\r\nIndex verification completed.\r\n Phase duration (Index verification): 3.72 minutes.\r\n 0 unindexed files scanned. \r\r\n Phase duration (Orphan reconnection): 7.41 seconds.\r\n 0 unindexed files recovered to lost and found. \r\r\n Phase duration (Orphan recovery to lost and found): 0.33 milliseconds.\r\n 76081 reparse records processed. \r\r\n Phase duration (Reparse point and Object ID verification): 293.83 milliseconds.\r\n\r\nStage 3: Examining security descriptors ...\r\nSecurity descriptor verification completed.\r\n Phase duration (Security descriptor verification): 257.68 milliseconds.\r\n 168943 data files processed. \r\r\n Phase duration (Data attribute verification): 0.36 milliseconds.\r\nCHKDSK is verifying Usn Journal...\r\n 34905840 USN bytes processed. \r\r\nUsn Journal verification completed.\r\n Phase duration (USN journal verification): 472.06 milliseconds.\r\n\r\nWindows has scanned the file system and found no problems.\r\nNo further action is required.\r\n\r\n 311459395 KB total disk space.\r\n 50531508 KB in 413933 files.\r\n 311964 KB in 168944 indexes.\r\n 0 KB in bad sectors.\r\n 957975 KB in use by the system.\r\n 65536 KB occupied by the log file.\r\n 259657948 KB available on disk.\r\n\r\n 4096 bytes in each allocation unit.\r\n 77864848 total allocation units on disk.\r\n 64914487 allocation units available on disk.\r\nTotal duration: 5.52 minutes (331744 ms).\r\n\""},"eventdata":{"binary":"00C20C00E8E4080060A80F00000000001D020000142701000000000000000000","data":" Checking file system on C: The type of the file system is NTFS. Volume label is OSDisk. WARNING! /F parameter not specified. Running CHKDSK in read-only mode. Stage 1: Examining basic file system structure ... Cleaning up instance tags for file 0x19953. 836096 file records processed. File verification completed. Phase duration (File record verification): 1.66 minutes. 29051 large file records processed. Phase duration (Orphan file record recovery): 0.00 milliseconds. 0 bad file records processed. Phase duration (Bad file record checking): 1.16 milliseconds. Stage 2: Examining file name linkage ... 76081 reparse records processed. 1173980 index entries processed. Index verification completed. Phase duration (Index verification): 3.72 minutes. 0 unindexed files scanned. Phase duration (Orphan reconnection): 7.41 seconds. 0 unindexed files recovered to lost and found. Phase duration (Orphan recovery to lost and found): 0.33 milliseconds. 76081 reparse records processed. Phase duration (Reparse point and Object ID verification): 293.83 milliseconds. Stage 3: Examining security descriptors ... Security descriptor verification completed. Phase duration (Security descriptor verification): 257.68 milliseconds. 168943 data files processed. Phase duration (Data attribute verification): 0.36 milliseconds. CHKDSK is verifying Usn Journal... 34905840 USN bytes processed. Usn Journal verification completed. Phase duration (USN journal verification): 472.06 milliseconds. Windows has scanned the file system and found no problems. No further action is required. 311459395 KB total disk space. 50531508 KB in 413933 files. 311964 KB in 168944 indexes. 0 KB in bad sectors. 957975 KB in use by the system. 65536 KB occupied by the log file. 259657948 KB available on disk. 4096 bytes in each allocation unit. 77864848 total allocation units on disk. 64914487 allocation units available on disk. Total duration: 5.52 minutes (331744 ms)."}}}
2023 Sep 06 14:24:02 (MG-PC) any->EventChannel {"win":{"system":{"providerName":"Chkdsk","eventID":"26212","version":"0","level":"4","task":"0","opcode":"0","keywords":"0x80000000000000","systemTime":"2023-09-06T18:23:58.7304867Z","eventRecordID":"973410","processID":"0","threadID":"0","channel":"Application","computer":"MG-PC","severityValue":"INFORMATION","message":"\"Chkdsk was executed in read-only mode on a volume snapshot. \r\n\r\nChecking file system on C:\r\nThe type of the file system is NTFS.\r\nVolume label is OSDisk.\r\n\r\nWARNING! /F parameter not specified.\r\nRunning CHKDSK in read-only mode.\r\n\r\nStage 1: Examining basic file system structure ...\r\nCleaning up instance tags for file 0x19953.\r\n 836096 file records processed. \r\r\nFile verification completed.\r\n Phase duration (File record verification): 1.37 minutes.\r\n 29051 large file records processed. \r\r\n Phase duration (Orphan file record recovery): 0.00 milliseconds.\r\n 0 bad file records processed. \r\r\n Phase duration (Bad file record checking): 0.10 milliseconds.\r\n\r\nStage 2: Examining file name linkage ...\r\n 76085 reparse records processed. \r\r\n 1173998 index entries processed. \r\r\nIndex verification completed.\r\n Phase duration (Index verification): 5.87 minutes.\r\n 0 unindexed files scanned. \r\r\n Phase duration (Orphan reconnection): 7.53 seconds.\r\n 0 unindexed files recovered to lost and found. \r\r\n Phase duration (Orphan recovery to lost and found): 0.07 milliseconds.\r\n 76085 reparse records processed. \r\r\n Phase duration (Reparse point and Object ID verification): 368.46 milliseconds.\r\n\r\nStage 3: Examining security descriptors ...\r\nSecurity descriptor verification completed.\r\n Phase duration (Security descriptor verification): 8.13 seconds.\r\n 168952 data files processed. \r\r\n Phase duration (Data attribute verification): 0.07 milliseconds.\r\nCHKDSK is verifying Usn Journal...\r\n 35504840 USN bytes processed. \r\r\nUsn Journal verification completed.\r\n Phase duration (USN journal verification): 3.11 seconds.\r\n\r\nWindows has scanned the file system and found no problems.\r\nNo further action is required.\r\n\r\n 311459395 KB total disk space.\r\n 50698012 KB in 413848 files.\r\n 311968 KB in 168953 indexes.\r\n 0 KB in bad sectors.\r\n 958487 KB in use by the system.\r\n 65536 KB occupied by the log file.\r\n 259490928 KB available on disk.\r\n\r\n 4096 bytes in each allocation unit.\r\n 77864848 total allocation units on disk.\r\n 64872732 allocation units available on disk.\r\nTotal duration: 7.57 minutes (454444 ms).\r\n\""},"eventdata":{"binary":"00C20C009CE40800C1A70F000000000021020000142701000000000000000000","data":" Checking file system on C: The type of the file system is NTFS. Volume label is OSDisk. WARNING! /F parameter not specified. Running CHKDSK in read-only mode. Stage 1: Examining basic file system structure ... Cleaning up instance tags for file 0x19953. 836096 file records processed. File verification completed. Phase duration (File record verification): 1.37 minutes. 29051 large file records processed. Phase duration (Orphan file record recovery): 0.00 milliseconds. 0 bad file records processed. Phase duration (Bad file record checking): 0.10 milliseconds. Stage 2: Examining file name linkage ... 76085 reparse records processed. 1173998 index entries processed. Index verification completed. Phase duration (Index verification): 5.87 minutes. 0 unindexed files scanned. Phase duration (Orphan reconnection): 7.53 seconds. 0 unindexed files recovered to lost and found. Phase duration (Orphan recovery to lost and found): 0.07 milliseconds. 76085 reparse records processed. Phase duration (Reparse point and Object ID verification): 368.46 milliseconds. Stage 3: Examining security descriptors ... Security descriptor verification completed. Phase duration (Security descriptor verification): 8.13 seconds. 168952 data files processed. Phase duration (Data attribute verification): 0.07 milliseconds. CHKDSK is verifying Usn Journal... 35504840 USN bytes processed. Usn Journal verification completed. Phase duration (USN journal verification): 3.11 seconds. Windows has scanned the file system and found no problems. No further action is required. 311459395 KB total disk space. 50698012 KB in 413848 files. 311968 KB in 168953 indexes. 0 KB in bad sectors. 958487 KB in use by the system. 65536 KB occupied by the log file. 259490928 KB available on disk. 4096 bytes in each allocation unit. 77864848 total allocation units on disk. 64872732 allocation units available on disk. Total duration: 7.57 minutes (454444 ms)."}}}
The logtest output I'm getting is:
Starting wazuh-logtest v4.5.1
Type one log per line
**Phase 1: Completed pre-decoding.
full event: '{"win":{"system":{"providerName":"Chkdsk","eventID":"26212","version":"0","level":"4","task":"0","opcode":"0","keywords":"0x80000000000000","systemTime":"2023-09-10T21:14:37.9799898Z","eventRecordID":"225196","processID":"0","threadID":"0","channel":"Application","computer":"SueBailey-PC.LSC2003.longfellow","severityValue":"INFORMATION","message":"\"Chkdsk was executed in read-only mode on a volume snapshot. \r\n\r\nChecking file system on C:\r\nThe type of the file system is NTFS.\r\nVolume label is OS.\r\n\r\nWARNING! /F parameter not specified.\r\nRunning CHKDSK in read-only mode.\r\n\r\nStage 1: Examining basic file system structure ...\r\n 891904 file records processed. \r\r\nFile verification completed.\r\n Phase duration (File record verification): 45.24 seconds.\r\n 30061 large file records processed. \r\r\n Phase duration (Orphan file record recovery): 0.00 milliseconds.\r\n 0 bad file records processed. \r\r\n Phase duration (Bad file record checking): 0.15 milliseconds.\r\n\r\nStage 2: Examining file name linkage ...\r\n 67145 reparse records processed. \r\r\n 1304598 index entries processed. \r\r\nIndex verification completed.\r\n Phase duration (Index verification): 2.85 minutes.\r\n 0 unindexed files scanned. \r\r\n Phase duration (Orphan reconnection): 10.43 seconds.\r\n 0 unindexed files recovered to lost and found. \r\r\n Phase duration (Orphan recovery to lost and found): 0.23 milliseconds.\r\n 67145 reparse records processed. \r\r\n Phase duration (Reparse point and Object ID verification): 154.00 milliseconds.\r\n\r\nStage 3: Examining security descriptors ...\r\nSecurity descriptor verification completed.\r\n Phase duration (Security descriptor verification): 133.09 milliseconds.\r\n 206348 data files processed. \r\r\n Phase duration (Data attribute verification): 1.53 milliseconds.\r\nCHKDSK is verifying Usn Journal...\r\n 34571576 USN bytes processed. \r\r\nUsn Journal verification completed.\r\n Phase duration (USN journal verification): 1.28 seconds.\r\n\r\nWindows has scanned the file system and found no problems.\r\nNo further action is required.\r\n\r\n 477651967 KB total disk space.\r\n 116020404 KB in 481484 files.\r\n 413544 KB in 206349 indexes.\r\n 4 KB in bad sectors.\r\n 1023271 KB in use by the system.\r\n 65536 KB occupied by the log file.\r\n 360194744 KB available on disk.\r\n\r\n 4096 bytes in each allocation unit.\r\n 119412991 total allocation units on disk.\r\n 90048686 allocation units available on disk.\r\nTotal duration: 3.80 minutes (228368 ms).\r\n\""},"eventdata":{"binary":"009C0D00E47E0A00425B12000000000075020000D40301000000000000000000","data":" Checking file system on C: The type of the file system is NTFS. Volume label is OS. WARNING! /F parameter not specified. Running CHKDSK in read-only mode. Stage 1: Examining basic file system structure ... 891904 file records processed. File verification completed. Phase duration (File record verification): 45.24 seconds. 30061 large file records processed. Phase duration (Orphan file record recovery): 0.00 milliseconds. 0 bad file records processed. Phase duration (Bad file record checking): 0.15 milliseconds. Stage 2: Examining file name linkage ... 67145 reparse records processed. 1304598 index entries processed. Index verification completed. Phase duration (Index verification): 2.85 minutes. 0 unindexed files scanned. Phase duration (Orphan reconnection): 10.43 seconds. 0 unindexed files recovered to lost and found. Phase duration (Orphan recovery to lost and found): 0.23 milliseconds. 67145 reparse records processed. Phase duration (Reparse point and Object ID verification): 154.00 milliseconds. Stage 3: Examining security descriptors ... Security descriptor verification completed. Phase duration (Security descriptor verification): 133.09 milliseconds. 206348 data files processed. Phase duration (Data attribute verification): 1.53 milliseconds. CHKDSK is verifying Usn Journal... 34571576 USN bytes processed. Usn Journal verification completed. Phase duration (USN journal verification): 1.28 seconds. Windows has scanned the file system and found no problems. No further action is required. 477651967 KB total disk space. 116020404 KB in 481484 files. 413544 KB in 206349 indexes. 4 KB in bad sectors. 1023271 KB in use by the system. 65536 KB occupied by the log file. 360194744 KB available on disk. 4096 bytes in each allocation unit. 119412991 total allocation units on disk. 90048686 allocation units available on disk. Total duration: 3.80 minutes (228368 ms)."}}}'
**Phase 2: Completed decoding.
name: 'json'
win.eventdata.binary: '009C0D00E47E0A00425B12000000000075020000D40301000000000000000000'
win.eventdata.data: ' Checking file system on C: The type of the file system is NTFS. Volume label is OS. WARNING! /F parameter not specified. Running CHKDSK in read-only mode. Stage 1: Examining basic file system structure ... 891904 file records processed. File verification completed. Phase duration (File record verification): 45.24 seconds. 30061 large file records processed. Phase duration (Orphan file record recovery): 0.00 milliseconds. 0 bad file records processed. Phase duration (Bad file record checking): 0.15 milliseconds. Stage 2: Examining file name linkage ... 67145 reparse records processed. 1304598 index entries processed. Index verification completed. Phase duration (Index verification): 2.85 minutes. 0 unindexed files scanned. Phase duration (Orphan reconnection): 10.43 seconds. 0 unindexed files recovered to lost and found. Phase duration (Orphan recovery to lost and found): 0.23 milliseconds. 67145 reparse records processed. Phase duration (Reparse point and Object ID verification): 154.00 milliseconds. Stage 3: Examining security descriptors ... Security descriptor verification completed. Phase duration (Security descriptor verification): 133.09 milliseconds. 206348 data files processed. Phase duration (Data attribute verification): 1.53 milliseconds. CHKDSK is verifying Usn Journal... 34571576 USN bytes processed. Usn Journal verification completed. Phase duration (USN journal verification): 1.28 seconds. Windows has scanned the file system and found no problems. No further action is required. 477651967 KB total disk space. 116020404 KB in 481484 files. 413544 KB in 206349 indexes. 4 KB in bad sectors. 1023271 KB in use by the system. 65536 KB occupied by the log file. 360194744 KB available on disk. 4096 bytes in each allocation unit. 119412991 total allocation units on disk. 90048686 allocation units available on disk. Total duration: 3.80 minutes (228368 ms).'
win.system.channel: 'Application'
win.system.computer: 'SueBailey-PC.LSC2003.longfellow'
win.system.eventID: '26212'
win.system.eventRecordID: '225196'
win.system.keywords: '0x80000000000000'
win.system.level: '4'
win.system.message: '"Chkdsk was executed in read-only mode on a volume snapshot.
Checking file system on C:
The type of the file system is NTFS.
Volume label is OS.
WARNING! /F parameter not specified.
Running CHKDSK in read-only mode.
Stage 1: Examining basic file system structure ...
891904 file records processed.
File verification completed.
Phase duration (File record verification): 45.24 seconds.
30061 large file records processed.
Phase duration (Orphan file record recovery): 0.00 milliseconds.
0 bad file records processed.
Phase duration (Bad file record checking): 0.15 milliseconds.
Stage 2: Examining file name linkage ...
67145 reparse records processed.
1304598 index entries processed.
Index verification completed.
Phase duration (Index verification): 2.85 minutes.
0 unindexed files scanned.
Phase duration (Orphan reconnection): 10.43 seconds.
0 unindexed files recovered to lost and found.
Phase duration (Orphan recovery to lost and found): 0.23 milliseconds.
67145 reparse records processed.
Phase duration (Reparse point and Object ID verification): 154.00 milliseconds.
Stage 3: Examining security descriptors ...
Security descriptor verification completed.
Phase duration (Security descriptor verification): 133.09 milliseconds.
206348 data files processed.
Phase duration (Data attribute verification): 1.53 milliseconds.
CHKDSK is verifying Usn Journal...
34571576 USN bytes processed.
Usn Journal verification completed.
Phase duration (USN journal verification): 1.28 seconds.
Windows has scanned the file system and found no problems.
No further action is required.
477651967 KB total disk space.
116020404 KB in 481484 files.
413544 KB in 206349 indexes.
4 KB in bad sectors.
1023271 KB in use by the system.
65536 KB occupied by the log file.
360194744 KB available on disk.
4096 bytes in each allocation unit.
119412991 total allocation units on disk.
90048686 allocation units available on disk.
Total duration: 3.80 minutes (228368 ms).
"'
win.system.opcode: '0'
win.system.processID: '0'
win.system.providerName: 'Chkdsk'
win.system.severityValue: 'INFORMATION'
win.system.systemTime: '2023-09-10T21:14:37.9799898Z'
win.system.task: '0'
win.system.threadID: '0'
win.system.version: '0'
It looks like the test never passes phase 3, and am hoping for a suggestion of what to do.
Thx as always for help.