Graphing ideas


Author: David Zimmer
Date: 12.15.11 - 8:36am



so huge call chains and graphs in IDA can overwhelm the interface and your ability utilize the data. here are a couple thoughts of features I might add to the wingraph32 replacement. if you have any other ideas feel free to leave a comment.

  • select a node and only show X layers above or below. for hidden nodes, just replace them all with one node saying how many are hidden down that chain. click on this node to hide those above and expand another x layers below.

  • select a start and end node, and show only the path that connects them. hidden chains numbered by count hidden expandable as above.

  • ability to search and filter listview of node names

  • hide/select/highlight/annotate nodes based on function size (ignore small functions, include (xx bytes) next to node name)

  • right now Chart References from/to does not include win api or call eax execution transfers in its charting.it should, the replacement Ive made, could query IDA through the IDASrvr back channel to scan nodes listed (or selected depending on speed) and fill in the gaps. humm this might be next addition...
Features already in the new wingraph32
  • click on a node to navigate there in IDA
  • ability to rename nodes in graph and update in IDA
  • sequential rename of nodes based on depth with user set prefix (map an entire callchain by name and level in chain)
  • hide all nodes above/below selected node
  • hide selected/unselected nodes, ability to select nodes with drag box
  • ability to copy node list for view in notepad, and view in listview
Going to switch the IDA integration over from socket based to WM_COPYDATA based so things like Windows firewall dont break it.

Current UI (project available in the RE plugins git repository)






Comments: (1)

On 01.19.12 - 1:55pm Dave wrote:
Found a very cool .NET library today called GraphSharp. Its free and open source and very smooth, however I have no idea how really use it yet. Creating graphs is easy enough, but attaching single click and right click events to the nodes is perplexing. and the rotten part is that its done in WPF and requires XAML is , well..yukky. Anyway if I figure it out, then its a slam dunk to use this free library over the 1200 lasalle or kludgy graphwiz.

 
Leave Comment:
Name:
Email: (not shown)
Message: (Required)
Math Question: 64 + 5 = ? followed by the letter: G 



Twitter
RSS
About Me
More Blogs
Main Site
Posts: (year)
2020 (6)
     Using VB6 Obj files from C
     Vb6 PCode Internals
     Vb6 Runtime ForLoop Disasm
     VB6 Pcode - For Loops
     Yara Corrupt Imports
     Yara Undefined values
2019 (12)
     Yara WorkBench
     SafeArrayGetVartype
     vbdec dbg updates
     vb6 PCode NOP
     vb6 API and call backs
     how pcode works Pt1
     PrintFile
     ImpAdCallNonVirt
     Reversing PCode Args
     VB6 PCode Disassembly
     VB6 PCode Debugger
     UConnect Disable Cell Modem
2017 (5)
     IDA python over IPC
     dns wildcard blocking
     64bit IDA Plugins
     anterior lines
     misc news/updates
2016 (4)
     KANAL Mod
     Decoders again
     CDO.Message Breakpoints
     SysAnalyzer Updates
2015 (6)
     SysAnalyzer and Site Updates
     crazy decoder
     ida js w/dbg
     flash patching #2
     JS Graphing
     packet reassembly
2014 (5)
     Delphi IDA Plugin
     scdbg IDA integration
     API Hash Database
     Winmerge plugin
     IDACompare Updates
2013 (9)
     Guest Post @ hexblog
     TCP Stream Reassembly
     SysAnalyzer Updates
     Apilogger Video
     Shellcode2Exe trainer
     scdbg updates
     IDA Javascript w/IDE
     Rop Analysis II
     scdbg vrs ROP
2012 (13)
     flash patching
     x64 Hooks
     micro hook
     jmp api+5 *2
     SysAnalyzer Updates
     InjDll runtime config
     C# Asm/Dsm Library
     Shellcode Hook Detection
     Updates II
     findDll
     Java Hacking
     Windows 8
     Win7 x64
2011 (19)
     Graphing ideas
     .Net Hacking
     Old iDefense Releases
     BootLoaders
     hll shellcode
     ActionScript Tips
     -patch fu
     scdbg ordinal lookup
     scdbg -api mode
     Peb Module Lists
     scdbg vrs Process Injection
     GetProcAddress Scanner
     scdbg fopen mode
     scdbg findsc mode
     scdbg MemMonitor
     demo shellcodes
     scdbg download
     api hashs redux
     Api hash gen
2010 (11)
     Retro XSS Chat Codes
     Exe as DLL
     Olly Plugins
     Debugging Explorer
     Attach to hidden process
     JS Refactoring
     Asm and Shellcode in CSharp
     Fancy Return Address
     PDF Stream Dumper
     Malcode Call API by Hash
     WinDbg Cheat Sheet
2009 (1)
     GPG Automation