def rule(event):
    if all(
        [
            "Get-WmiObject" in event.deep_get("Data", default=""),
            "Win32_ShadowCopy" in event.deep_get("Data", default=""),
            any(
                [
                    "Delete()" in event.deep_get("Data", default=""),
                    "Remove-WmiObject" in event.deep_get("Data", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
