Upgrade to Pro — share decks privately, control downloads, hide ads and more …

"Large enterprise SIEM: get ready for oversize"...

OWASP Moscow
December 04, 2017

"Large enterprise SIEM: get ready for oversize", Svetlana (Mona) Arkhipova

OWASP Russia Meetup #2

OWASP Moscow

December 04, 2017
Tweet

More Decks by OWASP Moscow

Other Decks in Technology

Transcript

  1. What are we talking about? • Log collecting != Security

    Information and Event Management • Systems monitoring is not enough • Logs as a ‘Big Data’ •
  2. WTF is qRadar? Hello IBM! • Log management • Network

    activity/anomaly detection • SIEM • Nice API
  3. WTF is qRadar? Administrator’s nightmare: • Frontend: Java+Tomcat • Backend:

    Java daemons • DB: Ariel for collected+ indexed data, PostgreSQL for ‘static’ data • Painful performance metrics and load balancing
  4. To log or not to log Guides/best practices • https://www.owasp.org/index.php/Logging_Cheat_

    Sheet • http://www.syslog.org/logged/logging-and-syslog- best-practices/ • http://sniperforensicstoolkit.squarespace.com/stora ge/logging/Windows%20Logging%20Cheat%20Shee t%20v1.1.pdf • https://zeltser.com/media/docs/security-incident- log-review-checklist.pdf • …
  5. To log or not to log Huston, we got a

    problem: • Standard syslog message size (RFC 5424) • Windows security logs permissions on W7/2008+ • Database audit – what to log? • Log files on FS (IIS and so on) • In-house developed apps
  6. To log or not to log Standard sources: Windows •

    Event collectors vs. agents • Extended system audit • Non-English logs:
  7. To log or not to log Standard sources: *nix, network

    devices • Syslog as a standard • TCP syslog+network issues=pain (google: “TCP is not reliable”) • UDP syslog message size • Auditd – what to log?
  8. To log or not to log Standard sources: Databases •

    Is login history enough? • Syslog vs DB connection
  9. To log or not to log Non-Standard sources: • Exotic

    network devices • In-house developed apps • 1C (OMG…) and other specific apps • Integration with other security systems (NGFW, DBFW, AV, Security scanners…)
  10. Normalizing/indexing Event at a glance • Standard properties: timestamp, src

    IP, dst IP, log source identifier and so on • Custom event properties – KISS principle • No search – no property. Indexing • Standard properties – index, index, index! • Custom event properties indexing: with great power comes great responsibility… • BTW, watch your index size.
  11. Over(sizing) Current Qiwi SIEM metrics: • 1800 log sources •

    10 000 - 24 000 RAW events per second (EPS) • ~11 600 network flows per second (FPS), ~700 000 flows per minute(FPM) SIEM system: 39 virtual servers, 2 hardware servers with Napatech 2x10G cards, 1 archive server
  12. Over(sizing) Expectations (sizing) Reality vCPU 140 160 vRAM 272 Gb

    521 Gb vHDD 15 TB 61 TB Once upon a time in a far far galaxy we decided to build our own SIEM…
  13. Online/offline storage Daily stats: • 67-145 Gb raw event logs

    per day • 37-53 Gb network communication events per day • Online storage – fast access (realtime + some previoius data) • Offline – archive storage
  14. Internal security scanners “Normal paranormal” activity inside and outside. •

    Butthurt :( • Log or drop events? • Custom rules set for nodes • Keep an eye on credentials! • Balancers NAT/SNAThttps://f5.com/resources/white- papers/load-balancing-101-nuts-and-bolts