def rule(event):
    if all(
        [
            "\\Root\\InventoryApplicationFile\\winsat.exe|"
            in event.deep_get("TargetObject", default=""),
            event.deep_get("TargetObject", default="").endswith("\\LowerCaseLongPath"),
            event.deep_get("Details", default="").startswith("c:\\users\\"),
            event.deep_get("Details", default="").endswith(
                "\\appdata\\local\\temp\\system32\\winsat.exe"
            ),
        ]
    ):
        return True
    return False
