tom

anydesk forensics

tom
Jul 28th, 2026
6,826
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. Get-CimInstance Win32_Process |
  2. Where-Object {
  3. $_.Name -match 'AnyDesk' -or
  4. $_.ExecutablePath -match 'AnyDesk' -or
  5. $_.CommandLine -match 'AnyDesk'
  6. } |
  7. Format-List ProcessId, ParentProcessId, Name, ExecutablePath, CommandLine, CreationDate
  8.  
  9. Get-CimInstance Win32_Service |
  10. Where-Object {
  11. $_.Name -match 'AnyDesk' -or
  12. $_.DisplayName -match 'AnyDesk' -or
  13. $_.PathName -match 'AnyDesk'
  14. } |
  15. Format-List Name, DisplayName, State, StartMode, StartName, PathName
  16.  
  17. Get-ChildItem `
  18. 'C:\ProgramData\AnyDesk*',
  19. 'C:\Users\*\AppData\Roaming\AnyDesk*',
  20. 'C:\Windows\Prefetch\*ANYDESK*.pf' `
  21. -Force -Recurse -ErrorAction SilentlyContinue |
  22. Sort-Object LastWriteTime |
  23. Format-Table LastWriteTime, Length, FullName -AutoSize
Advertisement