import re


def rule(event):
    if any(
        [
            re.match(
                r"\\\\Windows\\\\__1\\d{9}\\.\\d{1,7}$",
                event.deep_get("TargetFilename", default=""),
            ),
            re.match(r"C:\\\\__1\\d{9}\\.\\d{1,7}$", event.deep_get("TargetFilename", default="")),
            re.match(r"D:\\\\__1\\d{9}\\.\\d{1,7}$", event.deep_get("TargetFilename", default="")),
        ]
    ):
        return True
    return False
