def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 4663,
            event.deep_get("ObjectType", default="") == "File",
            event.deep_get("AccessMask", default="") == "0x6",
            event.deep_get("ObjectName", default="").endswith(".xml"),
            "Temp" in event.deep_get("ObjectName", default=""),
            "ScreenConnect" in event.deep_get("ObjectName", default=""),
            "ScreenConnect.Service.exe" in event.deep_get("ProcessName", default=""),
        ]
    ):
        return True
    return False
