andreisss

Ghosting-AMSI: Intercept AMSI Scans Through RPC

Ghosting-AMSI is a PowerShell proof of concept for intercepting AMSI scan requests at the Windows RPC layer. It is aimed at security researchers studying AMSI and antivirus-provider communication, not routine application development.

View on GitHub Compare
Stars
250
Forks
37
Stars, last 30 days
+1

Our take

Health score

16/100

How it is scored
Activity
19
Community
4
Issues
21
Pull requests
20

+1 stars in the last 30 days

  • Fewer contributors than 91% of the projects we track

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

252

Forks

36

Change since Nov 17, 2026: 0 stars·0 forks

Overview

Ghosting-AMSI demonstrates an AMSI bypass approach that targets the RPC runtime function NdrClientCall3. Instead of modifying amsi.dll or changing AMSI initialization state, the project describes intercepting scan requests before they are marshaled to an antivirus provider.

The project is relevant to Windows security research and defensive testing of AMSI-dependent protections. Its README provides a conceptual description, but does not document setup steps, supported environments, or validation results.

Key Features

  • Implements an AMSI bypass concept based on RPC interception.
  • Targets rpcrt4.dll!NdrClientCall3, used to marshal and dispatch RPC calls.
  • Describes manipulating scan-request arguments before they reach the antivirus provider.
  • Uses an approach that does not modify amsi.dll.
  • Focuses on the RPC communication path between AMSI and antivirus providers.

Use Cases

  • Windows security researchers can examine an alternative AMSI bypass technique in a controlled lab.
  • Red-team practitioners can assess whether defensive monitoring detects RPC-layer tampering, with authorization.
  • Defensive engineers can use the described approach to inform testing of endpoint protections that rely on AMSI.
  • Malware-analysis teams can consider the technique when investigating attempts to interfere with AMSI scanning.

Getting Started

The README does not provide an installation or execution command. Review the repository README for the project description before evaluating it in an isolated, authorized test environment.

Considerations

This is a security-sensitive bypass concept, and the repository provides limited usage and validation detail. Intercepting a low-level RPC function may depend on Windows implementation details and could be fragile across environments. The README does not specify supported Windows versions or provide compatibility, safety, or detection-testing guidance. Use only in a controlled environment with authorization.

Found this useful?

Share it with someone who would like Ghosting-AMSI.