def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\provlaunch.exe"),
            any(
                [
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\calc.exe"),
                            event.deep_get("Image", default="").endswith("\\cmd.exe"),
                            event.deep_get("Image", default="").endswith("\\cscript.exe"),
                            event.deep_get("Image", default="").endswith("\\mshta.exe"),
                            event.deep_get("Image", default="").endswith("\\notepad.exe"),
                            event.deep_get("Image", default="").endswith("\\powershell.exe"),
                            event.deep_get("Image", default="").endswith("\\pwsh.exe"),
                            event.deep_get("Image", default="").endswith("\\regsvr32.exe"),
                            event.deep_get("Image", default="").endswith("\\rundll32.exe"),
                            event.deep_get("Image", default="").endswith("\\wscript.exe"),
                        ]
                    ),
                    any(
                        [
                            ":\\PerfLogs\\" in event.deep_get("Image", default=""),
                            ":\\Temp\\" in event.deep_get("Image", default=""),
                            ":\\Users\\Public\\" in event.deep_get("Image", default=""),
                            "\\AppData\\Temp\\" in event.deep_get("Image", default=""),
                            "\\Windows\\System32\\Tasks\\" in event.deep_get("Image", default=""),
                            "\\Windows\\Tasks\\" in event.deep_get("Image", default=""),
                            "\\Windows\\Temp\\" in event.deep_get("Image", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
