SIEM Design

Calculating (EPD or Storage Requirements)
- Average per day
- Peak/burst Max
- 500bytes per event (raw, uncompressed)
Use Cases / Log Sources
https://virtualizationandstorage.wordpress.com/2019/02/14/sans-critical-log-review-checklist-for-security-incidents/
SIEM Architecture
- Dashboard
- Alerting and Tickets
- Log Database
- Correlation
- Threat Feed
- Machine Learning
SIEM Platform
- https://www.elastic.co/solutions/security-analytics
- http://metron.apache.org/documentation/
- https://github.com/TravisFSmith/SweetSecurity
- https://qbox.io/blog/consuming-threat-intel-with-elasticsearch
- https://wazuh.com/product/
- https://www.open-scap.org/security-policies/
- Snort
- ELK
Threat Intelligence
- https://stixproject.github.io/
- IOC
- Windows Process
- DNS
- File Hash
- IP
- https://github.com/mlsecproject/combine
- http://www.senki.org/operators-security-toolkit/open-source-threat-intelligence-feeds/
- https://github.com/hslatman/awesome-threat-intelligence
- https://github.com/PaloAltoNetworks/minemeld/wiki
Devices to Monitor
Networking Devices
Security Devices
Server Operating Systems
Security Applications
Database
Cloud Platforms
Thre
User Cases
- 1- Detecting new VPN connectivity from everywhere but not from china. (mostly done from the events received by the firewalls)
2- NMAP Scan (this is from flows. by default QRadar identify around 400 applications but NMAP is not one of them)
3- Ping Sweep
4- XSS Attacks
5- SQL injection
6- If a new port has opened on the firewall for in/out traffic
7- If FTP site has been accessed from unknown address
8- If tunneled data is detected on the network
9- If RAR files are being continuously uploaded in some fixed partition size format
10-If online messengers are used to chat and transfer files
11-If malicious traffic is seen hitting critical servers of the infra
12-detecting bit torrent or P2P traffic
13-if the firewall has critical policy change (now this differ from one brand to another as you might not find the same naming of the event in all brands the same)
14-If x number of changes have been made on a firewall over x period of time by x user
15-If a new user/admin has been created on critical server or network device or firewall
16-If machine’s time has changed
17-If a remote session was taken to a critical server for more than an hour
18-Network resources have been accessed in non working hours
19-If on leave/ex-employee user credentials have been used in anyway
20-If credentials are sent in clear text
21-Any config change
22-Agent has been tampered
23-If an infected machine receives an SSH log in attempt
24-What recent servers were attacked with an exploit against a recent scan of the same server
25-OS fingerprint event has occurred by an attacker
26-Auditing has been removed, changed or altered
27-Access to any device from other than the admin or authorized users
28-Similar account login from different geographical places
29-Multiple login failures from the same username ip address to the same destination and followed by success
30-taking sessions ssh, telnet etc on non standard port
31-success login to disabled accounts
32-Restart/Shutdown critical servers
33-Hostile email attachments
34-Attacks on internet gateways
35-Track on each new virus detected on the environment
Generic OS
- Privileged user login
- Failed login by privileged user
- Excessive failed logins for a single host
- Excessive failed logins for a user across multiple hosts
- Deactivated/terminated user login
- Same user logged into multiple machines
- High rate of configuration changes
- High rate of errors by a single host
- Logging service stopped
- Critical service stopped
- Important account lockout
- Abnormal OS restart
- Modification of networking configuration
Linux Specific
- User added to ‘root’ or ‘wheel’ group
- ‘su’ or ‘sudo’ to root account
- Syslog stop/start/restart
- Auditd stop/start/restart
- Excessive failures to “SU”
Windows Specific
- High rate of logins by service account
- Privilege escalation by unauthorized user
- Virus detected on Windows Server
- Important account lockout
- Audit log cleared
- Malware not removed from a critical asset
- Detecting audit policy was altered
- Authentication: ‘logined’, ‘login failed’, ‘locked’, ‘unlocked’
- The ‘logined’ events provide the ‘from’ IP address, which could be used to check for user credential compromise.
- Examples: a user logged in from unexpected site(s) or geographic location, or a user logged in from multiple locations within a specified period of time.
- The ‘logined’ events provide the ‘from’ IP address, which could be used to check for user credential compromise.
- The ‘login failed’ events provide the # of failed attempts, which can be useful for correlation(s)/escalation(s) to alert when a user if approaching (or has surpassed) a tolerated threshold.
- The ‘locked’ and ‘unlocked’ events could potentially be tracked to see how long it takes a user to be unlocked (useful for improving business operations/efficiency as well as validating unlock was done by appropriate, authorized, person)
- Modification: updated user, update configuration (tends to be group attribute updates)
- These logs could potentially be checked against a list of permissions, to ensure that a user hasn’t received unexpected higher level privileges. Can also be reviewed based on time to ensure maintenance windows for change are adhered to.
- Operation:
The ‘Added User’ and ‘Delete User’ events are the most interesting from this section and should be matched to active (or suspended/removed) accounts.
Log Source Protocols
- Syslog
- JDBC
- JDBC – SiteProtector
- Sophos Enterprise Console – JDBC
- Juniper Networks NSM
- OPSEC/LEA
- SDEE
- SNMPv1
- SNMPv2
- SNMPv3
- Sourcefire Defense Center Estreamer
- Log File
- Microsoft Security Event Log
- Microsoft Security Event Log Custom
- Microsoft Exchange
- Microsoft DHCP
- Microsoft IIS
- EMC VMWare
- SMB Tail
- Oracle Database Listener
- Cisco Network Security Event Logging
- PCAP Syslog Combination Protocol
- Forwarded Protocol
- TLS Syslog Protocol
- Juniper Security Binary Log Collector Protocol
- UDP Multiline Syslog Protocol
- IBM Tivoli Endpoint Manager SOAP Protocol, REST API
Reference
- https://eromang.zataz.com/2011/04/12/why-and-howto-calculate-your-events-per-second/
- https://www.sans.org/reading-room/whitepapers/analyst/benchmarking-security-information-event-management-siem-34755
- https://thwack.solarwinds.com/community/solarwinds-community/whiteboard/blog/2012/06/18/splunk-has-it-wrong-the-flaw-of-volume-based-licensing
- http://content.solarwinds.com/creative/pdf/Whitepapers/estimating_log_generation_white_paper.pdf?CMPSource=THW&CMP=ORGANIC
- http://splunk-sizing.appspot.com/
- https://splunk-sizing.appspot.com/
- https://docs.google.com/spreadsheets/d/1P8H9FBPfvxkTUMRL5Un2AeWGiK5y4P7pzyBVGC-iBT4/view#gid=35338216
- 200 bytes = Events Per Second
- 200 Bytes Per Second to Gigabytes Per Day = 0.0173
- http://www-01.ibm.com/support/docview.wss?uid=swg21685322
- ftp://ftp.software.ibm.com/software/security/products/qradar/documents/71MR1/LogMgr/LogSources-71MR1.pdf
- estimating_log_generation_white_paper
- https://www.sans.org/reading-room/whitepapers/analyst/benchmarking-security-information-event-management-siem-34755