def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("ParentImage", default="").endswith("\\cmd.exe"),
                    event.deep_get("ParentImage", default="").endswith("\\cscript.exe"),
                    event.deep_get("ParentImage", default="").endswith("\\curl.exe"),
                    event.deep_get("ParentImage", default="").endswith("\\mshta.exe"),
                    event.deep_get("ParentImage", default="").endswith("\\powershell.exe"),
                    event.deep_get("ParentImage", default="").endswith("\\pwsh.exe"),
                    event.deep_get("ParentImage", default="").endswith("\\wscript.exe"),
                ]
            ),
            event.deep_get("Image", default="").endswith("\\rundll32.exe"),
            any(
                [
                    ":\\ProgramData\\" in event.deep_get("CommandLine", default=""),
                    ":\\Users\\Public\\" in event.deep_get("CommandLine", default=""),
                    "\\AppData\\Local\\Temp\\" in event.deep_get("CommandLine", default=""),
                    "\\AppData\\Roaming\\" in event.deep_get("CommandLine", default=""),
                ]
            ),
            any(
                [
                    event.deep_get("CommandLine", default="").endswith("aslr"),
                    event.deep_get("CommandLine", default="").endswith("bind"),
                    event.deep_get("CommandLine", default="").endswith("DrawThemeIcon"),
                    event.deep_get("CommandLine", default="").endswith("GG10"),
                    event.deep_get("CommandLine", default="").endswith("GL70"),
                    event.deep_get("CommandLine", default="").endswith("jhbvygftr"),
                    event.deep_get("CommandLine", default="").endswith("kjhbhkjvydrt"),
                    event.deep_get("CommandLine", default="").endswith("LS88"),
                    event.deep_get("CommandLine", default="").endswith("Motd"),
                    event.deep_get("CommandLine", default="").endswith("N115"),
                    event.deep_get("CommandLine", default="").endswith("next"),
                    event.deep_get("CommandLine", default="").endswith("Nikn"),
                    event.deep_get("CommandLine", default="").endswith("print"),
                    event.deep_get("CommandLine", default="").endswith("qqqb"),
                    event.deep_get("CommandLine", default="").endswith("qqqq"),
                    event.deep_get("CommandLine", default="").endswith("RS32"),
                    event.deep_get("CommandLine", default="").endswith("Test"),
                    event.deep_get("CommandLine", default="").endswith("Time"),
                    event.deep_get("CommandLine", default="").endswith("Updt"),
                    event.deep_get("CommandLine", default="").endswith("vips"),
                    event.deep_get("CommandLine", default="").endswith("Wind"),
                    event.deep_get("CommandLine", default="").endswith("WW50"),
                    event.deep_get("CommandLine", default="").endswith("X555"),
                    event.deep_get("CommandLine", default="").endswith("XL55"),
                    event.deep_get("CommandLine", default="").endswith("xlAutoOpen"),
                    event.deep_get("CommandLine", default="").endswith("XS88"),
                ]
            ),
        ]
    ):
        return True
    return False
