All Projects → secgroup → Flower

secgroup / Flower

Licence: gpl-3.0
TCP flow analyzer with sugar for A/D CTF

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
flow
126 projects

Projects that are alternatives of or similar to Flower

React Toolbox
A set of React components implementing Google's Material Design specification with the power of CSS Modules
Stars: ✭ 8,704 (+9790.91%)
Mutual labels:  material-design
Defcon 2017 Tools
DEFCON CTF 2017 Stuff of Shit by HITCON
Stars: ✭ 86 (-2.27%)
Mutual labels:  ctf
Go Sniffer
🔎Sniffing and parsing mysql,redis,http,mongodb etc protocol. 抓包截取项目中的数据库请求并解析成相应的语句。
Stars: ✭ 1,281 (+1355.68%)
Mutual labels:  sniffer
Ctf Pwn Tips
Here record some tips about pwn. Something is obsoleted and won't be updated. Sorry about that.
Stars: ✭ 1,249 (+1319.32%)
Mutual labels:  ctf
Blazorboilerplate
Blazor Boilerplate / Starter Template with MatBlazor
Stars: ✭ 1,258 (+1329.55%)
Mutual labels:  material-design
Android Vertical Stepper View
A vertical stepper implementation of the material design specification
Stars: ✭ 87 (-1.14%)
Mutual labels:  material-design
Pwnableweb
PwnableWeb is a suite of web applications for use in information security training.
Stars: ✭ 81 (-7.95%)
Mutual labels:  ctf
Flutter Mvvm Provider Demo
Stars: ✭ 89 (+1.14%)
Mutual labels:  material-design
Pentesting toolkit
🏴‍☠️ Tools for pentesting, CTFs & wargames. 🏴‍☠️
Stars: ✭ 1,268 (+1340.91%)
Mutual labels:  ctf
Ghost Matery2
这是又一个采用Material Design和响应式设计的漂亮、简洁且基于Ghost博客的新主题
Stars: ✭ 87 (-1.14%)
Mutual labels:  material-design
Project
⭐️ Antares Project Application Skeleton. This is the very first place you should start. It allows you to create a brand new awesome project in easy few steps.
Stars: ✭ 84 (-4.55%)
Mutual labels:  material-design
Angular Material Demo
Angular Material Demo Application with up-to-date dependencies.
Stars: ✭ 85 (-3.41%)
Mutual labels:  material-design
On Pwning
My solutions to some CTF challenges and a list of interesting resources about pwning stuff
Stars: ✭ 87 (-1.14%)
Mutual labels:  ctf
Materialdesign
✒6200+ Material Design Icons from the Community
Stars: ✭ 9,669 (+10887.5%)
Mutual labels:  material-design
Togglebuttons
Android toggle buttons that adhere to the Material Design documentation.
Stars: ✭ 88 (+0%)
Mutual labels:  material-design
Bluelotus xssreceiver
Stars: ✭ 1,246 (+1315.91%)
Mutual labels:  ctf
Material Remixer
A set of cross-platform libraries and protocols to allow the sharing of design values and live refinement of apps during the development process.
Stars: ✭ 1,275 (+1348.86%)
Mutual labels:  material-design
React Froala Design Blocks
React implementation for Froala Design Blocks.
Stars: ✭ 89 (+1.14%)
Mutual labels:  material-design
Ct Material Dashboard Pro
Material Dashboard Pro - Bootstrap 4 Admin
Stars: ✭ 88 (+0%)
Mutual labels:  material-design
Btle Sniffer
Passively scan for Bluetooth Low Energy devices and attempt to fingerprint them
Stars: ✭ 87 (-1.14%)
Mutual labels:  sniffer

circleci Contributors Forks Pull requests Stargazers Issues GPL License


Flower

TCP flow analyzer with sugar for Attack/Defence CTF
Report Bug · Request Feature · View Features

Table of Contents

What is it?

demo_image

Flower is an automatic packet analyzer made by Ca' Foscari University team for CyberChallenge attack/defense CTF held in Rome on the June 27th, 2018.

This tool was written in less than ten days, but it works! Every contribution is welcome!

Presentation of Flower (from min 7:30), and general introduction to CTFs at ESC2K18 in italian:

tools presentation

Features

  • Only one command needed to have it up, thanks to docker.
  • Flow list
  • Vim like navigation ( k and j to navigate the list)
  • Regex filtering with highlight
  • Highlight in red flow with flags
  • Favourite management
  • Time filter
  • Service filter
  • Colored hexdump
  • Automatic export GET/POST requests directly in python format
  • Automatic export to pwntools

Getting Started

Run with docker

Clone the repo, enter in the directory, and just run docker-compose up, and after a while you will find flower at http://localhost:3000.

For the flag regex, modify REACT_APP_FLAG_REGEX in docker-compose.yml.

The build will automatically import the test pcaps.

To enter in the service to import other pcaps, run docker exec -it flower_flower-python_1 /bin/bash (if flower is in a folder with a different name, modify the prefix after -it). The container share the /shared folder with the host. Put the pcap files inside this folder and use python services/importer.py /shared/pcap_file_here from the container to import pcaps to flower.

Manual installation

  1. Clone and install dependencies
    git clone https://github.com/secgroup/flower
    cd flower
    npm install 
    pip install -r services/requirements.txt
    
  2. (Optional) Set the following environment variables:
  • REACT_APP_FLOWER_MONGO ip of the host that will have flower db active (mongodb)
  • REACT_APP_FLOWER_SERVICES ip of the host that will have services active
  • REACT_APP_FLAG_REGEX regex that match flags.
  1. Mongodb is required on the same machine that run the services. To start it: sudo mongod --dbpath /path/to/mongodb/db --bind_ip 0.0.0.0

Run

  1. Start flower
    ./run.sh
    
  2. Start flower services
    cd services
    ./run_ws.sh
    

Once everything has been started, flower should be accessible at the address of the machine that started it on port 3000.

Pcap import

You must first install pynids from here. The pip version is outdated! Good luck with the installation. Then, you can import pcaps into mongodb by executing the provided script importer.py as follows:

cd services
./importer.py pcap_file.pcap

You can find a test_pcap in services/test_pcap. For a quick demo, run ./importer.py test_pcap/dump-2018-06-27_13:25:31.pcap

Security tips (Important!)

If you are going to use flower in a CTF, remember to set up the firewall in the most appropriate way, as the current implementation does not use other security techniques.

If you ignore this, everybody will be able to connect to your database and steal all your flags!

Credits

With the support of [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].