Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
# 0B E5
# 4D E2
quack = b""
with open('newflag', 'rb') as f:
while True:
oldpos = f.tell()
byte = f.read(1)
newpos = f.tell()
@sgviking
sgviking / NotPetya_Notes.md
Last active July 11, 2017 12:17
NotPetya: Ransomware Or a Cyber Attack in Disguise

NotPetya: Ransomware Or a Cyber Attack in Disguise Panel

Talking notes from recent BrightTALK panel I was invited to participate in.

Aftermath/Lessons learned

NotPetya took advantage of weakness in security architecture. The type of weaknesses that security professionals know about but often are not empowered to change or are simply too busy to change. Lesley Carhart wrote a great blog article "Why NotPetya Kept Me Awake (& You Should Worry Too)”

From that article:

#!/usr/bin/env python3
import csv
import sys
import os
import argparse
def csv_dictionary(filename):
clusters = []
#!/usr/bin/env python3
import argparse
import configparser
import json
import subprocess
import sys
import os
import requests
#!/usr/bin/env python3
import argparse
import json
import requests
import os
VERSION = '1.1.0'
API_KEY = ''