shenyuanv / SysCam

monitor network traffic and pulls suspected file(s) that connecting to specific server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SysCam

monitor network traffic and pulls suspected file(s) that connecting to specific server

usage

$ sudo apt-get install systemtap
$ sudo apt-get install python-pip
$ pip install requests
$ sudo stap-prep
$ sudo apt-get install linux-image-$(uname -r)-dbgsym

Test if SystemTap is working:
$ sudo stap -e 'probe netfilter.ip.local_out{ printf("%d><%s><%s><%s\n", pid(), daddr, cmdline_str(), data_hex)}'
$ ping www.google.com

Python 2.4+

$ sudo stap -e 'probe netfilter.ip.local_out{ printf("%d><%s><%s><%s\n", pid(), daddr, cmdline_str(), data_hex)}' | python syscam24.py www.exampie.com test.com

todo

sysdig support
add webserver to download suspected files

About

monitor network traffic and pulls suspected file(s) that connecting to specific server


Languages

Language:Python 100.0%