def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\msdt.exe"),
            any(
                [
                    "\\Desktop\\" in event.deep_get("TargetFilename", default=""),
                    "\\Start Menu\\Programs\\Startup\\"
                    in event.deep_get("TargetFilename", default=""),
                    "C:\\PerfLogs\\" in event.deep_get("TargetFilename", default=""),
                    "C:\\ProgramData\\" in event.deep_get("TargetFilename", default=""),
                    "C:\\Users\\Public\\" in event.deep_get("TargetFilename", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
