~/talk

Using Pester & ScriptAnalyzer for Detecting Obfuscated...

Talkat PowerShell + DevOps Global Summit 2019 · 2019-04-29..05-02· [security]
links:none on file
slides:none on file

Shows concrete detections: combines PesterSec tests and ScriptAnalyzer + AST rules to find token‑level obfuscation that ScriptBlock logging leaves behind. Demonstrates Revoke‑Obfuscation and PSAmsi workarounds, reports the Invoke‑Obfuscation harness produces at most 56 unique invocations, and a handful of regex rules catch 8 of 28 syntaxes while AST rules flag long member names, tick marks, special‑char-heavy tokens and anomalies from a 400,000‑script corpus. Includes working measurements and rule outputs so defenders can reproduce and extend.

AI-written summary · about

  1. 0:00Detecting obfuscated PowerShell
  2. 8:18Script block logging importance
  3. 13:08Static signature approaches
  4. 15:16Revoke-Obfuscation techniques
  5. 20:28Minimal obfuscation bypasses
  6. 24:02PesterSet leveraging abstract syntax trees
  7. 31:47AST-based detection
  8. 34:57PowerShell event log comparison
  9. 38:05Key takeaways
  10. 40:31Q&A
~/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.