Category Archives: Hacking

Removing Integrity Check from a Setup.exe

We had an executable installer that had a forced reboot and no option to remove it via command line. We wanted to run it through a task sequence and allow the task sequence to handle the reboot. Following the process … Continue reading

Posted in Hack, Hacking, IDA | Leave a comment

Case of the Object Is Not Set To An Instance of an Object–.NET Patching

Continuing our series on patching .NET code without source ( https://chentiangemalc.wordpress.com/2015/07/31/case-of-the-black-background-window-net-patching/ ) A .NET application which worked fine on Windows 7, started throwing an exception when opening an image in Windows 10’s default editor. However the images still opened OK. … Continue reading

Posted in .NET, C#, Hacking, IL, MSIL, Patching, Reverse Engineering | Tagged | Leave a comment

PowerShell Script to Remove Macro Password on Office 2003/2007/2010/2013 Documents

Usage: .\Unlock-OfficeMacro.ps1 <input filename> <output filename> Supports .doc, .docm, .xlsm, .ppt, etc. Please read description in script before using. Download script here: http://1drv.ms/1DdzLGG Screenshot: The script: <# .SYNOPSIS Unlocks Office Macro Password Protection. .DESCRIPTION Unlocks Word/Excel/PowerPoint/etc 2003-2013 format files password … Continue reading

Posted in Hacking, PowerShell | Tagged | 11 Comments

Continuing Case of ByRef Corruption–.NET Patching

A new revision of app we previously met here https://chentiangemalc.wordpress.com/2014/05/22/case-of-the-invalid-base-key-error/ was out… The “Invalid Base Key” error had been patched, but now we had another. It looked like another case of variables being unexpectedly modified due to liberal and incorrect … Continue reading

Posted in .NET, Hacking, MSIL, Patching | Tagged | Leave a comment

Case of the Invalid Base Key Error

Continuing my series on .NET patching – refer to https://chentiangemalc.wordpress.com/2014/05/19/case-of-the-net-service-hang-patching-webclient-operation-timed-out/ for the previous articles more of an overview of using some of the tools described. A “front end” application that was used to launch another application was failing to launch … Continue reading

Posted in .NET, 64-bit, Application Compatibility, Debugging, Hacking, Patching, Reflexil, WinDbg, Windows 7 | 2 Comments

Case Of The Missing Ini Files – A WinDbg Reconstruction

An application was reported by the customer as “incompatible” with Windows 7 as it was “crashing” It was an in-house app developed by the customer to provide automated updates to their in-house applications. However the method of configuring the app … Continue reading

Posted in API Monitor, Application Compatibility, Debugging, Hacking, Win32, WinDbg | 1 Comment

An Experiment in Supporting XP Console Subsystem via Hex Edit Patching

Since at least Visual Studio 2012 Win32 C++ programs compiled by Visual Studio by default do not run on 32-bit Windows XP, unless the following Linker command line option is added: /SUBSYSTEM:CONSOLE,”5.01″ Attempting to run a program compiled without this … Continue reading

Posted in Hacking | 1 Comment