Sunday, February 21, 2010

Windows Vista + 7 Targets for Screen Unlock Script

The screen_unlock script for metasploit now supports Windows Vista and 7 (might not work with every version though).
The basic method used for Vista and 7 is still the same, yet there was one problem: Vista and 7 use ASLR, so fixed addresses for the code patch do not work.
The meterpreter API has a nice solution to this problem - it is possible to find out the base address of a specific process module.

The updated target section in the script contains relative offsets which are combined with the base address of msv1_0.dll in the lsass.exe process to locate the exact positions for checking the signature and applying the patch.

The script now also supports multiple targets for one OS - every matching target gets tested until a working one is found.


  1. Although the windows vista services got ended by the end of 2011 only, I still have windows vista installed on my old laptop. Your article saved my time. I am using windows 10 right now but it lacks the feel that it was for windows vista. The most frustrating thing that I need to handle with windows 10 is the error issues. Like the quickbooks error 1603 windows 10. I wish, we could have those vista days now..

  2. This is quite a good blog.Are you also searching for DNP Capstone Project? we are the best solution for you. We are best known for delivering nursing writing services to students without having to break the bank.

  3. Such great content.This is authentic. Are you also searching for nursing writing services login? we are the best solution for you. We are best known for delivering the best

  4. If you are in your higher studies, I think you must know the complications pay to Write My Assignment
    involved in the subjects. Contact online helpers now now! Because they have qualified assignment experts now you can easily talk to them for your all assignment help. They are available every time for your help.

  5. Hey guys! Let me show to you a beautiful service for essay and homework! If you need some help you can use this help me papernow reviews write my paper and be happy about it! Check this out and good luck!

  6. Hey people! Our custome writing platform are a life-saving service for procrastinators! Our qualified experts dissertation writers excel at speedy writing and can craft a perfect paper within the shortest deadline. A good essay writer is a qualified professional with the necessary hard and soft skills. A one-on-one meeting allows us to find flexible and outgoing authors with great time-management qualities and a genuine passion for writing.