def rule(event):
    if all(
        [
            "\\AppData\\Local\\Temp\\" in event.deep_get("TargetFilename", default=""),
            event.deep_get("TargetFilename", default="").endswith("PROCEXP152.sys"),
            not any(
                [
                    "\\procexp64.exe" in event.deep_get("Image", default=""),
                    "\\procexp.exe" in event.deep_get("Image", default=""),
                    "\\procmon64.exe" in event.deep_get("Image", default=""),
                    "\\procmon.exe" in event.deep_get("Image", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
