~/talk

AMSI & Bypass: Review of Known AMSI Bypass Techniques and Introducing a New One

Talkat Black Hat Asia 2022 · 2022-05-10..05-13· [security]
links:none on file
slides:none on file

Claims a new, undocumented AMSI bypass that modifies provider code instead of amsi.dll, implemented as PowerShell PoCs that locate provider vtables, change page protections and overwrite the provider's scan/GetClassObject bytes so scans return benign results. It uses patching provider DLLs and uninitialize via reflection to force reinitialization and trigger the patched code, successfully running Invoke-Mimikatz in demos. Countermeasures suggested include protecting provider memory pages and monitoring unexpected page-protection changes or context reinitialization.

AI-written summary · about

  1. 0:00Start
  2. 3:43Process Memory Layout
  3. 5:48Attack Surface
  4. 7:17Disabling AMSI
  5. 10:36What can Security Vendors do?
  6. 11:25AMSI.DLL code patching
  7. 12:58AMSI Context structure patching
  8. 13:52What Security Vendors are doing?
  9. 14:27Better Approach of security vendors
  10. 16:40COM Server Hijacking
  11. 17:03More AMSI Bypass Techniques
  12. 18:40AMSI Initialization
  13. 25:521st Bypass Script
  14. 30:22Finding The Providers' Scan Function
  15. 32:222nd Bypass Script - 32bit
  16. 36:37Takeaways
~/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.