def rule(event):
    if any(
        [
            event.deep_get("TargetFilename", default="").endswith(":\\windows\\temp\\sam.tmp"),
            event.deep_get("TargetFilename", default="").endswith(":\\windows\\temp\\sec.tmp"),
            event.deep_get("TargetFilename", default="").endswith(":\\windows\\temp\\sys.tmp"),
        ]
    ):
        return True
    return False
