~/talk

PowerShell obfuskation Techniques & How To Detect Them​

Talkat CODE BLUE 2016 · 2016-10-20..10-21· [security]
links:none on file
slides:none on file

Describes a dozen never-before-seen techniques that mutate PowerShell command arguments so common detections fail, demonstrates concrete methods like tick escapes inside member names, splatting/wildcarded cmdlet names, reversing and reordering string payloads, using securestring as payload to store AES/DPAPI-encrypted scripts, and pushing commands into parent or grandparent processes via environment variables or standard input. Shows evasion of encoded command and remote download cradle detections and ships the open source tool Invoke-Obfuscation which reliably generates and tests these techniques.

AI-written summary · about

  1. 0:00Start
  2. 5:45preparing your environment
  3. 6:49download a powershell script into memory
  4. 9:15set new object net web client as a variable
  5. 10:08add a tick mark
  6. 10:45put tick marks in front of every letter
  7. 12:31use tick marks
  8. 13:55use wildcards to search
  9. 15:09powershell 10 syntax
  10. 17:10treat the commandment name as a string
  11. 21:38automate this in powershell
  12. 25:16split the string
  13. 28:40append a wild card to the end of a flag
  14. 29:20take a random substring
  15. 31:09convert it to a secure string object
  16. 31:58using aes encryption 16 24 or 32 bit
  17. 35:27echo our powershell command into powershell
  18. 36:50setting your powershell command in a process level environment
  19. 37:19pipe your command in the clipboard
  20. 38:41use the clipboard
  21. 41:44using the remote download cradle
  22. 44:11randomize the order
  23. 45:41move the arguments outside of powershell
  24. 46:36invoke an environment variable
  25. 47:29push the arguments
~/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.