This file contains 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
I just dont like the names ! You have to disable System Integrity Protection (CMD-r/csrutil disable/reboot) | |
fsck:~ $ sudo security delete-certificate -Z 1B4B396126276B6491A2686DD70243212D1F1D96 /System/Library/Keychains/SystemRootCertificates.keychain | |
fsck:~ $ sudo security delete-certificate -Z F17F6FB631DC99E3A3C87FFE1CF1811088D96033 /System/Library/Keychains/SystemRootCertificates.keychain | |
fsck:~ $ sudo security delete-certificate -Z 8C941B34EA1EA6ED9AE2BC54CF687252B4C9B561 /System/Library/Keychains/SystemRootCertificates.keychain | |
fsck:~ $ sudo security delete-certificate -Z 2E14DAEC28F0FA1E8E389A4EABEB26C00AD383C3 /System/Library/Keychains/SystemRootCertificates.keychain | |
fsck:~ $ sudo security delete-certificate -Z 9D70BB01A5A4A018112EF71C01B932C534E788A8 /System/Library/Keychains/SystemRootCertificates.keychain | |
fsck:~ $ sudo security delete-certificate -Z 6E3A55A4190C195C93843CC0DB722E313061F0B1 /System/Library/Keychains/SystemRootCertificates.keychain | |
fsck:~ $ sudo security delete-certificate -Z 786A7 |
This file contains 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/env python | |
# -*- coding: utf-8 -*- | |
''' | |
usage: | |
cat something_withIPs | python checkthreatfeed.py | |
www.c1fapp.com | |
''' | |
import sys |
This file contains 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/local/bin/nprobe -b 0 -i eth1 --json-labels -t 60 --elastic "nProbe;nprobe;http://127.0.0.1:9200/_bulk" -T "%IPV4_SRC_ADDR %L4_SRC_PORT %IPV4_DST_ADDR %L4_DST_PORT %PROTOCOL %IN_BYTES %OUT_BYTES %FIRST_SWITCHED %LAST_SWITCHED %IN_PKTS %OUT_PKTS %IP_PROTOCOL_VERSION %APPLICATION_ID %L7_PROTO_NAME %ICMP_TYPE %SRC_IP_COUNTRY %DST_IP_COUNTRY %APPL_LATENCY_MS %HTTP_URL %HTTP_RET_CODE %HTTP_REFERER %HTTP_UA %HTTP_MIME %HTTP_HOST %HTTP_FBOOK_CHAT %HTTP_SITE %HTTP_METHOD" -G 2>/tmp/log |
This file contains 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
server { | |
listen *:443; | |
ssl on; | |
ssl_certificate /etc/ssl/certs/cacert.pem; | |
ssl_certificate_key /etc/ssl/private/privkey.pem; | |
server_name nsm01; | |
fastcgi_param HTTPS on; | |
fastcgi_param HTTP_SCHEME https; |
This file contains 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
Enable file extraction (Prior to 2.4.1) | |
--------------- | |
sudo vi /mnt/data/bro/share/bro/site/local.bro | |
@load misc/extract-files | |
vi /mnt/data/bro/share/bro/policy/misc/extract-files.bro | |
global ext_map: table[string] of string = { | |
["application/x-dosexec"] = "exe", | |
["application/pdf"] = "pdf", |
This file contains 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
{ | |
"template": "nprobe*", | |
"mappings": { | |
"_default_": { | |
"_timestamp": { | |
"enabled": true, | |
"store": true | |
} | |
}, | |
"nProbe": { |
This file contains 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": "_all", | |
"pattern": "[nprobe-]YYYY.MM.DD", | |
"warm_fields": true, | |
"interval": "day" | |
}, | |
"style": "light", | |
"rows": [ | |
{ |
This file contains 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": "_all", | |
"pattern": "[nprobe-]YYYY.MM.DD", | |
"warm_fields": true, | |
"interval": "day" | |
}, | |
"style": "light", | |
"rows": [ | |
{ |
This file contains 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
{ | |
"template": "bro*", | |
"mappings": { | |
"_default_": { | |
"_timestamp": { | |
"enabled": true, | |
"store": true | |
} | |
}, | |
"ssl": { |
This file contains 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": "Broids-C1fApp Intel", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"id": 0, | |
"color": "#7EB26D", | |
"alias": "All Connections", | |
"pin": true, |
NewerOlder