def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Windows\\System32\\logonUI.exe.local\\"
                    ),
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Windows\\System32\\werFault.exe.local\\"
                    ),
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Windows\\System32\\consent.exe.local\\"
                    ),
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Windows\\System32\\narrator.exe.local\\"
                    ),
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\windows\\system32\\wermgr.exe.local\\"
                    ),
                ]
            ),
            event.deep_get("ImageLoaded", default="").endswith("\\comctl32.dll"),
        ]
    ):
        return True
    return False
