def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\msra.exe"),
            event.deep_get("ParentCommandLine", default="").endswith("msra.exe"),
            any(
                [
                    event.deep_get("Image", default="").endswith("\\arp.exe"),
                    event.deep_get("Image", default="").endswith("\\cmd.exe"),
                    event.deep_get("Image", default="").endswith("\\net.exe"),
                    event.deep_get("Image", default="").endswith("\\netstat.exe"),
                    event.deep_get("Image", default="").endswith("\\nslookup.exe"),
                    event.deep_get("Image", default="").endswith("\\route.exe"),
                    event.deep_get("Image", default="").endswith("\\schtasks.exe"),
                    event.deep_get("Image", default="").endswith("\\whoami.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
