I hereby claim:
- I am keithmccammon on github.
- I am kwm (https://keybase.io/kwm) on keybase.
- I have a public key whose fingerprint is 142F DB63 ACB2 E176 484B 184E 0ACD C417 A011 DD72
To claim this, I am signing this object:
"""Dump a comma-separated list of domain,ipaddr pairings where the domain | |
includes at least one element from the list (domains). | |
Useful for dumping historical name resolution data, compiling lists of | |
endpoints that have talked to a domain, etc. | |
Depends on https://github.com/redcanaryco/cbapi2. | |
""" |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import gzip | |
import base64 | |
import StringIO | |
import sys | |
def gunzip(raw_data): | |
decoded_data_obj = StringIO.StringIO(raw_data) |
#!/usr/bin/env python | |
""" | |
Given a sensor ID and a file path, delete the file. This performs no logging | |
and returns no status. It is generally unhelpful and not a template upon which | |
you want to build. But if the file is present and not locked it will be | |
destroyed :) | |
""" | |
import argparse |
#!/usr/bin/env python | |
import argparse | |
import sys | |
from cbapi.response import CbEnterpriseResponseAPI | |
from cbapi.response.models import Process, Sensor | |
from cbapi.response.live_response_api import LiveResponseSession | |
#!/usr/bin/env python | |
""" | |
Given a sensor ID and a file path, delete the file. This performs no logging | |
and returns no status. It is generally unhelpful and not a template upon which | |
you want to build. But if the file is present and not locked it will be | |
destroyed :) | |
""" | |
import argparse |
#!/bin/sh | |
### Why? | |
# Because it's apparently too much to ask that my $3K laptop be able to | |
# broker access to my camera without letting it die. But I totally get that | |
# this is a low priority in comparison to the Touch Bar. You can live without a | |
# camera, but you can't live without emoji. | |
### | |
sudo killall coreaudiod |
{ | |
"Snake Files": { | |
"filemod": [".gdm-selinux", | |
".gdm-socket", | |
".ur-*", | |
"/Library/Scripts/queue", | |
"/Library/Scripts/installd.sh", | |
"/Library/LaunchDaemons/com.adobe.update.plist"] | |
}, | |
"Snake Network": { |
#!/usr/bin/env python | |
import json | |
import pprint | |
import requests | |
if __name__ == '__main__': | |
request_all = requests.get('https://attack.mitre.org/api.php?action=ask&format=json&query=%5B%5BCategory%3ATechnique%5D%5D%7C%3FHas%20tactic%7C%3FHas%20ID%7C%3FHas%20display%20name%7Climit%3D9999') |
#!/usr/bin/env python | |
import json | |
import pprint | |
import requests | |
if __name__ == '__main__': | |
request_all = requests.get('https://attack.mitre.org/pre-attack/api.php?action=ask&format=json&query=%5B%5BCategory%3ATechnique%5D%5D%7C%3FHas%20tactic%7C%3FHas%20ID%7C%3FHas%20display%20name%7Climit%3D9999') |