def rule(event):
    if all(
        [
            event.deep_get("TargetImage", default="").endswith("\\verclsid.exe"),
            event.deep_get("GrantedAccess", default="") == "0x1FFFFF",
            any(
                [
                    all(
                        [
                            "|UNKNOWN(" in event.deep_get("CallTrace", default=""),
                            "VBE7.DLL" in event.deep_get("CallTrace", default=""),
                        ]
                    ),
                    all(
                        [
                            "\\Microsoft Office\\" in event.deep_get("SourceImage", default=""),
                            "|UNKNOWN" in event.deep_get("CallTrace", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
