def rule(event):
    if any(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\htran.exe"),
                    event.deep_get("Image", default="").endswith("\\lcx.exe"),
                ]
            ),
            any(
                [
                    ".exe -tran " in event.deep_get("CommandLine", default=""),
                    ".exe -slave " in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
