Skip to content

Instantly share code, notes, and snippets.

View jasonish's full-sized avatar

Jason Ish jasonish

View GitHub Profile
{
"dnp3": {
"response": {
"iin": {
"indicators": []
},
"application": {
"complete": false,
"objects": [
{
@jasonish
jasonish / -
Created December 21, 2015 00:49
diff --git a/staging/config/hooks/chroot-inside-Debian-Live.chroot b/staging/config/hooks/chroot-inside-Debian-Live.chroot
index f0df2d3..1214591 100644
--- a/staging/config/hooks/chroot-inside-Debian-Live.chroot
+++ b/staging/config/hooks/chroot-inside-Debian-Live.chroot
@@ -20,8 +20,8 @@ echo " alias ll='ls $LS_OPTIONS -l'" >> /root/.bashrc
### START Scirius ###
# NOTE python-pip is already installed in the build script
-#pip install django==1.6.6 django-tables2 South GitPython pyinotify flup
-pip install django django-tables2 South GitPython pyinotify flup
@jasonish
jasonish / -
Created January 29, 2016 02:21
%YAML 1.1
---
# Suricata configuration file. In addition to the comments describing all
# options in this file, full documentation can be found at:
# https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Suricatayaml
# Number of packets preallocated per thread. The default is 1024. A higher number
# will make sure each CPU will be more easily kept busy, but may negatively
{
"timestamp": "2015-07-14T11:45:56.320059-0600",
"flow_id": 106790066891968,
"pcap_cnt": 11,
"event_type": "dnp3",
"src_ip": "127.0.0.1",
"src_port": 59602,
"dest_ip": "127.0.0.1",
"dest_port": 20000,
"proto": "TCP",
#! /usr/bin/env python
from __future__ import print_function
import sys
import pprint
import argparse
import json
import yaml
@jasonish
jasonish / evebox.yaml
Created April 21, 2016 15:07
evebox.yaml
event-services:
scirius:
url: http://....
moloch:
url: http://....
# fancy-fpc-system:
# url: http://...
@jasonish
jasonish / evebox.yaml
Created April 21, 2016 22:45
Example evebox.yaml
# Event services: links that will be provided on events to link to additonal
# services.
event-services:
# Custom service to link the rule in Scirius.
- type: custom
enabled: true
name: Scirius
# Only make available for alert types.
c3.generate({
bindto: "#test-c3",
data: {
x: 'date',
columns: [
["date"].concat(this.eventsOverTime.map((x:any) => {
return x.date;
})),
["Events"].concat(this.eventsOverTime.map((x:any) => {
return x.value;
@jasonish
jasonish / evebox-reports.md
Last active July 25, 2016 19:53
EveBox Reports

EveBox EveBox

{
"_index": "logstash-2016.08.15",
"_type": "log",
"_id": "AVaPvH6ai0XQWusMHN2I",
"_score": null,
"_source": {
"timestamp": "2016-08-15T13:45:04.231416-0600",
"flow_id": 405580725,
"in_iface": "eth1",
"event_type": "alert",