data science
play

DATA SCIENCE THE DFIR OUT OF THIS! John Lukach blog.4n6ir.com - PowerPoint PPT Presentation

IM GONNA HAVE TO DATA SCIENCE THE DFIR OUT OF THIS! John Lukach blog.4n6ir.com @jblukach AGENDA DATA SOURCE CLEAN DATA ADD CONTEXT VISUALIZATION SYSMON System Monitor is a Windows system service and device driver that,


  1. I’M GONNA HAVE TO DATA SCIENCE THE DFIR OUT OF THIS! John Lukach blog.4n6ir.com @jblukach

  2. AGENDA • DATA SOURCE • CLEAN DATA • ADD CONTEXT • VISUALIZATION

  3. SYSMON System Monitor is a Windows system service and device driver that, once installed on a system, remains resident across system reboots to monitor and log system activity to the Windows event log. It provides detailed information about process creations, network connections, and changes to file creation time. https://technet.microsoft.com/en-us/sysinternals/sysmon

  4. SYSMON System Monitor does not provide collection or analysis of the events it generates, nor does it attempt to protect or hide itself from attackers. Sysmon64.exe -accepteula -i -h md5 -n -l -r

  5. SYSMON-DFIR Michael Hagg has compiled a great list of Sysmon resources! https://github.com/MHaggis/sysmon-dfir

  6. EVENT IDS

  7. PROCESS CREATION

  8. NETWORK CONNECTION

  9. NO BLIND SPOTS A Transparent Proxy has the ability to intercept connections between clients and servers without being visible using Web Cache Communication Protocol (WCCPv2).

  10. PYTHON-EVTX Willi Ballenthin released a pure Python parser for Windows Event Log files providing programmatic access to the File and Chunk headers, record templates and event entries. pip3 install python-evtx https://github.com/williballenthin/python-evtx

  11. LOG VOLUME

  12. SEARCHABLE

  13. EXPLORE

  14. PROCESS EXPLORER

  15. PROCESS-FOREST Willi Ballenthin released a Python script that builds historical process hierarchies from process auditing and Symon event logs. https://github.com/williballenthin/process-forest

  16. PYRAMID OF PAIN http://detect-respond.blogspot.com/2013/03/the-pyramid-of-pain.html

  17. SYSMON-FOREST.PY https://github.com/jblukach/sysmon-forest

  18. HELP

  19. CLEAN DATA --sqlite is the path to the SQLite database location --evtx is the path to the Sysmon Event Log location --insert is the flag to add events to the database

  20. STATISTICS --stats on the number of processes, connections and etc.

  21. ADD CONTEXT --dns is the path to a text file with a list of domains --hash is the path to a text file with a list of hashes --ip is the path to a text file with a list of ip addresses --meta is the path to a text file with a list of meta data

  22. THIRD PARTY --maxmind is the path to the GeoLite2 City database pip3 install geoip2 http://dev.maxmind.com/geoip/geoip2/geolite2/ --rfc1918 flags private non-routable IP addresses pip3 install IPy

  23. VISUALIZATION --tree builds historical structure of processes, connections & etc.

  24. COLORS --bad --blah --evil --good --known --mark --unknown

  25. DETAILS --detail display specifics on a process by unique identifier

  26. DEMO

  27. CLEAN DATA python3 sysmon-forest.py --sqlite Cerber.SQLite --evtx Cerber.evtx --insert

  28. CLEAN DATA

  29. STATISTICS python3 sysmon-forest.py --sqlite Cerber.SQLite --stats

  30. STATISTICS

  31. STATISTICS

  32. STATISTICS

  33. RFC1918 python3 sysmon-forest.py --sqlite Cerber.SQLite --rfc1918 --blah

  34. RFC1918

  35. CONTEXT

  36. CONTEXT python3 sysmon-forest.py --sqlite Cerber.SQLite --meta input.txt --bad

  37. CONTEXT

  38. VISUALIZATION python3 sysmon-forest.py --sqlite Cerber.SQLite --tree

  39. VISUALIZATION

  40. DETAIL python3 sysmon-forest.py --sqlite Cerber.SQLite --detail {596b7bab-706f- 586a-0000-00108cba1c00}

  41. DETAIL

  42. BONUS

  43. CERBER

  44. CERBER

  45. CERBER

Recommend


More recommend