Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/tactics/lateral_movement.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,11 @@ WHERE user = 'compromised.username';
SELECT datetime(mtime, 'unixepoch', 'localtime') AS EULA_accepted,path
FROM registry
WHERE path LIKE 'HKEY_USERS\%\Software\Sysinternals\PsExec\EulaAccepted';
```
```
## C2 & LM Named Pipes
**Description:** Identifies default named pipes used by most popular post exploitation frameworks.
**Author:** [Janantha Marasinghe](https://medium.com/@blueteamops)
**Query:**
```sql tab="Windows"
SELECT * from pipes WHERE name LIKE 'psexesvc%' OR name LIKE 'remcom%' OR name LIKE 'gruntsvc%' OR name LIKE 'msagent%' OR name LIKE 'status%' OR name LIKE 'csexecsvc%' OR name LIKE 'TestSVC%' OR name LIKE 'jaccdpqnvbrrxlaf' OR name LIKE 'Posh%';
```