def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="") == "C:\\WINDOWS\\System32\\svchost.exe",
            "-k netsvcs" in event.deep_get("ParentCommandLine", default=""),
            "-s Schedule" in event.deep_get("ParentCommandLine", default=""),
            any(
                [
                    event.deep_get("CommandLine", default="").endswith(" -windowstyle hidden"),
                    event.deep_get("CommandLine", default="").endswith(" -w hidden"),
                    event.deep_get("CommandLine", default="").endswith(" -ep bypass"),
                    event.deep_get("CommandLine", default="").endswith(" -noni"),
                ]
            ),
        ]
    ):
        return True
    return False
