OEMDump Windows 2012 (R2) Compatible

Saturday, December 13, 2014 Posted by admin under Computer & Peripherals 

This utility is an update of the 'OEMDump (Windows 7 Compatible)' I posted back in 2010. OEMDump is designed to make a backup of everything needed to do a clean install of Windows Vista, Windows 7, Windows Server 2008 (W/ or W/O R2) and Windows Server 2010 (W/ or W/O R2) allowing you still be able to use the Windows OEM preactivation mechanism.



The program will backup the following files:

* OEM Certificate
* OEM SLP Product Key
* OEM SLIC

Changelog:
FIX: Windows Server 2012 OEM certificate detection
ADDED: OA SLIC 2.2/2.3 detection
ADDED: Windows Server 2012/Windows Server 2012 R2 OEM certificate detection
ADDED: Windows Server 2012/Windows Server 2012 R2 Product Key detection (N char)
ADDED: CRC32 values to Filename and Edition ID with Product Key

Requirements:
Microsoft Windows
Microsoft .NET Framework 4.x

Download:
oemdump_update.zip


 

Tagged Windows  Activation  OEM  0 Comments


Decrypting oembios.dat

Wednesday, June 26, 2013 Posted by admin under Computer & Peripherals 

Allthough the area of Windows XP and Windows Server 2003 is long passed I recently stumbled on some XP recovery discs. Because I had no idea for what systems they where intended for I searched the internet and found something interesting here. By decrypting the oembios.dat file I now can easily see which preactivated systems the recovery discs support, or at least could.

enum KeyType
{
  WindowsXP,
  Windows2003
}

void DecryptOembios(byte[] data, KeyType keyType)
{
  // select keys
  byte[] key0;
  uint[] key1;

  if (keyType == KeyType.WindowsXP)
  {
    key0 = new byte[] { 0x65, 0x48, 0x73, 0xb3, 0x19, 0x81, 0x67, 0xca, 0xbf, 0x02, 0xfd, 0x2e, 0xb7, 0xe3, 0x3d, 0x17 };
    key1 = new uint[] { 0x6bef9812, 0xe4ccc512, 0x08714298, 0x3ed2ee96 };
  }
  else
  {
    key0 = new byte[] { 0x76, 0xd0, 0xe7, 0x70, 0xf6, 0xb4, 0xd1, 0x76, 0x13, 0xcd, 0x6e, 0x06, 0xd7, 0x28, 0x2c, 0xce };
    key1 = new uint[] { 0xf3462a5d, 0xc605e0d6, 0x0e524b90, 0x80649049 };
  }

  // initialize keystream (using key0)
  byte[] keystream = new byte[256];
  for (int i = 0; i < 256; ++i)
    keystream[i] = (byte)i;

  byte swapIndex = 0;
  for (int i = 0; i < 256; ++i)
  {
    swapIndex += (byte)(keystream[i] + key0[i & 0xf]);
    byte swap = keystream[i];
    keystream[i] = keystream[swapIndex];
    keystream[swapIndex] = swap;
  }

  // first step (using keystream)
  byte keystreamIndex0 = 0, keystreamIndex1 = 0;
  for (int offset = 0; offset < data.Length; ++offset)
  {
    keystreamIndex1 += keystream[++keystreamIndex0];
    byte swap = keystream[keystreamIndex1];
    keystream[keystreamIndex1] = keystream[keystreamIndex0];
    keystream[keystreamIndex0] = swap;
    data[offset] ^= keystream[(byte)(keystream[keystreamIndex0] + keystream[keystreamIndex1])];
  }

  // second step (using key1)
  for (int offset = data.Length - 8; offset >= 0; --offset)
  {
    uint data0 = BitConverter.ToUInt32(data, offset);
    uint data1 = BitConverter.ToUInt32(data, offset + 4);
    uint tmp = 0xc6ef3720;
    for (int i = 0; i < 32; ++i)
    {
      data1 -= tmp + key1[tmp >> 11 & 3] ^ data0 + (data0 << 4 ^ data0 >> 5);
      tmp += 0x61c88647;
      data0 -= tmp + key1[tmp & 3] ^ data1 + (data1 << 4 ^ data1 >> 5);
    }
    BitConverter.GetBytes(data0).CopyTo(data, offset);
    BitConverter.GetBytes(data1).CopyTo(data, offset + 4);
  }
}
Using the above code, i crafted up a simple console application that can decrypt Windows XP and Windows Server 2003 oembios.dat files.




Other resources on OEM preactivation:


Requirements:

  • Microsoft Windows
  • Microsoft .NET Framework 2.x

Download:
DecryptOembios.zip


Tagged Activation  BIOS  OEM  0 Comments


JMicron JMB363 Add-on Card IDE ROM

Monday, April 22, 2013 Posted by admin under Computer & Peripherals 

The JMicron JMB363 is a single chip, one-lane PCI Express to two-port Serial ATA II and one-port PATA Host Controller often found embedded in motherboards and in low-cost add-on cards. The JMB363 is designed to provide two-port SATA II and one-port PATA connectivity. The JMB363 supports both AHCI and Legacy IDE controller to increase system feasibility, including Native Command Queuing (NCQ), Hot Plugging, ATAPI Device Supporting, Port Multiplier with Command-based Switching Supporting, Programmable Output Swing Control to fit SATA II Gen1m and Gen2m (External SATA Connection, eSATA). It features PCI Express bus and Serial ATA II interface to express high performance storage devices. 

The chip supports operating in IDE, AHCI and RAID controller modes. Motherboard BIOSes allow choosing the operating mode, but add-on cards are stuck in RAID mode. The problem with RAID mode is that the standard Windows AHCI or IDE drivers cannot be used. A JMicron-specific driver is available for Windows OS's but this driver doesn't support functions like TRIM for SSD's.

On the page below 2 AHCI enabled option rom's are available, unfortunatly both these AHCI rom's didn't allow me to use an attached harddisk as boot medium. With the help of the author I created a IDE mode only option rom, this option rom allows you to use and attached harddisk as boot medium using the 'Standard Dual Channel PCI IDE Controller' Windows driver.

Source:
http://blog.stuffedcow.net/2012/08/jmicron-jmb36x-add-on-card-ahci-mode/

Download:
jmb363_1.07.24_ide.bin

Tagged BIOS  JMB363  3 Comments


Cropper for U3 (v1.9.4)

Sunday, December 19, 2010 Posted by admin under Computer & Peripherals 

Cropper is a screen capture utility written in C#. It makes it fast and easy to grab parts of your screen. Use it to easily crop out sections of vector graphic files such as Fireworks without having to flatten the files or open in a new editor. Use it to easily capture parts of a web site, including text and images. It's also great for writing documentation that needs images of your application or web site. I have ported Cropper to work to the U3 platform, you can now use Cropper straight from your U3 Compatible USB device.

Description Cropper

U3 CompatibleCropper for U3 makes it fast and easy to grab parts of your screen. Use it to easily crop out sections of vector graphic files such as Fireworks without having to flatten the files or open in a new editor. Use it to easily capture parts of a web site, including text and images. It`s also great for writing documentation that needs images of your application or web site.

The files are saved straight to the "Documents" folder on your U3 USB Device in the format you specify or to the clipboard or printer. No more `Print Screen`... open image editor... paste from clipboard... crop... export. Just double-click the form or press enter, and whatever is visible below the form is captured.

U3 Specific Features:

  • Configuration file is saved and stored on U3 Device (using U3_APP_DATA_PATH variable)
  • Captured files are automaticly save in the "Documents\\Cropper Captures" folder on your U3 USB Device (using U3_DEVICE_DOCUMENT_PATH variable)

New in version 1.9.4:

  • Add single instance option of the Application (Enabled by default in the U3 version, as no more then 1 instance is allowed to run within U3 LaunchPad )
  • Option to capture the mouse cursor.

Requirements:

  • Microsoft Windows
  • Microsoft .NET Framework 2.x
  • U3 Compatible Device

The source code of Cropper is freely available with shared source licensing. The license information is available in each class file.

Download:
CropperU3_v1.9.4.89.zip

Tagged U3  USB  0 Comments


OEMDump (Windows 7 Compatible)

Saturday, May 22, 2010 Posted by admin under Computer & Peripherals 

This utility is a successor of the 'Vista OEM Activation Backup' i crafted up in 2008. OEMDump is designed to make a backup of everything needed to do a clean install of Windows Vista, Windows 7 or Windows Server 2008 (R2) allowing you still be able to use the OEM preactivation Mechanism.

What is OEMDump?



The program will backup the following files:

* OEM Certificate
* OEM SLP Product Key
* OEM SLIC

What is needed to successfully use this program?

A OEM vendor system that came pre-installed with Windows Vista, Windows 7 or Windows Server 2008 (R2). You can check if your system is preactivated by using Microsoft MGADiag.



If MGADiag reports your systems Product ID Type as: OEM SLP your system uses the preactivation mechanism and you are good to go.

Further system requirements

  • Microsoft Windows Vista, Windows 7 or Windows Server 2008 (R2)
  • Administrator Privileges to execute the program

How to use these files after a clean install?

  • During Windows setup use the backup product key
     
  • After setup completes import the OEM Certificate by running this command from a Command Prompt started with Administrator Privileges: (right click -> Run as administrator)
    C:\\Windows\\System32\\cscript slmgr-vbs -ilc [PATH to XRM-MS File]
     
  • The BIOS SLIC table is not really required to re-preactivated your system, i included it just for safekeeping incase a BIOS update makes you loose activation.
Download:
OEMDump.zip

Credits for this utility go out to MasterDisaster @mdl

Tagged Windows  Activation  OEM  3 Comments