[*] pStalker> Profile analysis 25% complete. [*] pStalker> Profile analysis 50% complete. [*] pStalker> Profile analysis 75% complete. [*] pStalker> Profile analysis 100% complete.
C:\Program Files\Outlook Express> tasklist ... MSIMN.EXE 1708 Console 0 11,260 K ... C:\Program Files\Outlook Express>process_stalker.exe -a 1708 --one-time -r 0 process stalker target: 1708 processing breakpoints for module MSOE.dll at 00791000 done. 57844 of 58164 breakpoints set. initial break, tid = 077c. commands: [h] this screen [m] module list [0-9] enter recorder modes [x] stop recording [v] toggle verbosity [d] detach (XP/2003 only) [q] quit/close 00798139 T:000003bc [R0] 007A676E push ebp 00798139 T:000003bc [R0] 007A6856 test eax,eax 00798139 T:000003bc [R0] 007A6886 cmp eax,0x2 00798139 T:000003bc [R0] 007A688B push 0x88 00798149 T:000003bc [R0] 007CC88E push 0x10 ...
$ time ps_process_recording 1708.0 real 0m0.599s user 0m0.380s sys 0m0.180s $ ls -1 1708.0.* 1708.0.000003bc-processed 1708.0.00000470-processed 1708.0.0000062c-processed 1708.0.00000630-processed 1708.0.0000075c-processed 1708.0.000007dc-processed $ cat 1708.0.00000* > gui_hits $ wc -l gui_hits 4533 gui_hits
$ time ps_bp_filter msoe.dll.bpl msoe.dll.nogui `ps_recording_to_list gui_hits msoe.dll` out real 0m29.751s user 0m28.801s sys 0m0.260s $ wc -l msoe.dll.bpl msoe.dll.nogui 58164 msoe.dll.bpl 50185 msoe.dll.nogui 108349 total
C:\Program Files\Outlook Express> tasklist ... MSIMN.EXE 1792 Console 0 11,260 K ... C:\Program Files\Outlook Express>process_stalker.exe -a 1792 --one-time -r 0 process stalker target: 1792 processing breakpoints for module MSOE.dll at 00791000 done. 49999 of 50185 breakpoints set. initial break, tid = 0778. commands: [h] this screen [m] module list [0-9] enter recorder modes [x] stop recording [v] toggle verbosity [d] detach (XP/2003 only) [q] quit/close
$ time ps_process_recording 1792.0 real 0m0.597s user 0m0.420s sys 0m0.160s $ ls -1 1792.0.* 1792.0.0000058c-processed $ wc -l 1792.0.0000058c-processed 747 1792.0.0000058c-processed
$ time ps_view_recording_funcs 1792.0.0000058c-processed > hitgraph.gml real 0m16.584s user 0m11.306s sys 0m0.250s
$ time ps_graph_highlight --nodes hit hitgraph.gml > hitgraph_hl.gml real 0m9.119s user 0m8.702s sys 0m0.170s
$ time ps_add_register_metadata 1792-regs.0 hitgraph_hl.gml > hitgraph_hl_regs.gml real 0m8.973s user 0m8.402s sys 0m0.200s
200 Welcome to forums.novell.com (Twister v2.1.1.380) MODE READER 200 Welcome to forums.novell.com (Twister v2.1.1.380) LIST 215 NewsGroups Follow novell.community.applications.jboss 0000000015 0000000002 y novell.community.applications.openoffice.org 0000000199 0000000002 y novell.community.brainshare 0000013054 0000000002 y novell.community.certifications.cle 0000000225 0000000002 y ...
// this is not the actual stack-layout of the target function. char server_response[] = "0000000015 0000000002 y"; char buffer[16]; char *cursor; int length; for (cursor = server_response; cursor != NULL; cursor = CharNextA(cursor)) { if (FIsSpaceA(cursor)) break; } length = cursor - server_response; // 44-byte overwrite necessary to hit saved EBP/EIP (in our target DLL). strncpy(buffer, server_response, length);
There are 31,321 total registered users.
[+] expand