def rule(event):
    if all(
        [
            "\\AppData\\Local\\Temp\\SAM-" in event.deep_get("TargetFilename", default=""),
            ".dmp" in event.deep_get("TargetFilename", default=""),
        ]
    ):
        return True
    return False
