def rule(event):
    if all(
        [
            any(
                [
                    any(
                        [
                            "\\AppData\\Local\\Temp\\" in event.deep_get("Image", default=""),
                            "\\Downloads\\" in event.deep_get("Image", default=""),
                            "\\Users\\Public\\" in event.deep_get("Image", default=""),
                            "\\Windows\\Temp\\" in event.deep_get("Image", default=""),
                        ]
                    ),
                    event.deep_get("Image", default="").endswith("\\control.exe"),
                ]
            ),
            "\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\"
            in event.deep_get("TargetObject", default=""),
            any(
                [
                    all(
                        [
                            any(
                                [
                                    event.deep_get("TargetObject", default="").endswith(
                                        "\\IntranetName"
                                    ),
                                    event.deep_get("TargetObject", default="").endswith(
                                        "\\ProxyByPass"
                                    ),
                                    event.deep_get("TargetObject", default="").endswith(
                                        "\\UNCAsIntranet"
                                    ),
                                ]
                            ),
                            "DWORD (0x00000001)" in event.deep_get("Details", default=""),
                        ]
                    ),
                    all(
                        [
                            event.deep_get("TargetObject", default="").endswith("\\AutoDetect"),
                            "DWORD (0x00000000)" in event.deep_get("Details", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
