first commit

This commit is contained in:
Aryma
2026-04-14 12:17:24 +07:00
commit 2f05f67733
799 changed files with 531884 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
+++
title = "ticket_cache_purge"
chapter = false
weight = 103
hidden = false
+++
{{% notice info %}}
Artifacts Generated: WindowsAPIInvoke
{{% /notice %}}
## Summary
Remove the specified ticket(s) from the current logon session, this uses LSA APIs to delete tickets from the active logon session on the host.
### Arguments
#### serviceName
the name of the service to remove, needs to include the domain name, not required if -all flag is present
#### All (Optional)
Argument flag to remove all tickets from the current logon session
#### luid (Optional)
Optional argument to remove a ticket from the cache of a different logon session, must be elevated.
## Usage
```
ticket_cache_purge -luid [luidValue] -serviceName [serviceName] -All
```
Example
```
ticket_cache_purge -serviceName ldap/machineName.DomainName.local/domainName.local@DomainName.local
ticket_cache_purge -serviceName cifs/machineName@DomainName.local
ticket_cache_purge -all
ticket_cache_purge -luid 0xabcd123 -serviceName cifs/machineName@DomainName.local
ticket_cache_purge -luid 0xabcd123 -All
```
## MITRE ATT&CK Mapping
- T1550