ServiceAccountToken
| Action | Sample | Rule |
|---|---|---|
| Service account token (catch-all) | N | Y |
| Create Token | Y | N |
| Rename Token | N | N |
| Revoke Token | Y | N |
| Verify Token | N | N |
any: Service account token (catch-all)
#Description
Matches any service account token event.
Fields #
| Name | Description | Rules |
|---|---|---|
uuid | Unique event identifier. | |
timestamp | Time the event occurred. | |
actor_uuid | Actor identifier. | |
actor_details.uuid | Actor identifier. | |
actor_details.name | Actor's full name. | |
actor_details.email | Actor's email address. | |
actor_type | Type of actor. | |
actor_account_uuid | 1Password account identifier of the actor. | |
account_uuid | 1Password account identifier. | |
action | Action performed. | 1 detection rule |
object_type | Type of affected object. | 1 detection rule |
object_uuid | Identifier of the affected object. | |
object_details.uuid | Affected user identifier, when applicable. | |
object_details.name | Affected user's full name, when applicable. | |
object_details.email | Affected user's email address, when applicable. | |
aux_id | Numeric identifier for related event data. | |
aux_uuid | Identifier for related event data. | |
aux_details.uuid | Related user identifier, when applicable. | |
aux_details.name | Related user's full name, when applicable. | |
aux_details.email | Related user's email address, when applicable. | |
aux_info | Additional event information. | |
session.uuid | Session identifier. | |
session.login_time | Time the session started. | |
session.device_uuid | Identifier of the session device. | |
session.ip | IP address used for the session. | |
location.country | Client country inferred from IP address. | |
location.region | Client region inferred from IP address. | |
location.city | Client city inferred from IP address. | |
location.longitude | Client longitude inferred from IP address. | |
location.latitude | Client latitude inferred from IP address. |
Detection Rules #
Full rule details for this event, including ATT&CK technique mappings and native queries →Kusto #
T1134
References #
satoken-create: Create Token
#Description
A service account token was registered.
Fields #
| Name | Description |
|---|---|
uuid | Unique event identifier. |
timestamp | Time the event occurred. |
actor_uuid | Actor identifier. |
actor_details.uuid | Actor identifier. |
actor_details.name | Actor's full name. |
actor_details.email | Actor's email address. |
actor_type | Type of actor. |
actor_account_uuid | 1Password account identifier of the actor. |
account_uuid | 1Password account identifier. |
action | Action performed. |
object_type | Type of affected object. |
object_uuid | Identifier of the affected object. |
object_details.uuid | Affected user identifier, when applicable. |
object_details.name | Affected user's full name, when applicable. |
object_details.email | Affected user's email address, when applicable. |
aux_id | Numeric identifier for related event data. |
aux_uuid | Identifier for related event data. |
aux_details.uuid | Related user identifier, when applicable. |
aux_details.name | Related user's full name, when applicable. |
aux_details.email | Related user's email address, when applicable. |
aux_info | Additional event information. |
session.uuid | Session identifier. |
session.login_time | Time the session started. |
session.device_uuid | Identifier of the session device. |
session.ip | IP address used for the session. |
location.country | Client country inferred from IP address. |
location.region | Client region inferred from IP address. |
location.city | Client city inferred from IP address. |
location.longitude | Client longitude inferred from IP address. |
location.latitude | Client latitude inferred from IP address. |
Example Event #
{
"uuid": "66NMAMFYMXMPIBC6KHWP3H4MXZ",
"timestamp": "1/20/2024, 11:09:33.457 AM",
"location": {
"country": "The Netherlands",
"region": "Utrecht",
"city": "Amersfoort",
"latitude": 52.1849,
"longitude": 5.3954
},
"actor_uuid": "2C4RSXPRI5BVFOS3TCJFYDZYXY",
"actor_details": {
"uuid": "2C4RSXPRI5BVFOS3TCJFYDZYXY",
"name": "Tommy Shelby",
"email": "tommy.shelby@securehats.nl"
},
"action": "create",
"object_type": "satoken",
"object_uuid": "M4M2NNY4ERA7LA6BXTL5HFWE34",
"aux_info": "data leakage",
"session": {
"uuid": "T5K5KQY6YJHUPMPZYIN3YTWO74",
"login_time": "2024-01-20T11:06:40.2311705Z",
"device_uuid": "wnxznnlchyi4cpqratg6dzigjq",
"ip": "80.114.2.247"
}
}
References #
satoken-trename: Rename Token
#Description
A service account token name was updated.
Fields #
| Name | Description |
|---|---|
uuid | Unique event identifier. |
timestamp | Time the event occurred. |
actor_uuid | Actor identifier. |
actor_details.uuid | Actor identifier. |
actor_details.name | Actor's full name. |
actor_details.email | Actor's email address. |
actor_type | Type of actor. |
actor_account_uuid | 1Password account identifier of the actor. |
account_uuid | 1Password account identifier. |
action | Action performed. |
object_type | Type of affected object. |
object_uuid | Identifier of the affected object. |
object_details.uuid | Affected user identifier, when applicable. |
object_details.name | Affected user's full name, when applicable. |
object_details.email | Affected user's email address, when applicable. |
aux_id | Numeric identifier for related event data. |
aux_uuid | Identifier for related event data. |
aux_details.uuid | Related user identifier, when applicable. |
aux_details.name | Related user's full name, when applicable. |
aux_details.email | Related user's email address, when applicable. |
aux_info | Additional event information. |
session.uuid | Session identifier. |
session.login_time | Time the session started. |
session.device_uuid | Identifier of the session device. |
session.ip | IP address used for the session. |
location.country | Client country inferred from IP address. |
location.region | Client region inferred from IP address. |
location.city | Client city inferred from IP address. |
location.longitude | Client longitude inferred from IP address. |
location.latitude | Client latitude inferred from IP address. |
References #
satoken-trevoke: Revoke Token
#Description
A service account token was revoked.
Fields #
| Name | Description |
|---|---|
uuid | Unique event identifier. |
timestamp | Time the event occurred. |
actor_uuid | Actor identifier. |
actor_details.uuid | Actor identifier. |
actor_details.name | Actor's full name. |
actor_details.email | Actor's email address. |
actor_type | Type of actor. |
actor_account_uuid | 1Password account identifier of the actor. |
account_uuid | 1Password account identifier. |
action | Action performed. |
object_type | Type of affected object. |
object_uuid | Identifier of the affected object. |
object_details.uuid | Affected user identifier, when applicable. |
object_details.name | Affected user's full name, when applicable. |
object_details.email | Affected user's email address, when applicable. |
aux_id | Numeric identifier for related event data. |
aux_uuid | Identifier for related event data. |
aux_details.uuid | Related user identifier, when applicable. |
aux_details.name | Related user's full name, when applicable. |
aux_details.email | Related user's email address, when applicable. |
aux_info | Additional event information. |
session.uuid | Session identifier. |
session.login_time | Time the session started. |
session.device_uuid | Identifier of the session device. |
session.ip | IP address used for the session. |
location.country | Client country inferred from IP address. |
location.region | Client region inferred from IP address. |
location.city | Client city inferred from IP address. |
location.longitude | Client longitude inferred from IP address. |
location.latitude | Client latitude inferred from IP address. |
Example Event #
{
"uuid": "4JWZQKYUEVBTTZBO56DLRPHVDC",
"timestamp": "1/19/2024, 1:04:57.952 PM",
"location": {
"country": "The Netherlands",
"region": "Utrecht",
"city": "Amersfoort",
"latitude": 52.1849,
"longitude": 5.3954
},
"actor_uuid": "2C4RSXPRI5BVFOS3TCJFYDZYXY",
"actor_details": {
"uuid": "2C4RSXPRI5BVFOS3TCJFYDZYXY",
"name": "Tommy Shelby",
"email": "tommy.shelby@securehats.nl"
},
"action": "trevoke",
"object_type": "satoken",
"object_uuid": "NCM3DBCRJZEGJIGM43U4LYM5YM",
"aux_info": "DevToken",
"session": {
"uuid": "DAETGQHHUVBQNEQQ5LQMFQ5P3Q",
"login_time": "2024-01-19T13:02:44.2246211Z",
"device_uuid": "tmikosahabjierhqhaapybduj4",
"ip": "80.114.2.247"
}
}
References #
satoken-tverify: Verify Token
#Description
A service account token signature was registered.
Fields #
| Name | Description |
|---|---|
uuid | Unique event identifier. |
timestamp | Time the event occurred. |
actor_uuid | Actor identifier. |
actor_details.uuid | Actor identifier. |
actor_details.name | Actor's full name. |
actor_details.email | Actor's email address. |
actor_type | Type of actor. |
actor_account_uuid | 1Password account identifier of the actor. |
account_uuid | 1Password account identifier. |
action | Action performed. |
object_type | Type of affected object. |
object_uuid | Identifier of the affected object. |
object_details.uuid | Affected user identifier, when applicable. |
object_details.name | Affected user's full name, when applicable. |
object_details.email | Affected user's email address, when applicable. |
aux_id | Numeric identifier for related event data. |
aux_uuid | Identifier for related event data. |
aux_details.uuid | Related user identifier, when applicable. |
aux_details.name | Related user's full name, when applicable. |
aux_details.email | Related user's email address, when applicable. |
aux_info | Additional event information. |
session.uuid | Session identifier. |
session.login_time | Time the session started. |
session.device_uuid | Identifier of the session device. |
session.ip | IP address used for the session. |
location.country | Client country inferred from IP address. |
location.region | Client region inferred from IP address. |
location.city | Client city inferred from IP address. |
location.longitude | Client longitude inferred from IP address. |
location.latitude | Client latitude inferred from IP address. |