pwn3d.es

AMSI-BYPASS-GENERATOR · ANALYSIS

DEFENSIVE GUIDE

AMSI, understood from the defensive side.

The original project generates code to evade AMSI. pwn3d.es does not reproduce it: its visual guide explains how AMSI scans scripts, what trace each technique family leaves and how it is detected and mitigated.

AMSIPowerShellDefensa
scan stages
5
documented families
4
screens in the guide
2
parts explained
7

What it is and what it is for

AMSI (Antimalware Scan Interface) is the Windows interface that lets antivirus products inspect scripts and content at execution time. It is especially effective against obfuscated code in PowerShell, JavaScript, VBScript and Office macros, because it receives the already deobfuscated content right before it runs.

The original repository is a static web page with an information module about AMSI and a random code generator that tries to avoid Windows Defender signature detection. It documents four families of techniques: tampering with amsi.dll functions, string and payload obfuscation, in-memory modification of AMSI state and runtime assembly loading.

On pwn3d.es the generator is not reproduced and no evasion snippet is published. What is offered is a visual guide to the defensive side: how a script flows through AMSI, what trace each family of techniques leaves and how to detect and mitigate it.

When to use it

  • Blue team training

    Understand why AMSI sees the deobfuscated script and which events it raises when something tries to disable it.

  • Detection engineering

    Use the four families as hypotheses for EDR rules, script block logging (4104) and Defender alerts (1116).

  • Purple team exercises

    In an authorised lab, compare which telemetry is observed for each family before a real exercise.

How it works

  1. Host start-up

    PowerShell or another compatible host loads amsi.dll into its process.

  2. Submitted for scanning

    Before running, the host hands the already deobfuscated content to AMSI.

  3. Provider query

    AMSI asks the registered antimalware (Defender by default) whether the content is malicious.

  4. Verdict and telemetry

    On a match the script is blocked and events are logged (Defender 1116, PowerShell 4104) that a SOC can correlate.

What changes on pwn3d.es

  • On pwn3d.es the tool is explained with a visual guide: its interface recreated in CSS, screen by screen, with each part numbered and explained.
  • pwn3d.es neither runs nor hosts the tool: to use it there are its official site and repository, always at their latest version.

Content based on the original project and public AMSI documentation. Under the limited-demo policy it includes neither the generator nor bypass fragments.