Windows UEFI Bootkit in Rust (Codename: RedLotus)

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Onaylı Üye
Katılım
4 Nis 2020
Mesajlar
51
Tepki puanı
-1
Ödüller
6
Yaş
37
6 HİZMET YILI
UEFI bootkit:
Bağlantıları görmek için lütfen Giriş Yap
using Rust purely for the purpose of fun and learning. This bootkit performs manual mapping of a Windows kernel driver prior to the kernel loading process, effectively bypassing DSE (Driver Signature Enforcement). It adopts a similar approach to
Bağlantıları görmek için lütfen Giriş Yap
and utilizes a UEFI runtime driver (EFI_RUNTIME_DRIVER). I am excited to share this project here with like-minded individuals who are interested in exploring and experimenting with such techniques.

This diagram illustrates the structure and flow of the RedLotus.efi UEFI bootkit (RedLotus.sys is the Windows kernel driver):


Usage:

Download
Bağlantıları görmek için lütfen Giriş Yap
or
Bağlantıları görmek için lütfen Giriş Yap
and follow these steps:

1. Extract the downloaded EFI shell and rename the file Shell.efi (should be in the folder UefiShell/X64) to bootx64.efi.

2. Format a USB drive to FAT32.

3. Create the following folder structure on the USB drive:

Code:
  1. USB:.
  2. │ redlotus.efi
  3. └───EFI
  4. └───Boot
  5. bootx64.efi
4. Boot from the USB drive.

- For VMware Workstation:

- Go to VM -> Settings -> Hardware -> Add -> Hard Disk -> Next -> SCSI or NVMe (Recommended) -> Next -> Use a physical disk (for advanced users) -> Next -> Device: PhysicalDrive1 and Usage: Use entire disk -> Next -> Finish.

- Start the VM by clicking Power On to Firmware.

- Select "Internal Shell (Unsupported option)" or "EFI Vmware Virtual SCSI Hard Drive (1.0)".

5. A UEFI shell should start. Change the directory to the same location as the Windows Boot Manager (e.g., FS0). Please note that the file system could be different for your machine.

Code:
  1. FS0:
6. Copy the bootkit to the same location as the Windows Boot Manager (e.g., FS0).

Code:
  1. cp fs2:redlotus.efi fs0:
7. Load the bootkit.

Code:
  1. load redlotus.efi
8. Windows should boot automatically.

PoC

Tested on

- Microsoft Windows 10 Home 10.0.19045 N/A Build 19045
- Microsoft Windows 11 Home 10.0.22621 N/A Build 22621


Please be aware that this bootkit has not been tested against any anti-cheat systems. Use it responsibly and at your own risk.


This project is inspired by the following:

Umap:
Bağlantıları görmek için lütfen Giriş Yap

Bootlicker:
Bağlantıları görmek için lütfen Giriş Yap

BlackLotus:
Bağlantıları görmek için lütfen Giriş Yap

ESPecter:
Bağlantıları görmek için lütfen Giriş Yap

UEFI-Bootkit:
Bağlantıları görmek için lütfen Giriş Yap

EfiGuard:
Bağlantıları görmek için lütfen Giriş Yap

Bootkitting Windows Sandbox: https://[censored]/2022/08/29/bootkitting-windows-sandbox.html
Rootkits and Bootkits:
Bağlantıları görmek için lütfen Giriş Yap
 
Onaylı Üye
Katılım
2 Eyl 2023
Mesajlar
50
Tepki puanı
1
Ödüller
1
Yaş
25
2 HİZMET YILI
is really that hard to understand this...
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst