def rule(event):
    if all(
        [
            "\\System\\CurrentControlSet\\Services\\" in event.deep_get("TargetObject", default=""),
            "\\NetworkProvider" in event.deep_get("TargetObject", default=""),
            not any(
                [
                    any(
                        [
                            "\\System\\CurrentControlSet\\Services\\WebClient\\NetworkProvider"
                            in event.deep_get("TargetObject", default=""),
                            "\\System\\CurrentControlSet\\Services\\LanmanWorkstation\\NetworkProvider"
                            in event.deep_get("TargetObject", default=""),
                            "\\System\\CurrentControlSet\\Services\\RDPNP\\NetworkProvider"
                            in event.deep_get("TargetObject", default=""),
                        ]
                    ),
                    event.deep_get("Image", default="") == "C:\\Windows\\System32\\poqexec.exe",
                ]
            ),
        ]
    ):
        return True
    return False
