Flag: Tornado! Hurricane!

Blogs >> rfreeman's Blog

Created: Wednesday, October 12 2005 00:15.27 CDT Modified: Wednesday, October 12 2005 17:29.12 CDT
Printer Friendly ...
Julius 0.1a vs. KB900725 (winsrv.dll)
Author: rfreeman # Views: 2473

Over the past two or so months, I've been working in my spare time to write a stand-alone patch analysis tool. Feedback is appreciated...

After taking today's security patch updates for my WinXP (SP2) box, I selected the KB900725 update for analysis as the link to more information (at the time) was broken and may have been trying to "fly under the radar". Four DLL's are included in this update: linkinfo.dll, shell32.dll, shlwapi.dll, and winsrv.dll. While I have produced results for all four libraries, I specifically looked at the results for winsrv.dll. Previously, I have used msgsvc.dll and schannel.dll as my primary QA tests during development.

The first interesting match, was highly suspect with a high deviation and lack of a named address. After quickly eyeballing both addresses in a disassembler, it was clear that the function boundary heuristics were to blame (thus a false positive). So this was quickly dismissed. Next I noticed 0x75b8afef, which supposedly was 0x75b8f2c1 (CheckEudcRangeInString). Since the address of the match seemed out of order, I checked and found that a true match for CheckEudcRangeInString existed later in the log file. Upon eyeballing, it became clear that 0x75b8afef was a new function that had been inappropriately matched. Curiously cross references for this function were found in GetLinkProperties. GetLinkProperties has the strongest list of security warnings, which I probably should have looked at first, but I don't think the order of investigation was inefficient in this example. Upon a look at GetLinkProperties, it became clear that 0x75b8afef was being used as a replacement for lstrcpyW(). Since there is an extra parameter and 0x75b8afef copies memory, I think it




Add New Comment
Comment:









There are 31,316 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
hi!
Jul/01
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit