def rule(event):
    if any(
        [
            any(
                [
                    event.deep_get("ParentImage", default="").endswith("\\minesweeper.exe"),
                    event.deep_get("ParentImage", default="").endswith("\\winver.exe"),
                    event.deep_get("ParentImage", default="").endswith("\\bitsadmin.exe"),
                ]
            ),
            all(
                [
                    any(
                        [
                            event.deep_get("ParentImage", default="").endswith("\\csrss.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\certutil.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\eventvwr.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\calc.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\notepad.exe"),
                        ]
                    ),
                    not any(
                        [
                            any(
                                [
                                    event.deep_get("Image", default="").endswith("\\WerFault.exe"),
                                    event.deep_get("Image", default="").endswith("\\wermgr.exe"),
                                    event.deep_get("Image", default="").endswith("\\conhost.exe"),
                                    event.deep_get("Image", default="").endswith("\\mmc.exe"),
                                    event.deep_get("Image", default="").endswith("\\win32calc.exe"),
                                    event.deep_get("Image", default="").endswith("\\notepad.exe"),
                                ]
                            ),
                            event.deep_get("Image", default="") == "",
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
