Page 1 of 1

.pcap Scrubbing

Posted: Sat Feb 21, 2015 2:37 am
by FalsNameMcAlias
Hi everyone, I have a problem that I think is relevant to quite a few people that should be discussed here. Mainly, the fact that I'm more than happy to provide .pcap files to help out cryptostorm, but I also would rather not give away any personal information inside said pcap files. I'm sure many other people are having this issue, but I think there is a solution that could help out all of us. Is it possible to make a script that will scub all personal information such as irrelevant IP addresses and such out of a pcap file? I feel that this would help people like me who want to help cryptostorm out as much as they can, but don't want to give away any potentially damning info inside these little packets. Cheers!

Re: .pcap Scrubbing

Posted: Sat Feb 21, 2015 8:03 pm
by parityboy

Many thanks for bringing this up, it galvanised me into exercising my StartPage-fu. :P Check this out. :)

It happens pretty often that I’ll come across an interesting PCAP file that I want to share with others. Unfortunately, divulging these packet captures can give away certain sensitive information such as an organizations internal IP range, IP addresses of sensitive company assets, MAC addresses of critical hardware that could identify the product vendors, and more.

Fortunately, there is a tool which helps alleviate some of these issues. The tool is called Tcprewrite and is actually a part of the Tcpreplay suite. Tcpreplay is used to send packets from a PCAP back across the wire, but the suite actually contains a few other useful tools.Tcprewrite itself can be used to add and modify packet fields within PCAP files.

It looks like a Linux/UNIX tool. I'm not sure if there's a Windows version/equivalent.

Re migrating data to

Posted: Mon Mar 02, 2015 11:41 am
by Pattern_Juggled
Quick note: let's move as much of this as we can out to the public cleanVPN subforum or, better yet, github repository.

I'm badly, badly behind on all sorts of administrative tasks, and thus a bottleneck in many areas. If you've got a github account, please let me know and I'll read you in w/ commit privileges in the github repo so we can work on this as a team. I can't carry this solo, nor even with the rest of the cstorm team... it's too big, and still growing.


~ pj

Re: .pcap Scrubbing

Posted: Mon Mar 02, 2015 11:03 pm
by parityboy

Done. :D