~/talk

Investigating PowerShell Attacks

Talkat Black Hat USA 2014 · 2014-08-02..08-07· [security]
links:none on file
slides:none on file

Targeted attackers use PowerShell for command-and-control and lateral movement, often over WSMan/WinRM remoting, with PowerShell 2.0 present by default on Windows 7/Server 2008 R2. Real cases use PowerSploit modules like Invoke‑Mimikatz to run in memory and avoid disk. Forensics finds SOAP/XML remnants in WSMProvHost and svchost memory, Event IDs 400/403/4043/169 and WinRM logs, and WMI event‑filter persistence that creates registry keys; upgrading to module logging (PSv3+) yields clear‑text commands but produces thousands of events.

AI-written summary · about

  1. 0:00investigating powershell attacks with ryan kazanjian and matt hastings
  2. 4:00mention throughout this presentation a number of different versions of powershell
  3. 6:55retains remnants of remoting activity
  4. 7:11found trace bits of powershell remoting in the kernel
  5. 7:29recovering some of this evidence of remoting activity
  6. 10:02first looking at local powershell execution and the powershell
  7. 10:56record the powershell console starting up
  8. 12:11moving out to powershell remoting
  9. 12:43recording the start and stop of the powershell engine
  10. 15:59upgrading to powershell
  11. 17:40use any of the existing persistence mechanisms in windows
  12. 20:23create a wmi event filter
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.