def rule(event):
    if all(
        [
            event.deep_get("CallTrace", default="").startswith("UNKNOWN"),
            not any(
                [
                    all(
                        [
                            event.deep_get("TargetImage", default="").endswith("vcredist_x64.exe"),
                            event.deep_get("SourceImage", default="").endswith("vcredist_x64.exe"),
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    ":\\Program Files (x86)\\"
                                    in event.deep_get("SourceImage", default=""),
                                    ":\\Program Files\\"
                                    in event.deep_get("SourceImage", default=""),
                                    ":\\Windows\\System32\\"
                                    in event.deep_get("SourceImage", default=""),
                                    ":\\Windows\\SysWOW64\\"
                                    in event.deep_get("SourceImage", default=""),
                                    ":\\Windows\\WinSxS\\"
                                    in event.deep_get("SourceImage", default=""),
                                ]
                            ),
                            any(
                                [
                                    ":\\Program Files (x86)\\"
                                    in event.deep_get("TargetImage", default=""),
                                    ":\\Program Files\\"
                                    in event.deep_get("TargetImage", default=""),
                                    ":\\Windows\\System32\\"
                                    in event.deep_get("TargetImage", default=""),
                                    ":\\Windows\\SysWOW64\\"
                                    in event.deep_get("TargetImage", default=""),
                                    ":\\Windows\\WinSxS\\"
                                    in event.deep_get("TargetImage", default=""),
                                ]
                            ),
                        ]
                    ),
                    event.deep_get("Provider_Name", default="")
                    == "Microsoft-Windows-Kernel-Audit-API-Calls",
                ]
            ),
            not any(
                [
                    all(
                        [
                            event.deep_get("TargetImage", default="").endswith(
                                ":\\Windows\\system32\\systeminfo.exe"
                            ),
                            event.deep_get("SourceImage", default="").endswith("setup64.exe"),
                        ]
                    ),
                    all(
                        [
                            event.deep_get("SourceImage", default="").endswith(
                                ":\\Windows\\Explorer.EXE"
                            ),
                            event.deep_get("TargetImage", default="").endswith(
                                ":\\Program Files\\Cylance\\Desktop\\CylanceUI.exe"
                            ),
                        ]
                    ),
                    all(
                        [
                            event.deep_get("SourceImage", default="").endswith(
                                "AmazonSSMAgentSetup.exe"
                            ),
                            event.deep_get("TargetImage", default="").endswith(
                                "AmazonSSMAgentSetup.exe"
                            ),
                        ]
                    ),
                    all(
                        [
                            event.deep_get("SourceImage", default="").endswith(
                                "\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
                            ),
                            event.deep_get("TargetImage", default="").endswith(
                                "\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe"
                            ),
                        ]
                    ),
                    all(
                        [
                            event.deep_get("TargetImage", default="").endswith(
                                "\\AppData\\Local\\Microsoft\\Teams\\current\\Teams.exe"
                            ),
                            event.deep_get("SourceImage", default="").endswith(
                                "\\AppData\\Local\\Microsoft\\Teams\\current\\Teams.exe"
                            ),
                        ]
                    ),
                    all(
                        [
                            "\\AppData\\Local\\Discord\\"
                            in event.deep_get("TargetImage", default=""),
                            event.deep_get("TargetImage", default="").endswith("\\Discord.exe"),
                        ]
                    ),
                    all(
                        [
                            "\\AppData\\Local\\yammerdesktop\\app-"
                            in event.deep_get("SourceImage", default=""),
                            event.deep_get("SourceImage", default="").endswith("\\Yammer.exe"),
                            "\\AppData\\Local\\yammerdesktop\\app-"
                            in event.deep_get("TargetImage", default=""),
                            event.deep_get("TargetImage", default="").endswith("\\Yammer.exe"),
                            event.deep_get("GrantedAccess", default="") == "0x1000",
                        ]
                    ),
                    event.deep_get("TargetImage", default="").endswith("\\Evernote\\Evernote.exe"),
                    all(
                        [
                            ":\\Program Files\\Adobe\\Acrobat DC\\Acrobat\\"
                            in event.deep_get("SourceImage", default=""),
                            event.deep_get("SourceImage", default="").endswith("\\AcroCEF.exe"),
                            ":\\Program Files\\Adobe\\Acrobat DC\\Acrobat\\"
                            in event.deep_get("TargetImage", default=""),
                            event.deep_get("TargetImage", default="").endswith("\\AcroCEF.exe"),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
