Skip to content

Rubycat PROVE IT

Overview

PROVE IT by rubycat is a privileged access management solution.

The following Sekoia.io built-in rules match the intake Rubycat PROVE IT. This documentation is updated automatically and is based solely on the fields used by the intake which are checked against our rules. This means that some rules will be listed but might not be relevant with the intake.

SEKOIA.IO x Rubycat PROVE IT on ATT&CK Navigator

Rubycat PROVEIT Admin Service Modified

Rubycat PROVEIT has detected a service modification that could require some review if not expected.

  • Effort: master
SEKOIA.IO Intelligence Feed

Detect threats based on indicators of compromise (IOCs) collected by SEKOIA's Threat and Detection Research team.

  • Effort: elementary

Event Categories

The following table lists the data source offered by this integration.

Data Source Description
Authentication logs PROVE IT traces the authentications on your services

In details, the following table denotes the type of events produced by this integration.

Name Values
Kind event
Category authentication
Type end, start

Event Samples

Find below few samples of events and how they are normalized by Sekoia.io.

{
    "message": "\ufeff@cee: {\"category\": \"ADMIN\", \"modificationDiff\": \"\", \"serviceName\": \"MY-SERVICE\", \"serviceType\": \"https\", \"severity\": \"WARNING\", \"source\": {\"authenticationMode\": \"PASSWORD\", \"ip\": \"172.17.0.30\", \"osInfo\": \"Windows(10)\", \"profiles\": [\"ADMINISTRATOR\"], \"protocol\": \"WEB\", \"realmName\": \"my-realm.local\", \"roles\": [\"PROVEIT-ADMINISTRATOR-PROFILE\"], \"sessionId\": \"6c036039-2ea0-4a12-bf54-98c827db986b\", \"softwareInfo\": \"Firefox (107.0)\", \"type\": \"HB\", \"userName\": \"my.user\"}, \"timestamp\": \"2022-12-08T21:37:18.323112+01:00\", \"type\": \"ADMIN_SERVICES_SERVICE_MODIFY\"}\n\n",
    "event": {
        "action": "admin_services_service_modify",
        "kind": "event",
        "severity": 30
    },
    "@timestamp": "2022-12-08T20:37:18.323112Z",
    "network": {
        "protocol": "web"
    },
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "related": {
        "ip": [
            "172.17.0.30"
        ],
        "user": [
            "my.user"
        ]
    },
    "rubycat": {
        "proveit": {
            "source": {
                "profiles": [
                    "ADMINISTRATOR"
                ],
                "roles": [
                    "PROVEIT-ADMINISTRATOR-PROFILE"
                ],
                "type": "HB"
            }
        }
    },
    "source": {
        "address": "172.17.0.30",
        "ip": "172.17.0.30",
        "user": {
            "domain": "my-realm.local",
            "name": "my.user"
        }
    }
}
{
    "message": "\ufeff@cee: {\"category\": \"SYSTEM\", \"severity\": \"INFO\", \"source\": {\"componentId\": \"coremanager\", \"type\": \"SYSTEM\"}, \"timestamp\": \"2022-12-13T06:25:56.859488+01:00\", \"type\": \"SYSTEM_SIMM_UNLOCKED\"}\n\n",
    "event": {
        "action": "system_simm_unlocked",
        "kind": "event",
        "severity": 10
    },
    "@timestamp": "2022-12-13T05:25:56.859488Z",
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "rubycat": {
        "proveit": {
            "source": {
                "componentId": "coremanager",
                "type": "SYSTEM"
            }
        }
    }
}
{
    "message": "\ufeff@cee: {\"auditRecordsNumber\": 202, \"category\": \"SYSTEM\", \"severity\": \"INFO\", \"source\": {\"componentId\": \"coremanager\", \"type\": \"SYSTEM\"}, \"storageCurrentSpace\": 3336175616, \"storageFreeSpace\": 66275975168, \"storageId\": 1, \"storageName\": \"d\\\\u00e9faut\", \"storageTotalSpace\": 73386811392, \"timestamp\": \"2022-12-12T21:27:04.063158+01:00\", \"type\": \"SYSTEM_STORAGE_STATS\"}",
    "event": {
        "action": "system_storage_stats",
        "kind": "event",
        "severity": 10
    },
    "@timestamp": "2022-12-12T20:27:04.063158Z",
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "rubycat": {
        "proveit": {
            "source": {
                "componentId": "coremanager",
                "type": "SYSTEM"
            }
        }
    }
}
{
    "message": "\ufeff@cee: {\"authServerName\": \"AD\", \"authServerType\": \"LDAP\", \"category\": \"USER\", \"reason\": \"BAD_CREDENTIALS\", \"severity\": \"WARNING\", \"source\": {\"authenticationMode\": \"PASSWORD\", \"ip\": \"10.1.2.8\", \"osInfo\": \"Windows(10)\", \"profiles\": [\"USER\"], \"protocol\": \"web\", \"realmName\": \"my-realm.local\", \"roles\": [], \"sessionId\": \"\", \"softwareInfo\": \"Firefox (107.0)\", \"type\": \"HB\", \"userName\": \"my.user\"}, \"timestamp\": \"2022-12-09T10:38:55.552544+01:00\", \"type\": \"USER_CONNECTION_FAILURE\"}\n\n",
    "event": {
        "action": "user_connection_failure",
        "category": [
            "authentication"
        ],
        "kind": "event",
        "outcome": "failure",
        "reason": "BAD_CREDENTIALS",
        "severity": 30,
        "type": [
            "start"
        ]
    },
    "@timestamp": "2022-12-09T09:38:55.552544Z",
    "network": {
        "protocol": "web"
    },
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "related": {
        "ip": [
            "10.1.2.8"
        ],
        "user": [
            "my.user"
        ]
    },
    "rubycat": {
        "proveit": {
            "source": {
                "profiles": [
                    "USER"
                ],
                "roles": [],
                "type": "HB"
            }
        }
    },
    "source": {
        "address": "10.1.2.8",
        "ip": "10.1.2.8",
        "user": {
            "domain": "my-realm.local",
            "name": "my.user"
        }
    }
}
{
    "message": "\ufeff@cee: {\"category\": \"USER\", \"severity\": \"INFO\", \"source\": {\"authenticationMode\": \"PASSWORD\", \"ip\": \"10.1.2.5\", \"osInfo\": \"Unknown Unknown\", \"profiles\": [\"USER\"], \"protocol\": \"rdp\", \"realmName\": \"my-realm.local\", \"roles\": [\"DSI - RESTREINT\"], \"sessionId\": \"20ed63ad-cd6d-4bfa-9251-09cdb3a2133e\", \"softwareInfo\": \"\", \"type\": \"HB\", \"userName\": \"my.user\"}, \"timestamp\": \"2022-12-12T09:06:39.737567+01:00\", \"type\": \"USER_CONNECTION_SUCCESS\"}\n\n",
    "event": {
        "action": "user_connection_success",
        "category": [
            "authentication"
        ],
        "kind": "event",
        "outcome": "success",
        "severity": 10,
        "type": [
            "start"
        ]
    },
    "@timestamp": "2022-12-12T08:06:39.737567Z",
    "network": {
        "protocol": "rdp"
    },
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "related": {
        "ip": [
            "10.1.2.5"
        ],
        "user": [
            "my.user"
        ]
    },
    "rubycat": {
        "proveit": {
            "source": {
                "profiles": [
                    "USER"
                ],
                "roles": [
                    "DSI - RESTREINT"
                ],
                "type": "HB"
            }
        }
    },
    "source": {
        "address": "10.1.2.5",
        "ip": "10.1.2.5",
        "user": {
            "domain": "my-realm.local",
            "name": "my.user"
        }
    }
}
{
    "message": "\ufeff@cee: {\"category\": \"USER\", \"severity\": \"INFO\", \"source\": {\"authenticationMode\": \"PASSWORD\", \"ip\": \"10.1.2.5\", \"osInfo\": \"Unknown Unknown\", \"profiles\": [\"USER\"], \"protocol\": \"rdp\", \"realmName\": \"my-realm.local\", \"roles\": [\"DSI - RESTREINT\"], \"sessionId\": \"7b4b9364-fa4a-4507-8976-f75056a3a546\", \"softwareInfo\": \"\", \"type\": \"HB\", \"userName\": \"my.user\"}, \"timestamp\": \"2022-12-12T17:23:52.226809+01:00\", \"type\": \"USER_DISCONNECTION\"}\n\n",
    "event": {
        "action": "user_disconnection",
        "category": [
            "authentication"
        ],
        "kind": "event",
        "outcome": "success",
        "severity": 10,
        "type": [
            "end"
        ]
    },
    "@timestamp": "2022-12-12T16:23:52.226809Z",
    "network": {
        "protocol": "rdp"
    },
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "related": {
        "ip": [
            "10.1.2.5"
        ],
        "user": [
            "my.user"
        ]
    },
    "rubycat": {
        "proveit": {
            "source": {
                "profiles": [
                    "USER"
                ],
                "roles": [
                    "DSI - RESTREINT"
                ],
                "type": "HB"
            }
        }
    },
    "source": {
        "address": "10.1.2.5",
        "ip": "10.1.2.5",
        "user": {
            "domain": "my-realm.local",
            "name": "my.user"
        }
    }
}
{
    "message": "\ufeff@cee: {\"category\": \"USER\", \"severity\": \"INFO\", \"source\": {\"authenticationMode\": \"PASSWORD\", \"ip\": \"10.1.2.7\", \"osInfo\": \"Unknown Unknown\", \"profiles\": [\"USER\"], \"protocol\": \"rdp\", \"realmName\": \"my-realm.local\", \"roles\": [\"DSI - ALL\"], \"sessionId\": \"e4cc4c66-e7cd-4c13-b626-200016b048c5\", \"softwareInfo\": \"\", \"type\": \"HB\", \"userName\": \"my.other.user\"}, \"timestamp\": \"2022-12-12T11:34:36.291768+01:00\", \"type\": \"USER_DISCONNECTION_ON_INACTIVITY\"}\n",
    "event": {
        "action": "user_disconnection_on_inactivity",
        "category": [
            "authentication"
        ],
        "kind": "event",
        "outcome": "success",
        "severity": 10,
        "type": [
            "end"
        ]
    },
    "@timestamp": "2022-12-12T10:34:36.291768Z",
    "network": {
        "protocol": "rdp"
    },
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "related": {
        "ip": [
            "10.1.2.7"
        ],
        "user": [
            "my.other.user"
        ]
    },
    "rubycat": {
        "proveit": {
            "source": {
                "profiles": [
                    "USER"
                ],
                "roles": [
                    "DSI - ALL"
                ],
                "type": "HB"
            }
        }
    },
    "source": {
        "address": "10.1.2.7",
        "ip": "10.1.2.7",
        "user": {
            "domain": "my-realm.local",
            "name": "my.other.user"
        }
    }
}
{
    "message": "\ufeff@cee: {\"category\": \"USER\", \"context\": {\"authMode\": \"PASSWORD\", \"authUserName\": \"adminisitrateur\"}, \"reason\": \"AUTH_ERROR\", \"service\": {\"groupName\": \"Prod-Serveurs\", \"host\": \"10.1.0.26\", \"name\": \"AD2\", \"port\": 3389, \"protocol\": \"rdp\"}, \"severity\": \"WARNING\", \"source\": {\"authenticationMode\": \"PASSWORD\", \"ip\": \"10.1.2.5\", \"osInfo\": \"Unknown Unknown\", \"profiles\": [\"USER\"], \"protocol\": \"rdp\", \"realmName\": \"my-realm.local\", \"roles\": [\"DSI - RESTREINT\"], \"sessionId\": \"20ed63ad-cd6d-4bfa-9251-09cdb3a2133e\", \"softwareInfo\": \"\", \"type\": \"HB\", \"userName\": \"my.user\"}, \"timestamp\": \"2022-12-12T09:09:20.974448+01:00\", \"type\": \"USER_SERVICE_CONNECTION_FAILURE\"}\n",
    "event": {
        "action": "user_service_connection_failure",
        "kind": "event",
        "reason": "AUTH_ERROR",
        "severity": 30
    },
    "@timestamp": "2022-12-12T08:09:20.974448Z",
    "network": {
        "protocol": "rdp"
    },
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "related": {
        "ip": [
            "10.1.2.5"
        ],
        "user": [
            "adminisitrateur",
            "my.user"
        ]
    },
    "rubycat": {
        "proveit": {
            "context": {
                "auth_mode": "PASSWORD"
            },
            "source": {
                "profiles": [
                    "USER"
                ],
                "roles": [
                    "DSI - RESTREINT"
                ],
                "type": "HB"
            }
        }
    },
    "service": {
        "address": "10.1.0.26",
        "name": "AD2"
    },
    "source": {
        "address": "10.1.2.5",
        "ip": "10.1.2.5",
        "user": {
            "domain": "my-realm.local",
            "name": "my.user"
        }
    },
    "user": {
        "name": "adminisitrateur"
    }
}
{
    "message": "\ufeff@cee: {\"beginDate\": \"2022-12-11T18:27:27.581333+01:00\", \"category\": \"USER\", \"context\": {\"authMode\": \"PASSWORD\", \"authUserName\": \"administrateur\"}, \"duration\": 10, \"endDate\": \"2022-12-11T18:27:37.690038+01:00\", \"service\": {\"groupName\": \"Prod-Serveurs\", \"host\": \"serveur17\", \"name\": \"serveur17\", \"port\": 3389, \"protocol\": \"rdp\"}, \"severity\": \"INFO\", \"source\": {\"authenticationMode\": \"PASSWORD\", \"ip\": \"172.17.0.10\", \"osInfo\": \"Unknown Unknown\", \"profiles\": [\"USER\"], \"protocol\": \"rdp\", \"realmName\": \"my-realm.local\", \"roles\": [\"DSI - ALL\"], \"sessionId\": \"82a60aef-dbde-4a3b-8b21-df00712038e6\", \"softwareInfo\": \"\", \"type\": \"HB\", \"userName\": \"my.other.user\"}, \"status\": \"NETWORK_ERROR\", \"timestamp\": \"2022-12-11T18:27:37.725334+01:00\", \"type\": \"USER_SERVICE_CONNECTION_SUMMARY\"}\n\n",
    "event": {
        "action": "user_service_connection_summary",
        "end": "2022-12-11T17:27:37.690038Z",
        "kind": "event",
        "severity": 10,
        "start": "2022-12-11T17:27:27.581333Z"
    },
    "@timestamp": "2022-12-11T17:27:37.725334Z",
    "network": {
        "protocol": "rdp"
    },
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "related": {
        "ip": [
            "172.17.0.10"
        ],
        "user": [
            "administrateur",
            "my.other.user"
        ]
    },
    "rubycat": {
        "proveit": {
            "context": {
                "auth_mode": "PASSWORD"
            },
            "source": {
                "profiles": [
                    "USER"
                ],
                "roles": [
                    "DSI - ALL"
                ],
                "type": "HB"
            }
        }
    },
    "service": {
        "address": "serveur17",
        "name": "serveur17"
    },
    "source": {
        "address": "172.17.0.10",
        "ip": "172.17.0.10",
        "user": {
            "domain": "my-realm.local",
            "name": "my.other.user"
        }
    },
    "user": {
        "name": "administrateur"
    }
}
{
    "message": "\ufeff@cee: {\"category\": \"USER\", \"context\": {\"authMode\": \"PASSWORD\", \"authUserName\": \"administrateur\"}, \"service\": {\"groupName\": \"Prod-Serveurs\", \"host\": \"10.1.0.26\", \"name\": \"AD2\", \"port\": 3389, \"protocol\": \"rdp\"}, \"severity\": \"INFO\", \"source\": {\"authenticationMode\": \"PASSWORD\", \"ip\": \"10.1.2.5\", \"osInfo\": \"Unknown Unknown\", \"profiles\": [\"USER\"], \"protocol\": \"rdp\", \"realmName\": \"my-realm.local\", \"roles\": [\"DSI - RESTREINT\"], \"sessionId\": \"7b4b9364-fa4a-4507-8976-f75056a3a546\", \"softwareInfo\": \"\", \"type\": \"HB\", \"userName\": \"my.user\"}, \"timestamp\": \"2022-12-12T16:58:58.072633+01:00\", \"type\": \"USER_SERVICE_DISCONNECTION\"}",
    "event": {
        "action": "user_service_disconnection",
        "kind": "event",
        "severity": 10
    },
    "@timestamp": "2022-12-12T15:58:58.072633Z",
    "network": {
        "protocol": "rdp"
    },
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "related": {
        "ip": [
            "10.1.2.5"
        ],
        "user": [
            "administrateur",
            "my.user"
        ]
    },
    "rubycat": {
        "proveit": {
            "context": {
                "auth_mode": "PASSWORD"
            },
            "source": {
                "profiles": [
                    "USER"
                ],
                "roles": [
                    "DSI - RESTREINT"
                ],
                "type": "HB"
            }
        }
    },
    "service": {
        "address": "10.1.0.26",
        "name": "AD2"
    },
    "source": {
        "address": "10.1.2.5",
        "ip": "10.1.2.5",
        "user": {
            "domain": "my-realm.local",
            "name": "my.user"
        }
    },
    "user": {
        "name": "administrateur"
    }
}
{
    "message": "\ufeff@cee: {\"category\": \"USER\", \"context\": {\"authMode\": \"PASSWORD\", \"authUserName\": \"my.other.user\"}, \"service\": {\"groupName\": \"Prod-Serveurs\", \"host\": \"serveur1.my-realm.local\", \"name\": \"titan\", \"port\": 3389, \"protocol\": \"rdp\"}, \"severity\": \"INFO\", \"source\": {\"authenticationMode\": \"PASSWORD\", \"ip\": \"10.1.2.7\", \"osInfo\": \"Unknown Unknown\", \"profiles\": [\"USER\"], \"protocol\": \"rdp\", \"realmName\": \"my-realm.local\", \"roles\": [\"DSI - ALL\"], \"sessionId\": \"e4cc4c66-e7cd-4c13-b626-200016b048c5\", \"softwareInfo\": \"\", \"type\": \"HB\", \"userName\": \"my.other.user\"}, \"timestamp\": \"2022-12-12T11:34:35.608171+01:00\", \"type\": \"USER_SERVICE_DISCONNECTION_ON_INACTIVITY\"}\n",
    "event": {
        "action": "user_service_disconnection_on_inactivity",
        "kind": "event",
        "severity": 10
    },
    "@timestamp": "2022-12-12T10:34:35.608171Z",
    "network": {
        "protocol": "rdp"
    },
    "observer": {
        "product": "prove-it",
        "type": "bastion",
        "vendor": "RubyCat"
    },
    "related": {
        "ip": [
            "10.1.2.7"
        ],
        "user": [
            "my.other.user"
        ]
    },
    "rubycat": {
        "proveit": {
            "context": {
                "auth_mode": "PASSWORD"
            },
            "source": {
                "profiles": [
                    "USER"
                ],
                "roles": [
                    "DSI - ALL"
                ],
                "type": "HB"
            }
        }
    },
    "service": {
        "address": "serveur1.my-realm.local",
        "name": "titan"
    },
    "source": {
        "address": "10.1.2.7",
        "ip": "10.1.2.7",
        "user": {
            "domain": "my-realm.local",
            "name": "my.other.user"
        }
    },
    "user": {
        "name": "my.other.user"
    }
}

Extracted Fields

The following table lists the fields that are extracted, normalized under the ECS format, analyzed and indexed by the parser. It should be noted that infered fields are not listed.

Name Type Description
@timestamp date Date/time when the event originated.
event.action keyword The action captured by the event.
event.category keyword Event category. The second categorization field in the hierarchy.
event.end date event.end contains the date when the event ended or when the activity was last observed.
event.kind keyword The kind of the event. The highest categorization field in the hierarchy.
event.outcome keyword The outcome of the event. The lowest level categorization field in the hierarchy.
event.reason keyword Reason why this event happened, according to the source
event.start date event.start contains the date when the event started or when the activity was first observed.
event.type keyword Event type. The third categorization field in the hierarchy.
network.protocol keyword Application protocol name.
observer.product keyword The product name of the observer.
observer.type keyword The type of the observer the data is coming from.
observer.vendor keyword Vendor name of the observer.
rubycat.proveit.context.auth_mode string Authentication mode on the service
rubycat.proveit.source.componentId string Source Component Identifier
rubycat.proveit.source.profiles array User profiles
rubycat.proveit.source.roles array User roles
rubycat.proveit.source.type string Type of the source
service.address keyword Address of this service.
service.name keyword Name of the service.
source.ip ip IP address of the source.
source.user.domain keyword Name of the directory the user is a member of.
source.user.name keyword Short name or login of the user.
user.name keyword Short name or login of the user.

Setup

This setup guide will show you how to forward logs produced by PROVE IT to Sekoia.io by means of an Rsyslog transport channel.

On most GNU/Linux servers, two packages need to be installed: rsyslog and rsyslog-gnutls.

Download the certificate

In order to allow the connection of your rsyslog server to the Sekoia.io intake, please download the Sekoia.io intake certificate:

$ wget -O /etc/rsyslog.d/Sekoia.io-intake.pem https://app.sekoia.io/assets/files/SEKOIA-IO-intake.pem

Configure the rsyslog server

Open or create a new PROVE IT configuration file for rsyslog:

sudo vim /etc/rsyslog.d/46-proveit.conf

Paste the following rsyslog configuration to trigger the emission of Pulse Connect Secure logs by your Rsyslog server to Sekoia.io:

# Define the SEKIOA-IO intake certificate
$DefaultNetstreamDriverCAFile /etc/rsyslog.d/Sekoia.io-intake.pem

# Configure up the network ssl connection
$ActionSendStreamDriver gtls # use gtls netstream driver
$ActionSendStreamDriverMode 1 # require TLS for the connection
$ActionSendStreamDriverAuthMode x509/name # server is authenticated

# Template definition [RFC5424](https://tools.ietf.org/html/rfc5424#section-7.2.2)
# IMPORTANT: don't forget to set your intake key in the template
template(name="SEKOIAIOProveITTemplate" type="string" string="<%pri%>1 %timestamp:::date-rfc3339% %hostname% %app-name% %procid% LOG [SEKOIA@53288 intake_key=\"YOUR_INTAKE_KEY\"] %msg%\n")

# Send your events to Sekoia.io intake servers under SEKOIAIOPulseTemplate template
if $hostname == "YOUR_PROVEIT_HOSTNAME" then @@(o)intake.sekoia.io:10514;SEKOIAIOProveITTemplate

In the above template instruction, change the YOUR_PROVEIT_HOSTNAME variable with the correct value, and please replace YOUR_INTAKE_KEY variable with your intake key.

Restart Rsyslog

$ sudo service rsyslog restart

Enjoy your events

Go to the events page to watch your incoming events.