Sign inSign up

blacktop/chopshop

By blacktop

Updated about 11 years ago

Protocol Analysis/Decoder Framework

Image
4

4.1K

blacktop/chopshop repository overview

ChopShop Dockerfile

This repository contains a Dockerfile of ChopShop for Docker's trusted build published to the public Docker Registry.

Dependencies
Image Size

Image Tags
$ docker images

REPOSITORY          TAG                 IMAGE ID           VIRTUAL SIZE
blacktop/chopshop   latest              1df35766838d       262.3 MB
Installation
  1. Install Docker.

  2. Download trusted build from public Docker Registry: docker pull blacktop/chopshop

Alternatively, build an image from Dockerfile
$ docker build -t blacktop/chopshop github.com/blacktop/docker-chopshop
Usage
$ docker run -i -t -v /path/to/folder/pcap:/pcap:rw blacktop/chopshop -f my.pcap "http | http_extractor"
Output:
{
  "request": {
    "protocol": "HTTP/1.1",
    "uri": {
      "path": "/capabilities/cybersecurity/overview/cybersecurity-blog/an-introduction-to-chopshop-network-protocol",
      "port_number": -1
    },
    "headers": {
      "Host": "www.mitre.org",
      "Connection": "Keep-Alive",
      "Accept": "*/*",
      "User-Agent": "Wget/1.15 (linux-gnu)"
    },
    "method": "GET"
  },
  "response": {
    "status": 200,
    "body": "base64data",
    "body_encoding": "base64",
    "body_hash": "737203915c5f14da7f8b9c057678adfe",
    "headers": {
      "X-Request-ID": "v-334516c-565b-1224-b459-1232345469ec",
      "X-Varnish": "5670865685 1569753878",
      "X-Drupal-Cache": "MISS",
      "X-Cache": "HIT",
      "Content-Language": "en",
      "Transfer-Encoding": "chunked",
      "Age": "2342",
      "Expires": "Sun, 19 Nov 1978 05:00:00 GMT",
      "Vary": "Cookie,Accept-Encoding",
      "X-AH-Environment": "prod",
      "Server": "nginx",
      "Last-Modified": "Mon, 11 Oct 2014 01:49:48 +0000",
      "Connection": "keep-alive",
      "Etag": "14145343481-1",
      "Link": "<http://www.mitre.org/node/14985>; rel=shortlink,<http://www.mitre.org/capabilities/cybersecurity/overview/cybersecurity-blog/an-introduction-to-chopshop-network-protocol>; rel=canonical",
      "Cache-Control": "public, max-age=3600",
      "Date": "Mon, 13 Oct 2014 02:28:50 GMT",
      "X-Cache-Hits": "4",
      "Content-Type": "text/html; charset=utf-8",
      "Via": "1.1 varnish",
      "X-Generator": "Drupal 7 (http://drupal.org)"
    }
  }
}
To Run on OSX
$ brew install caskroom/cask/brew-cask
$ brew cask install virtualbox
$ brew install docker
$ brew install docker-machine
$ docker-machine create --driver virtualbox dev
$ eval $(docker-machine env dev)

Add the following to your bash or zsh profile

alias chopshop='docker run -it --rm -v `pwd`:/pcap:rw blacktop/chopshop $@'
Usage
chopshop -f malware.pcap "(dns, icmp) | malware_detector"
Todo
  • Install/Run ChopShop
  • Add MongoDB

Tag summary

Content type

Image

Digest

sha256:5eeb4c89a

Size

97 MB

Last updated

about 11 years ago

docker pull blacktop/chopshop