Skip to content

Rainbow - EFI bootkit like HWID spoofer (SMBIOS/disk/NIC)

License

Notifications You must be signed in to change notification settings

gmh5225/-Rainbow---EFI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello Everyone

I had this in mind for a long time but I finally got to do it. Originally I was intending to either keep it for myself or sell it, but you know what? Fuck it.

This rainbow spoofer essentially hooks ExitBootServices to get return address to OslFwpKernelSetupPhase1, then it runs sigscan to find OslLoaderBlock and other crap from there. It hooks IopLoadDriver to perform the spoofing and then unhooks itself.

I have decided not to release the source code yet, because I want to keep it fine for some time until it starts to get flagged. Once it gets flagged, I will publish the source code. The source will be pushed to this GitHub repo.

r8xNj4f

6tS6Yxf

hLGMoiB

See Video Click Here

Usage

Download rainbow.efi and a copy of EDK2 efi shell (direct link). Now follow these steps:

  1. Extract downloaded efi shell and rename file Shell.efi (should be in folder UefiShell/X64) to bootx64.efi
  2. Format some USB drive to FAT32
  3. Create following folder structure
Code
1.USB:.
2. │   rainbow.efi
3. │
4. └───EFI
5.      └───Boot
6.              bootx64.efi
  1. Boot from the USB drive
  2. An UEFI shell should start, change directory to your USB (FS0 should be the USB since we are booting from it) and list files
Code
1.FS0:
2.ls
  1. You should see file rainbow.efi, if you do, load it
Code
load rainbow.efi
  1. Now you should see output from rainbow. If it was successful, exit and boot into Windows (change to Windows boot media - usually FS1 - and run \EFI\Boot\bootx64.efi)

Download

Version 0.0.1

  • Target Windows build: 20H2 (19042.xxx)
  • Download: Click

Note

to mods: The URL (rainbow.tulach.cc) is just a redirect to that GitHub page. The page itself is my blog (other people have been also linking their blogs so I presume it's fine?). Originally it was intended as a webpage for it, and now I am lazy to rebuild since I am already on my laptop (gonna be midnight). If it's triggering you, I will rebuild it and retake the screenshots and video tomorrow.

Note

to mods 2: The compiled file uses simple compile time XOR for text. I did this to prevent people from simply byte-patching it. If you need PDB files to check it (or even the source) then I will provide it to you.

EDIT

Source code has been released. Please check out the GitHub repo. The source code is provided "as-is" and I will not be providing any support for that.

About

Rainbow - EFI bootkit like HWID spoofer (SMBIOS/disk/NIC)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 54.8%
  • C++ 45.1%
  • Assembly 0.1%