This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat eve.json | jq -r 'select(.event_type=="smb" and .smb.ntlmssp.user and .smb.ntlmssp.user!="" and .smb.status_code=="0x0" and .smb.ntlmssp.host!=.smb.ntlmssp.domain)| [ .smb.ntlmssp.domain, .smb.ntlmssp.user, .src_ip ] | @csv' | sort | uniq >users.csv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python2 | |
# | |
# sobind Trace TCP bind events | |
# For Linux, uses BCC, eBPF. Embedded C. | |
# | |
# USAGE: sobind.py [-h] [-p PID] [--show-netns] | |
# | |
# This is provided as a basic example of TCP connection & socket tracing. | |
# It could be useful in scenarios where load balancers needs to be updated | |
# dynamically as application is fully initialized. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dns": { | |
"type": "answer", | |
"id": 10451, | |
"rcode": "NOERROR", | |
"rrname": "time.windows.com", | |
"ttl": 2755, | |
"rrtype": [ | |
"A", | |
"CNAME" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@uint@ | |
uint i; | |
position p1; | |
@@ | |
i@p1 | |
@script:python@ | |
p1 << uint.p1; | |
@@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@malloced@ | |
expression x; | |
position p1; | |
identifier func =~ "(calloc|malloc)"; | |
@@ | |
x@p1 = func(...) | |
@memset depends on malloced exists@ | |
expression x; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\item policy balanced-ips alert | |
\item policy balanced-ips drop | |
\item policy connectivity-ips alert | |
\item policy connectivity-ips drop | |
\item policy max-detect-ips alert | |
\item policy max-detect-ips drop | |
\item policy security-ips alert | |
\item policy security-ips drop | |
\item ruleset community | |
\item service (dcerpc|imap|\ldots) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"index": { | |
"default": "NO_TIME_FILTER_OR_INDEX_PATTERN_NOT_MATCHED", | |
"pattern": "[logstash-]YYYY.MM.DD", | |
"warm_fields": true, | |
"interval": "day" | |
}, | |
"style": "dark", | |
"rows": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "SSH analysis", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "message:\"Invalid user\" AND sshd", | |
"alias": "Failed login", | |
"color": "#BF1B00", | |
"id": 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Netfilter Logs", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "dvc:*", | |
"alias": "Netfilter", | |
"color": "#7EB26D", | |
"id": 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Suricata EVE Dashboard", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "event_type:http", | |
"alias": "HTTP", | |
"color": "#7EB26D", | |
"id": 0, |
NewerOlder