def rule(event):
    if any(
        [
            all(
                [
                    "/generic:Microsoft_Windows_Shell_ZipFolder:filename="
                    in event.deep_get("CommandLine", default=""),
                    ".zip" in event.deep_get("CommandLine", default=""),
                    "/pass:" in event.deep_get("CommandLine", default=""),
                    "/user:" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    "/delete" in event.deep_get("CommandLine", default=""),
                    "Microsoft_Windows_Shell_ZipFolder:filename="
                    in event.deep_get("CommandLine", default=""),
                    ".zip" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
