def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("/who"),
                    event.deep_get("Image", default="").endswith("/w"),
                    event.deep_get("Image", default="").endswith("/last"),
                    event.deep_get("Image", default="").endswith("/lsof"),
                    event.deep_get("Image", default="").endswith("/netstat"),
                ]
            ),
            not all(
                [
                    "/usr/bin/landscape-sysinfo" in event.deep_get("ParentCommandLine", default=""),
                    event.deep_get("Image", default="").endswith("/who"),
                ]
            ),
        ]
    ):
        return True
    return False
