Log Standards and Future TrendsDr. Anton ChuvakinSecurity Warrior Consultingwww.securitywarriorconsulting.comAugust 2010
OutlineWorld of logs todayLog chaos? Order is sorely needed!Past attempts to bring order to chaos!Why all failed?What does the future hold?Logging trends of the next few years
Log Data OverviewFrom Where?What Logs?Firewalls/intrusion prevention
Routers/switches
Intrusion detection
Servers, desktops, mainframes
Business applications
Databases
Anti-virus
VPNs
Audit logs
Transaction logs
Intrusion logs
Connection logs
System performance records
User activity logs
Various alerts and other messagesFrom Log Analysis to Log ManagementThreatprotection and discoveryIncidentresponse and forensicsRegulatory compliance and auditInternal policies and procedure complianceIT system and network troubleshootingSystem performancemanagement
Log Chaos: Login<18> Dec 17 15:45:57 10.14.93.7 ns5xp: NetScreendevice_id=ns5xp system-warning-00515: Admin User chuvakinhas logged on via Telnet from 10.14.98.55:39073 (2002-12-17 15:50:53) <57> Dec 25 00:04:32:%SEC_LOGIN-5-LOGIN_SUCCESS:LoginSuccess [user:antonc] [Source:10.4.2.11] [localport:23] at 20:55:40 UTC Fri Feb 28 2006<122> Mar  4 09:23:15 localhostsshd[27577]: Accepted password for anton from ::ffff:192.168.138.35 port 2895 ssh2<13> Fri Mar 17 14:29:38 2006 680 Security SYSTEM User Failure Audit ENTERPRISE Account Logon Logon attempt by: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0    Logon account:  ACHUVAKIN   
Log Chaos Everywhere!No standard formatNo standard schema No standard meaningNo taxonomyNo standard transportNo shared knowledge on what to log and howNo logging guidance for developersNo standard API / libraries for log production
Result?%PIX|ASA-3-713185 Error: Username too long - connection abortedAug 11 09:11:19 xx null pif ? exit! 0 ERROR: transport error 202: send failed: Successuserenv[error] 1030 RCI-CORP\wsupx No description available
So, what can we expect?
If We Don’t Stop It …MORE logs (learn what’s a “petabyte”!)Distributed logging -> WIDELY distributed logging across applications, systems, etcMore REALLY bad logs from custom applicationsWe work harder – and still MISS important things in logs (see VzBIR 2010!)BIG log DATA comes and kills us! 
Cloud to the Rescue?Question:  do you think “cloud” will make logging better due to APIs, XML, structured data, etc?Answer:  "If your security and trust models suck now, you'll be pleasantly surprised by the lack of change when you move to cloud“Chris Hoff @ Cisco
Any solutions, Anton?
Standards: The ONLY Way Out!FIRST: make it easier to know what logs tell us!Easier to report on logs and explain the reportsDeeper insight into future problems Easier system interoperabilityCommon logging practicesEasier to explain what is in the logs to management and non-IT people
What Becomes Possible?All those super-smart people at SIEM  vendors can stop parsing and start analyzingWhat the events mean? Consequences? Actions? Maybe even prediction?Different systems can mitigate consequences of each others’ failuresWe can finally tell the developers “what to log?” and have them “get it!”
Various Logging Standards by TypeLog formatExample: Syslog, a non-standard standard Example: IDMEF, a failed standard Log contentsNo standard to speak of: logs = trash can because application developers dump what they want there (and how they want!)Log transportExample: Syslog (TCP/UDP port 514)Logging practices / recommendationsExample: NIST 800-92 (for security only)

Log Standards & Future Trends by Dr. Anton Chuvakin

  • 1.
    Log Standards andFuture TrendsDr. Anton ChuvakinSecurity Warrior Consultingwww.securitywarriorconsulting.comAugust 2010
  • 2.
    OutlineWorld of logstodayLog chaos? Order is sorely needed!Past attempts to bring order to chaos!Why all failed?What does the future hold?Logging trends of the next few years
  • 3.
    Log Data OverviewFromWhere?What Logs?Firewalls/intrusion prevention
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
    Various alerts andother messagesFrom Log Analysis to Log ManagementThreatprotection and discoveryIncidentresponse and forensicsRegulatory compliance and auditInternal policies and procedure complianceIT system and network troubleshootingSystem performancemanagement
  • 18.
    Log Chaos: Login<18>Dec 17 15:45:57 10.14.93.7 ns5xp: NetScreendevice_id=ns5xp system-warning-00515: Admin User chuvakinhas logged on via Telnet from 10.14.98.55:39073 (2002-12-17 15:50:53) <57> Dec 25 00:04:32:%SEC_LOGIN-5-LOGIN_SUCCESS:LoginSuccess [user:antonc] [Source:10.4.2.11] [localport:23] at 20:55:40 UTC Fri Feb 28 2006<122> Mar 4 09:23:15 localhostsshd[27577]: Accepted password for anton from ::ffff:192.168.138.35 port 2895 ssh2<13> Fri Mar 17 14:29:38 2006 680 Security SYSTEM User Failure Audit ENTERPRISE Account Logon Logon attempt by: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0    Logon account:  ACHUVAKIN   
  • 19.
    Log Chaos Everywhere!Nostandard formatNo standard schema No standard meaningNo taxonomyNo standard transportNo shared knowledge on what to log and howNo logging guidance for developersNo standard API / libraries for log production
  • 20.
    Result?%PIX|ASA-3-713185 Error: Usernametoo long - connection abortedAug 11 09:11:19 xx null pif ? exit! 0 ERROR: transport error 202: send failed: Successuserenv[error] 1030 RCI-CORP\wsupx No description available
  • 21.
    So, what canwe expect?
  • 22.
    If We Don’tStop It …MORE logs (learn what’s a “petabyte”!)Distributed logging -> WIDELY distributed logging across applications, systems, etcMore REALLY bad logs from custom applicationsWe work harder – and still MISS important things in logs (see VzBIR 2010!)BIG log DATA comes and kills us! 
  • 23.
    Cloud to theRescue?Question: do you think “cloud” will make logging better due to APIs, XML, structured data, etc?Answer:  "If your security and trust models suck now, you'll be pleasantly surprised by the lack of change when you move to cloud“Chris Hoff @ Cisco
  • 24.
  • 25.
    Standards: The ONLYWay Out!FIRST: make it easier to know what logs tell us!Easier to report on logs and explain the reportsDeeper insight into future problems Easier system interoperabilityCommon logging practicesEasier to explain what is in the logs to management and non-IT people
  • 26.
    What Becomes Possible?Allthose super-smart people at SIEM vendors can stop parsing and start analyzingWhat the events mean? Consequences? Actions? Maybe even prediction?Different systems can mitigate consequences of each others’ failuresWe can finally tell the developers “what to log?” and have them “get it!”
  • 27.
    Various Logging Standardsby TypeLog formatExample: Syslog, a non-standard standard Example: IDMEF, a failed standard Log contentsNo standard to speak of: logs = trash can because application developers dump what they want there (and how they want!)Log transportExample: Syslog (TCP/UDP port 514)Logging practices / recommendationsExample: NIST 800-92 (for security only)

Editor's Notes

  • #10 “DATA” is not really DATA – more like crap. BIG CRAP!
  • #11 Applies to logs perfectly!Cloud might enable better log analysis though
  • #24 http://chuvakin.blogspot.com/