Skip to content

d0rb/AMSI-Bypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Profile Visitors

๐Ÿ‡ฎ๐Ÿ‡ฑ #BringThemHome #NeverAgainIsNow ๐Ÿ‡ฎ๐Ÿ‡ฑ

We demand the safe return of all citizens who have been taken hostage by the terrorist group Hamas. We will not rest until every hostage is released and returns home safely. You can help bring them back home. https://stories.bringthemhomenow.net/

AMSI Write Raid 0day Vulnerability

๐Ÿ›ก๏ธ Introduction

This repository contains a proof of concept exploit for the AMSI Write Raid 0day Vulnerability discovered by OffSec Technical Trainer Victor Khoury (Vixx). This vulnerability allows bypassing AMSI (Anti-Malware Scan Interface) without using the VirtualProtect API and without changing memory protection settings.

๐Ÿ” Vulnerability Details

Microsoft's AMSI is designed to help detect and prevent malware by integrating security applications into software and inspecting their behavior before execution. The vulnerability discovered by Victor Khoury involves a writable entry inside System.Management.Automation.dll, which contains the address of AmsiScanBuffer. This entry should have been marked read-only but was not, allowing it to be manipulated to bypass AMSI.

๐Ÿ’ก Exploit Overview

The exploit leverages the writable entry to overwrite the address of AmsiScanBuffer with a dummy function, effectively bypassing AMSI without invoking VirtualProtect. The proof of concept code is provided in both PowerShell and Python languages.

๐Ÿš€ Usage

To execute the exploit:

  1. Clone this repository to your local machine.
  2. Open PowerShell or Python and execute the provided script.
  3. Ensure that the desired payload is included in the exploit code before execution.
  4. Monitor the execution to verify successful bypass of AMSI.

๐Ÿ”’ Disclaimer

This exploit is provided for educational and research purposes only. Use it responsibly and ethically. The authors do not take any responsibility for any misuse or damage caused by the exploitation of this vulnerability.

๐Ÿ“Ž References

๐Ÿ‘จโ€๐Ÿ’ป Credits

  • Victor Khoury (Vixx) - Offsec Technical Trainer

About

This repository contains a proof of concept exploit for the AMSI Write Raid 0day Vuln

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages