ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] Examples of searching on DCERPC strings and others ...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Ronnie Sahlberg" <ronnie_sahlberg@xxxxxxxxxxxxxx>
Date: Tue, 18 Mar 2003 19:01:18 +1100
----- Original Message -----
From: "Richard Sharpe"
Sent: Tuesday, March 18, 2003 4:13 AM
Subject: [Ethereal-dev] Examples of searching on DCERPC strings and others
...


> Hi,
>
> Can someone provide examples of searching on DCERPC strings etc.
>

For example   lsa.domain=="FOO" should work ?

I assume your question may be related to the change i checked in yesterday
allowing again to put FT_STRING entries in the tree pane.

If it is useful to be able to filter for DCERPC strings is unknown,
however, by putting these strings in the tree pane using a proper hf_field
has one nice sideeffect.

Everything that has a hf_field can be used to populate the edt structure.
A hf_field of type FT_STRING can populate edt with a string entry.

This sideeffect is useful since it makes it reasonably uncomplicated to pick
this value up from the edt tree.


Consider for example LSA_QueryInfoPolicy, the reply for that rpc
contains a POLICY_INFORMATION structure.
Consider information level 5 of that union.

It contains an Account name (FT_STRING) as well as a SID (also by
coinsidence a FT_STRING since yesterday).

In theory, these two strings could be placed in a hash table indexable by
SID string value.

If such an hash table is built by ethereal there would be some very useful
new features that could
easily be added by adding a few lines to the function :
packet-smb.c/dissect_nt_sid()


Of course this hypothetical feature would only be available after enabling
something like
Edit/Preferences/Protocols/SMB/Snoop SID Names
for those that want ethereal to run a bit slower than it does currently.