// sigma convert -t kusto -p sentinel_asim, generated 12 Nov 2026 (pack v1.2.0). NOT run against a live tenant.
// ===== dns_query_win_screenconnect_campaign_domains.yml (-p sentinel_asim)
// NOT CONVERTED: this pipeline has no table mapping for the rule's logsource. Use the matching KQL hunt in kql/ instead.

// ===== file_event_win_sckit_relaytrap_source.yml (-p sentinel_asim)
imFileEvent
| where TargetFileName endswith "\\RelayTrap.cs"

// ===== file_event_win_screenconnect_campaign_filenames.yml (-p sentinel_asim)
imFileEvent
| where TargetFileName endswith "\\Panel-Lateral.ps1" or TargetFileName endswith "\\runnew.cmd" or TargetFileName endswith "\\ToolboxRelayUploader.exe" or TargetFileName endswith "\\Run-Lateral-Full.bat"

// ===== file_event_win_screenconnect_client_writes_script.yml (-p sentinel_asim)
imFileEvent
| where (TargetFilePath endswith "\\ScreenConnect.ClientService.exe" or TargetFilePath endswith "\\ScreenConnect.WindowsClient.exe") and (TargetFileName endswith ".ps1" or TargetFileName endswith ".bat" or TargetFileName endswith ".cmd")

// ===== file_event_win_screenconnect_sckit_indicators.yml (-p sentinel_asim)
imFileEvent
| where (TargetFileName endswith "\\sckit-run.bat" or TargetFileName endswith "\\sckit-decoder.ps1" or TargetFileName endswith "\\TrapWatch.ps1") or TargetFileName contains "\\ProgramData\\RelayTrap\\"

// ===== net_connection_win_screenconnect_campaign_ips.yml (-p sentinel_asim)
imNetworkSession
| where DstIpAddr in~ ("185.99.255.28", "155.94.150.39")

// ===== net_connection_win_screenconnect_client_unknown_relay.yml (-p sentinel_asim)
imNetworkSession
| where ((SrcProcessName endswith "\\ScreenConnect.ClientService.exe" or SrcProcessName endswith "\\ScreenConnect.WindowsClient.exe") or (DstProcessName endswith "\\ScreenConnect.ClientService.exe" or DstProcessName endswith "\\ScreenConnect.WindowsClient.exe")) and (not(DstHostname endswith "REPLACE-WITH-YOUR-RELAY-HOST"))

// ===== proc_creation_win_non_browser_cookie_store_access.yml (-p sentinel_asim)
imProcessCreate
| where ((TargetProcessCommandLine contains "\\Network\\Cookies" or TargetProcessCommandLine contains "cookies.sqlite") or TargetProcessName endswith "\\sqlite3.exe") and (not((TargetProcessName endswith "\\chrome.exe" or TargetProcessName endswith "\\msedge.exe" or TargetProcessName endswith "\\firefox.exe" or TargetProcessName endswith "\\brave.exe" or TargetProcessName endswith "\\opera.exe")))

// ===== proc_creation_win_powershell_spawns_csc.yml (-p sentinel_asim)
imProcessCreate
| where ((ParentProcessName endswith "\\powershell.exe" or ParentProcessName endswith "\\pwsh.exe") or (ActingProcessName endswith "\\powershell.exe" or ActingProcessName endswith "\\pwsh.exe")) and TargetProcessName endswith "\\csc.exe"

// ===== proc_creation_win_screenconnect_campaign_installer_ioc.yml (-p sentinel_asim)
imProcessCreate
| where TargetProcessCommandLine contains "&c=Exploited" or (TargetProcessCommandLine contains "2588ef5c15954b10" or TargetProcessCommandLine contains "ed630cc2c873b091" or TargetProcessCommandLine contains "newnewnew.gotdns.org" or TargetProcessCommandLine contains "soxnewwork.homedns.org" or TargetProcessCommandLine contains "cdn007-digitaldownloads.com" or TargetProcessCommandLine contains "sc.payproofkit.com" or TargetProcessCommandLine contains "ns.mo7sen.dev" or TargetProcessCommandLine contains "/EadF.php")

// ===== proc_creation_win_screenconnect_client_spawns_shell.yml (-p sentinel_asim)
imProcessCreate
| where ((ParentProcessName endswith "\\ScreenConnect.ClientService.exe" or ParentProcessName endswith "\\ScreenConnect.WindowsClient.exe") or (ActingProcessName endswith "\\ScreenConnect.ClientService.exe" or ActingProcessName endswith "\\ScreenConnect.WindowsClient.exe")) and (TargetProcessName endswith "\\cmd.exe" or TargetProcessName endswith "\\powershell.exe" or TargetProcessName endswith "\\pwsh.exe" or TargetProcessName endswith "\\wscript.exe" or TargetProcessName endswith "\\cscript.exe" or TargetProcessName endswith "\\mshta.exe" or TargetProcessName endswith "\\rundll32.exe" or TargetProcessName endswith "\\regsvr32.exe" or TargetProcessName endswith "\\certutil.exe" or TargetProcessName endswith "\\bitsadmin.exe")

// ===== registry_set_win_screenconnect_client_service_imagepath.yml (-p sentinel_asim)
imRegistry
| where (RegistryKey contains "\\Services\\ScreenConnect Client (" and RegistryKey endswith "\\ImagePath") and (not(RegistryValueData contains "h=REPLACE-WITH-YOUR-RELAY-HOST&"))

// ===== webserver_screenconnect_extension_api_request.yml (-p sentinel_asim)
// NOT CONVERTED: this pipeline has no table mapping for the rule's logsource. Use the matching KQL hunt in kql/ instead.

// ===== win_system_screenconnect_client_service_installed.yml (-p sentinel_asim)
// NOT CONVERTED: this pipeline has no table mapping for the rule's logsource. Use the matching KQL hunt in kql/ instead.

