def rule(event):
    if all(
        [
            "\\\\\\?\\GLOBALROOT\\Device\\HarddiskVolumeShadowCopy"
            in event.deep_get("CommandLine", default=""),
            any(
                [
                    "\\NTDS.dit" in event.deep_get("CommandLine", default=""),
                    "\\SYSTEM" in event.deep_get("CommandLine", default=""),
                    "\\SECURITY" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
