def rule(event):
    if all(
        [
            event.deep_get("Image", default="")
            == "C:\\Program Files\\Internet Explorer\\IEInstal.exe",
            event.deep_get("TargetFilename", default="").startswith("C:\\Users\\"),
            "\\AppData\\Local\\Temp\\" in event.deep_get("TargetFilename", default=""),
            event.deep_get("TargetFilename", default="").endswith("consent.exe"),
        ]
    ):
        return True
    return False
