def rule(event):
    if any(
        [
            all(
                [
                    "xcopy /S /E /C /Q /H \\\\" in event.deep_get("CommandLine", default=""),
                    "\\sysvol\\" in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    'adexplorer -snapshot "" c:\\users\\'
                    in event.deep_get("CommandLine", default=""),
                    "\\downloads\\" in event.deep_get("CommandLine", default=""),
                    ".snp" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
