@@ -34,23 +34,26 @@ tags:
3434# The actual CrowdStrike Query Language (CQL) code.
3535# Using the YAML block scalar `|` allows for multi-line strings.
3636cql : |
37- in(#event_simpleName, values=["ProcessRollup2","SyntheticProcessRollup2"])
37+ in(#event_simpleName, values=["ProcessRollup2","SyntheticProcessRollup2"])
3838 | CommandLine=*http* event_platform!="Lin"
39- // Basline to exclude legitimate process | !in(field="ParentBaseFileName", values=//["UmbrellaDiagnostic.exe","HPClickExe","Eagle" ,"HPClick.exe"])
40- //| !in(field="FileName", values=["Google Chrome","chrome.exe"])
39+ // Basline to exclude legitimate process
40+ //| !in(field="ParentBaseFileName", values=//["UmbrellaDiagnostic.exe","HPClickExe","Eagle" ,"HPClick.exe"])
41+ //| !in(field="FileName", values=["Google Chrome","chrome.exe"])
4142 //| !in(field="CommandLine", values=["Google Chrome.app"])
4243 | regex("(?<Urlink>\\bhttps?://\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}.*\\/\\b)", field=CommandLine)
4344 | regex("(?<Ipaddress>\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3})", field=Urlink)
4445 | !cidr(Ipaddress, subnet=["224.0.0.0/4", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.0/8", "169.254.0.0/16", "168.63.0.0/16", "0.0.0.0/8"])
45- | // Basline to exclude legitimate url !in(field="Urlink", values=[
46- // Basline to exclude legitimate url "http://100.1.1.1"
47- ])
46+ // Basline to exclude legitimate url | !in(field="Urlink", values=[
47+ // Basline to exclude legitimate url "http://100.1.1.1"
48+ // Basline to exclude legitimate url ])
4849 | default(field=GrandParentBaseFileName, value="Unknown")
4950 | rootURL := "https://falcon.crowdstrike.com/"
5051 | ProcessStartTime := round(ProcessStartTime)
5152 | processStart:=formattime(field=ProcessStartTime, format="%m/%d %H:%M:%S")
5253 // If Context Process ID is available utilize it, if not utilize Target Process ID
53- | case{ ContextProcessId ="*" | ContextId:=ContextProcessId; TargetProcessId="*" | ContextId:=TargetProcessId}
54+ | case{ ContextProcessId ="*"
55+ | ContextId:=ContextProcessId; TargetProcessId="*"
56+ | ContextId:=TargetProcessId}
5457 // Create URLs for Process and Graph Explorers
5558 | format("[ProcessExplorer]%sinvestigate/process-explorer/%s/%s?_cid=%s", field=["rootURL", "aid", "ContextId", "cid"], as="ProcessExplorer")
5659 | format("[GraphExplorer]%sgraphs/process-explorer/graph?id=pid:%s:%s", field=["rootURL", "aid", "TargetProcessId"], as="GraphExplorer")
0 commit comments