def rule(event):
    if all(
        [
            "\\" in event.deep_get("path", default=""),
            "\\IPC$" in event.deep_get("path", default=""),
            any(
                [
                    event.deep_get("name", default="").endswith("-stdin"),
                    event.deep_get("name", default="").endswith("-stdout"),
                    event.deep_get("name", default="").endswith("-stderr"),
                ]
            ),
            not event.deep_get("name", default="").startswith("PSEXESVC"),
        ]
    ):
        return True
    return False
