def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\netsh.exe"),
                    event.deep_get("OriginalFileName", default="") == "netsh.exe",
                ]
            ),
            "wlan" in event.deep_get("CommandLine", default=""),
            " s" in event.deep_get("CommandLine", default=""),
            " p" in event.deep_get("CommandLine", default=""),
            " k" in event.deep_get("CommandLine", default=""),
            "=clear" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
