def rule(event):
    if any(
        [
            all(
                [
                    ":\\temp\\" in event.deep_get("TargetFilename", default=""),
                    any(
                        [
                            event.deep_get("TargetFilename", default="").endswith(".au3"),
                            event.deep_get("TargetFilename", default="").endswith("\\autoit3.exe"),
                        ]
                    ),
                ]
            ),
            all(
                [
                    ":\\temp\\" in event.deep_get("Image", default=""),
                    any(
                        [
                            event.deep_get("Image", default="").endswith(".au3"),
                            event.deep_get("Image", default="").endswith("\\autoit3.exe"),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
