Question 290
An Advanced Event Search uses Falcon event class `PeFileWritten` with populated parsed fields `SHA256HashData` and `aid`. A hunting lead concerns new portable executable files: portable executable file writes. The requirement is to find portable executable file writes while excluding a specific aid value. Which query is the best match?
- #event_simpleName=PeFileWritten | SHA256HashData="abc123sample" OR aid!="aid-0192"
- #event_simpleName=PeFileWritten | SHA256HashData="abc123sample" | aid!="aid-0192"
- #event_simpleName=PeFileWritten | SHA256HashData="abc123sample" | aid="aid-0192"
- #event_simpleName=PeFileWritten | SHA256HashData!="abc123sample" | aid!="aid-0192"
Explanation
Correct Answer
B:The inequality on the second field removes the excluded value while retaining the primary event type and exact first-field indicator. For new portable executable files, the relevant parsed fields are SHA256HashData and aid, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
A:Using OR broadens the match: a record can pass one predicate without the other. The goal to find portable executable file writes while excluding a specific aid value requires the complete stated constraint; the correct expression retains the necessary intersection.
C:This predicate does not perform the required exclusion; it includes rather than discards the specified value. That reverses the membership test needed to find portable executable file writes while excluding a specific aid value.
D:In CQL, a leading hash normally identifies a tagged field such as `#event_simpleName`; it does not make the rest of `#event_simpleName=PeFileWritten | SHA256HashData!="abc123sample" | aid!="aid-0192"` an explanatory comment.
Question 291
An Advanced Event Search uses Falcon event class `UserLogon` with populated parsed fields `UserName` and `ComputerName`. A hunting lead concerns interactive user sessions: a named user sign-in. The requirement is to count matching UserLogon records by ComputerName after the UserName filter. Which query is the best match?
- #event_simpleName=UserLogon | UserName="analyst02" | groupBy(ComputerName, function=count())
- #event_simpleName=UserLogon | groupBy(ComputerName, function=count())
- #event_simpleName=UserLogon | UserName="analyst02" | select([ComputerName])
- #event_simpleName=UserLogon | groupBy([FileName,UserName])
- #event_simpleName=UserLogon | ComputerName="LAB-JMP-01" | groupBy(UserName, function=count())
Explanation
Correct Answer
A:Filtering before groupBy restricts the events to the suspected indicator; grouping by the second field then counts the matching records by that dimension. For interactive user sessions, the relevant parsed fields are UserName and ComputerName, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
B:In the investigation of interactive user sessions, the proposed alternative fails the requirement: the `#event_simpleName=UserLogon | groupBy(ComputerName, function=count())` stage groups the events but does not enforce all constraints for count matching UserLogon records by ComputerName after the UserName filter; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
C:In the investigation of interactive user sessions, the proposed alternative fails the requirement: `select()` projects the listed columns but does not impose the predicate or grouping needed to count matching UserLogon records by ComputerName after the UserName filter. It can be used after filtering, not instead of the requested operation.
D:The `#event_simpleName=UserLogon | groupBy([FileName,UserName])` stage groups the events but does not enforce all constraints for count matching UserLogon records by ComputerName after the UserName filter; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
E:The `#event_simpleName=UserLogon | ComputerName="LAB-JMP-01" | groupBy(UserName, function=count())` stage groups the events but does not enforce all constraints for count matching UserLogon records by ComputerName after the UserName filter; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
Question 292
An Advanced Event Search uses Falcon event class `UserLogonFailed2` with populated parsed fields `UserName` and `ComputerName`. A hunting lead concerns failed account logons: failures for a service account. The requirement is to display the event type, UserName and ComputerName without collapsing the events into groups. Which query is the best match?
- #event_simpleName=UserLogonFailed2 | groupBy([UserName,ComputerName])
- #event_simpleName=UserLogonFailed2 | select([#event_simpleName,UserName,ComputerName])
- #event_simpleName=UserLogonFailed2 | sort(UserName)
- #event_simpleName=UserLogonFailed2 | select([UserName])
Explanation
Correct Answer
B:select() projects the exact requested fields for each event without using an aggregate; retaining event type lets the reader verify the source class. For failed account logons, the relevant parsed fields are UserName and ComputerName, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
A:The `#event_simpleName=UserLogonFailed2 | groupBy([UserName,ComputerName])` stage groups the events but does not enforce all constraints for display the event type, UserName and ComputerName without collapsing the events into groups; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
C:In the investigation of failed account logons, the proposed alternative fails the requirement: `sort()` reorders existing rows without selecting a new cohort or computing the value required to display the event type, UserName and ComputerName without collapsing the events into groups. The order of rows does not implement that transformation.
D:In the investigation of failed account logons, the proposed alternative fails the requirement: `select()` projects the listed columns but does not impose the predicate or grouping needed to display the event type, UserName and ComputerName without collapsing the events into groups. It can be used after filtering, not instead of the requested operation.
Question 293
An Advanced Event Search uses Falcon event class `ScriptControl` with populated parsed fields `ScriptEntropy` and `ComputerName`. A hunting lead concerns unusual script activity: script execution involving a parsed numeric entropy value. The requirement is to find script execution involving a parsed numeric entropy value, requiring the ScriptControl event type and both indicator fields. Which query is the best match?
- #event_simpleName=ScriptControl | ScriptEntropy="9.5" OR ComputerName="OPS-WS-08"
- #event_simpleName=ScriptControl | ScriptEntropy!="9.5" | ComputerName="OPS-WS-08"
- #event_simpleName=ScriptControl | ScriptEntropy="9.5" | ComputerName="OPS-WS-08"
- #event_simpleName=ScriptControl | ScriptEntropy="9.5"
Explanation
Correct Answer
C:Successive filters require the event to match the event type and both exact field values; the result is not broadened by an OR or weakened by dropping a condition. For unusual script activity, the relevant parsed fields are ScriptEntropy and ComputerName, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
A:Using OR broadens the match: a record can pass one predicate without the other. The goal to find script execution involving a parsed numeric entropy value, requiring the ScriptControl event type and both indicator fields requires the complete stated constraint; the correct expression retains the necessary intersection.
B:The inequality in `#event_simpleName=ScriptControl | ScriptEntropy!="9.5" | ComputerName="OPS-WS-08"` rejects the named value rather than selecting it. For the requirement to find script execution involving a parsed numeric entropy value, requiring the ScriptControl event type and both indicator fields, reversing this test would exclude the evidence under investigation.
D:In CQL, a leading hash normally identifies a tagged field such as `#event_simpleName`; it does not make the rest of `#event_simpleName=ScriptControl | ScriptEntropy="9.5"` an explanatory comment.
Question 294
An Advanced Event Search uses Falcon event class `ImageHash` with populated parsed fields `ImageFileName` and `aid`. A hunting lead concerns image hash observations: a file-hash-associated image path. The requirement is to find a file-hash-associated image path while excluding a specific aid value. Which query is the best match?
- #event_simpleName=ImageHash | ImageFileName="C:\Temp\helper.exe" OR aid!="aid-0043"
- #event_simpleName=ImageHash | ImageFileName="C:\Temp\helper.exe" | aid!="aid-0043"
- #event_simpleName=ImageHash | ImageFileName="C:\Temp\helper.exe" | aid="aid-0043"
- #event_simpleName=ImageHash | ImageFileName!="C:\Temp\helper.exe" | aid!="aid-0043"
Explanation
Correct Answer
B:The inequality on the second field removes the excluded value while retaining the primary event type and exact first-field indicator. For image hash observations, the relevant parsed fields are ImageFileName and aid, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
A:Using OR broadens the match: a record can pass one predicate without the other. The goal to find a file-hash-associated image path while excluding a specific aid value requires the complete stated constraint; the correct expression retains the necessary intersection.
C:This predicate does not perform the required exclusion; it includes rather than discards the specified value. That reverses the membership test needed to find a file-hash-associated image path while excluding a specific aid value.
D:In CQL, a leading hash normally identifies a tagged field such as `#event_simpleName`; it does not make the rest of `#event_simpleName=ImageHash | ImageFileName!="C:\Temp\helper.exe" | aid!="aid-0043"` an explanatory comment.
Question 295
An Advanced Event Search uses Falcon event class `ProcessRollup2` with populated parsed fields `FileName` and `ParentBaseFileName`. A hunting lead concerns suspicious shell creation: a document application launching cmd. The requirement is to count matching ProcessRollup2 records by ParentBaseFileName after the FileName filter. Which query is the best match?
- #event_simpleName=ProcessRollup2 | FileName="cmd.exe" | groupBy(ParentBaseFileName, function=count())
- #event_simpleName=ProcessRollup2 | FileName="cmd.exe" | select([ParentBaseFileName])
- #event_simpleName=ProcessRollup2 | groupBy(ParentBaseFileName, function=count())
- #event_simpleName=ProcessRollup2 | ParentBaseFileName="winword.exe" | groupBy(FileName, function=count())
Explanation
Correct Answer
A:Filtering before groupBy restricts the events to the suspected indicator; grouping by the second field then counts the matching records by that dimension. For suspicious shell creation, the relevant parsed fields are FileName and ParentBaseFileName, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
B:`select()` projects the listed columns but does not impose the predicate or grouping needed to count matching ProcessRollup2 records by ParentBaseFileName after the FileName filter. It can be used after filtering, not instead of the requested operation.
C:The `#event_simpleName=ProcessRollup2 | groupBy(ParentBaseFileName, function=count())` stage groups the events but does not enforce all constraints for count matching ProcessRollup2 records by ParentBaseFileName after the FileName filter; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
D:The `#event_simpleName=ProcessRollup2 | ParentBaseFileName="winword.exe" | groupBy(FileName, function=count())` stage groups the events but does not enforce all constraints for count matching ProcessRollup2 records by ParentBaseFileName after the FileName filter; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
Question 296
An Advanced Event Search uses Falcon event class `ProcessRollup2` with populated parsed fields `FileName` and `ParentBaseFileName`. A hunting lead concerns PowerShell process launch: a mail client launching PowerShell. The requirement is to display the event type, FileName and ParentBaseFileName without collapsing the events into groups. Which query is the best match?
- #event_simpleName=ProcessRollup2 | select([FileName])
- #event_simpleName=ProcessRollup2 | groupBy([FileName,ParentBaseFileName])
- #event_simpleName=ProcessRollup2 | sort(FileName)
- #event_simpleName=ProcessRollup2 | select([#event_simpleName,FileName,ParentBaseFileName])
Explanation
Correct Answer
D:select() projects the exact requested fields for each event without using an aggregate; retaining event type lets the reader verify the source class. For PowerShell process launch, the relevant parsed fields are FileName and ParentBaseFileName, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
A:In the investigation of PowerShell process launch, the proposed alternative fails the requirement: `select()` projects the listed columns but does not impose the predicate or grouping needed to display the event type, FileName and ParentBaseFileName without collapsing the events into groups. It can be used after filtering, not instead of the requested operation.
B:In the investigation of PowerShell process launch, the proposed alternative fails the requirement: the `#event_simpleName=ProcessRollup2 | groupBy([FileName,ParentBaseFileName])` stage groups the events but does not enforce all constraints for display the event type, FileName and ParentBaseFileName without collapsing the events into groups; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
C:In the investigation of PowerShell process launch, the proposed alternative fails the requirement: `sort()` reorders existing rows without selecting a new cohort or computing the value required to display the event type, FileName and ParentBaseFileName without collapsing the events into groups. The order of rows does not implement that transformation.
Question 297
An Advanced Event Search uses Falcon event class `PeFileWritten` with populated parsed fields `UserName` and `ComputerName`. A hunting lead concerns unsigned file writes: an unusual account writing an executable. The requirement is to find an unusual account writing an executable, requiring the PeFileWritten event type and both indicator fields. Which query is the best match?
- #event_simpleName=PeFileWritten | groupBy([FileName,UserName])
- #event_simpleName=PeFileWritten | UserName="temp.user"
- #event_simpleName=PeFileWritten | UserName="temp.user" | ComputerName="ENG-SRV-22"
- #event_simpleName=PeFileWritten | UserName="temp.user" OR ComputerName="ENG-SRV-22"
- #event_simpleName=PeFileWritten | UserName!="temp.user" | ComputerName="ENG-SRV-22"
Explanation
Correct Answer
C:Successive filters require the event to match the event type and both exact field values; the result is not broadened by an OR or weakened by dropping a condition. For unsigned file writes, the relevant parsed fields are UserName and ComputerName, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
A:The `#event_simpleName=PeFileWritten | groupBy([FileName,UserName])` stage groups the events but does not enforce all constraints for find an unusual account writing an executable, requiring the PeFileWritten event type and both indicator fields; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
B:In CQL, a leading hash normally identifies a tagged field such as `#event_simpleName`; it does not make the rest of `#event_simpleName=PeFileWritten | UserName="temp.user"` an explanatory comment.
D:Using OR broadens the match: a record can pass one predicate without the other. The goal to find an unusual account writing an executable, requiring the PeFileWritten event type and both indicator fields requires the complete stated constraint; the correct expression retains the necessary intersection.
E:The inequality in `#event_simpleName=PeFileWritten | UserName!="temp.user" | ComputerName="ENG-SRV-22"` rejects the named value rather than selecting it. For the requirement to find an unusual account writing an executable, requiring the PeFileWritten event type and both indicator fields, reversing this test would exclude the evidence under investigation.
Question 298
An Advanced Event Search uses Falcon event class `DnsRequest` with populated parsed fields `DomainName` and `aid`. A hunting lead concerns rare DNS request: a suspicious domain resolved by a host. The requirement is to find a suspicious domain resolved by a host while excluding a specific aid value. Which query is the best match?
- #event_simpleName=DnsRequest | DomainName="cdn-secure.example" OR aid!="aid-0151"
- #event_simpleName=DnsRequest | DomainName!="cdn-secure.example" | aid!="aid-0151"
- #event_simpleName=DnsRequest | DomainName="cdn-secure.example" | aid="aid-0151"
- #event_simpleName=DnsRequest | DomainName="cdn-secure.example" | aid!="aid-0151"
Explanation
Correct Answer
D:The inequality on the second field removes the excluded value while retaining the primary event type and exact first-field indicator. For rare DNS request, the relevant parsed fields are DomainName and aid, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
A:Using OR broadens the match: a record can pass one predicate without the other. The goal to find a suspicious domain resolved by a host while excluding a specific aid value requires the complete stated constraint; the correct expression retains the necessary intersection.
B:In CQL, a leading hash normally identifies a tagged field such as `#event_simpleName`; it does not make the rest of `#event_simpleName=DnsRequest | DomainName!="cdn-secure.example" | aid!="aid-0151"` an explanatory comment.
C:This predicate does not perform the required exclusion; it includes rather than discards the specified value. That reverses the membership test needed to find a suspicious domain resolved by a host while excluding a specific aid value.
Question 299
An Advanced Event Search uses Falcon event class `ServiceStarted` with populated parsed fields `ServiceDisplayName` and `ComputerName`. A hunting lead concerns service install check: a nonstandard updater service. The requirement is to count matching ServiceStarted records by ComputerName after the ServiceDisplayName filter. Which query is the best match?
- #event_simpleName=ServiceStarted | ServiceDisplayName="UpdaterX" | groupBy(ComputerName, function=count())
- #event_simpleName=ServiceStarted | ComputerName="FIN-SRV-03" | groupBy(ServiceDisplayName, function=count())
- #event_simpleName=ServiceStarted | ServiceDisplayName="UpdaterX" | select([ComputerName])
- #event_simpleName=ServiceStarted | groupBy(ComputerName, function=count())
Explanation
Correct Answer
A:Filtering before groupBy restricts the events to the suspected indicator; grouping by the second field then counts the matching records by that dimension. For service install check, the relevant parsed fields are ServiceDisplayName and ComputerName, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
B:The `#event_simpleName=ServiceStarted | ComputerName="FIN-SRV-03" | groupBy(ServiceDisplayName, function=count())` stage groups the events but does not enforce all constraints for count matching ServiceStarted records by ComputerName after the ServiceDisplayName filter; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
C:`select()` projects the listed columns but does not impose the predicate or grouping needed to count matching ServiceStarted records by ComputerName after the ServiceDisplayName filter. It can be used after filtering, not instead of the requested operation.
D:The `#event_simpleName=ServiceStarted | groupBy(ComputerName, function=count())` stage groups the events but does not enforce all constraints for count matching ServiceStarted records by ComputerName after the ServiceDisplayName filter; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
Question 300
An Advanced Event Search uses Falcon event class `ScriptControl` with populated parsed fields `UserName` and `ComputerName`. A hunting lead concerns script creation burst: a user running script content. The requirement is to display the event type, UserName and ComputerName without collapsing the events into groups. Which query is the best match?
- #event_simpleName=ScriptControl | select([UserName])
- #event_simpleName=ScriptControl | select([#event_simpleName,UserName,ComputerName])
- #event_simpleName=ScriptControl | groupBy([UserName,ComputerName])
- #event_simpleName=ScriptControl | sort(UserName)
Explanation
Correct Answer
B:select() projects the exact requested fields for each event without using an aggregate; retaining event type lets the reader verify the source class. For script creation burst, the relevant parsed fields are UserName and ComputerName, so the expression answers the stated question without silently broadening the scope.
Incorrect Answers
A:In the investigation of script creation burst, the proposed alternative fails the requirement: `select()` projects the listed columns but does not impose the predicate or grouping needed to display the event type, UserName and ComputerName without collapsing the events into groups. It can be used after filtering, not instead of the requested operation.
C:In the investigation of script creation burst, the proposed alternative fails the requirement: the `#event_simpleName=ScriptControl | groupBy([UserName,ComputerName])` stage groups the events but does not enforce all constraints for display the event type, UserName and ComputerName without collapsing the events into groups; it may aggregate the wrong dimension or include records omitted by the intended earlier filters.
D:In the investigation of script creation burst, the proposed alternative fails the requirement: `sort()` reorders existing rows without selecting a new cohort or computing the value required to display the event type, UserName and ComputerName without collapsing the events into groups. The order of rows does not implement that transformation.