+ All Categories
Home > Internet > Modern Incident Response

Modern Incident Response

Date post: 21-Jan-2018
Category:
Upload: sba-research
View: 341 times
Download: 0 times
Share this document with a friend
50
1
Transcript
Page 1: Modern Incident Response

1

Page 2: Modern Incident Response

Modern IncidentResponse

IT-Security Stammtisch, 10.5.2017

2

Page 3: Modern Incident Response

$whoamiMartin Schmiedecker, aka researcher at SBA Researchdigital forensics!online privacy \& network securityI love memes!

@Fr333k

3

Page 4: Modern Incident Response

Why u here?

4

Page 5: Modern Incident Response

Not about loggingeasy to doreally good to have itSplunk ($), Microsoft Events, ...Graylog, ELK stack, ...

5

Page 6: Modern Incident Response

AgendaPCMobileNetwork2+ systems

6

Page 7: Modern Incident Response

IntrusionsCompanies fail to detect intrusions:

SonyHacking TeamRSAGoogle, Operation Aurora(Stuxnet)

7

Page 8: Modern Incident Response

Incident response?react to security-related eventscontainment, preventionforensics

8

Page 9: Modern Incident Response

9

Page 10: Modern Incident Response

Howtoget RAM!inspect system?install network tab?get hard drive image

10

Page 11: Modern Incident Response

11

Page 12: Modern Incident Response

12

Page 13: Modern Incident Response

Why RAM?all the good stu� is in thereprocesses, network connections, ...non-reproducible!volatility is great!

13

Page 14: Modern Incident Response

How?Windows: FTK Imager, WinPmem, Deft Linux, ...Linux: LiMEMac OS: OSXPmem

all above: Rekall (GRR)

Android: LiME (adb)

iOS: WTF?

14

Page 15: Modern Incident Response

15

Page 16: Modern Incident Response

Reality kicks in!1TB of RAM?entire networks? VLANs?10G network links?terabytes of storage?

16

Page 17: Modern Incident Response

17

Page 18: Modern Incident Response

Inspect the machineonce you have RAMrun e.g. Sysinternals Toolscapture tra�c...

18

Page 19: Modern Incident Response

File systemscommercial worldtimelining is key!Supertimelines�walk, part of Sleuth Kit

19

Page 20: Modern Incident Response

bulk_extractortool(-set) by Simson Gar�nkel et al.highly parallelized, very powerful!open-sourcecan �nd otherwise overlooked data

20

Page 21: Modern Incident Response

Used techniquesbulk analysisuses no �le system metadatasimilar to �le carvingfor processing: pages of size N

21

Page 22: Modern Incident Response

How?analyzes data using ''scanners``scanners run sequentiallyextracts ''features``, stores in �lesrecursive scanners: do, rinse, repeate

22

Page 23: Modern Incident Response

ScannersAES keysemail adressescreditcard informationGPS, wordlist, and many moreimplemented in "basic" scanners

23

Page 24: Modern Incident Response

Recursive!most notably: compression \& encodingse.g. .docx, .pptx are zipped XMLalso PDF, base64, ...optimistic decoding usedthen: feed back in bu�er to be analyzed

24

Page 25: Modern Incident Response

25

Page 26: Modern Incident Response

Did I mention?very powerful!!1used e.g. for extracting tcp�owsreally made for bulk analysiswill pin ALL CPU cores availablethe more, the merrier

26

Page 27: Modern Incident Response

networkhard to hide (IDS somewhat work?)plenty of plaintextacquisition is often easyplenty of tools

27

Page 28: Modern Incident Response

28

Page 29: Modern Incident Response

29

Page 30: Modern Incident Response

30

Page 31: Modern Incident Response

Challenges:10G+ networks?tap location?mirror/monitoring port available?�bre tapping?production networks?cooperation is key!

31

Page 32: Modern Incident Response

32

Page 33: Modern Incident Response

33

Page 34: Modern Incident Response

10Gstenographer, by Googlewrites 10G network packets to discno stream reassemblypacket sampling aka. few reads

34

Page 35: Modern Incident Response

MobileUFED Physical AnalyzerKatana LanternOxygenXRYNuixBlackbag Tech

35

Page 36: Modern Incident Response

Agent-based solutionsGRR Rapid ResponseosqueryMozilla Investigator (MIG)slightly di�erent regarding capabilities, usage, ...

36

Page 37: Modern Incident Response

GRRby Googlespeci�cally built for incident responsesupports Windows, Mac, Linuxopen source since 2011written in Pythonuses lightweight, local agents

37

Page 38: Modern Incident Response

GRR deploymentmost logic is server-sideserver generates executables with con�gclient simply runs it, doneeasy with Puppet or otherso�ine clients run tasks asap when online

38

Page 39: Modern Incident Response

GRR prosweb GUIscales very wellallegedly large setups with 100,000+ client machinescon�guration \& roll-out easylong-term supported project

39

Page 40: Modern Incident Response

GRR consnot strictly user-friendly (yet)initial setup of server can be tediousprivacy \& legal implications?!

40

Page 41: Modern Incident Response

GRR RAMremote acquisition of RAMuse volatility on live RAM= really, really cool!

41

Page 42: Modern Incident Response

GRR �owswork unit in GRR, asynchronousused for client data acquisitioncan use e.g. OS API, or Sleuth Kit for �le accesswritten in Python, stored on serverbaselining for historgrams

42

Page 43: Modern Incident Response

GRR huntingrun �ows on entire �eetalso on o�ine machines, once backor any subset e.g., all machines running Windowsscaleable!clients check for new �ows every 10 mins

43

Page 44: Modern Incident Response

GRR performanceclient will kill itself if too resource-hungryheart beatmemory limit (500mb)cpu limit (3 minutes)

44

Page 45: Modern Incident Response

osqueryby Facebookbuilt for monitoring systems \& detect intrusionsSQL-like query languagesupports Windows, Linux, OS X, FreeBSDopen source since 2014

45

Page 46: Modern Incident Response

osquery can watchrunning processes�lesystem changeslog aggregationscan for YARA or IOCall in con�gurable intervals e.g., every 10 seconds

46

Page 47: Modern Incident Response

MIGby Mozillasupports Windows, OS X, Linuxwritten in Goopen-source since 2013

47

Page 48: Modern Incident Response

Do you do Incident Response?

48

Page 49: Modern Incident Response

Thx! Questions?

49

Page 50: Modern Incident Response

Linksthisweekin4n6peekatorrentICDF2C, CfP 15th of May

50


Recommended