Linux Firewalls: Attack Detection and Response with iptables, psad, and fwsnort (Paperback)

Michael Rash

  • 出版商: No Starch Press
  • 出版日期: 2007-09-01
  • 定價: $1,650
  • 售價: 6.0$990
  • 語言: 英文
  • 頁數: 336
  • 裝訂: Paperback
  • ISBN: 1593271417
  • ISBN-13: 9781593271411
  • 相關分類: Linux
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

Description

System administrators need to stay ahead of new security vulnerabilities that leave their networks exposed every day. A firewall and an intrusion detection systems (IDS) are two important weapons in that fight, enabling you to proactively deny access and monitor network traffic for signs of an attack.

Linux Firewalls discusses the technical details of the iptables firewall and the Netfilter framework that are built into the Linux kernel, and it explains how they provide strong filtering, Network Address Translation (NAT), state tracking, and application layer inspection capabilities that rival many commercial tools. You'll learn how to deploy iptables as an IDS with psad and fwsnort and how to build a strong, passive authentication layer around iptables with fwknop.

Concrete examples illustrate concepts such as firewall log analysis and policies, passive network authentication and authorization, exploit packet traces, Snort ruleset emulation, and more with coverage of these topics:

  • Passive network authentication and OS fingerprinting
  • iptables log analysis and policies
  • Application layer attack detection with the iptables string match extension
  • Building an iptables ruleset that emulates a Snort ruleset
  • Port knocking vs. Single Packet Authorization (SPA)
  • Tools for visualizing iptables logs

Perl and C code snippets offer practical examples that will help you to maximize your deployment of Linux firewalls. If you're responsible for keeping a network secure, you'll find Linux Firewalls invaluable in your attempt to understand attacks and use iptables—along with psad and fwsnort—to detect and even prevent compromises.

Table of Contents

Foreword by Richard Bejtlich
Introduction
Chapter 1: Care and Feeding of iptables
Chapter 2: Network Layer Attacks and Defense
Chapter 3: Transport Layer Attacks and Defense
Chapter 4: Application Layer Attacks and Defense
Chapter 5: Introducing psad: The Port Scan Attack Detector
Chapter 6: psad Operations: Detecting Suspicious Traffic
Chapter 7: Advanced psad Topics: From Signature Matching to OS Fingerprinting
Chapter 8: Active Response with psad
Chapter 9: Translating Snort Rules into iptables Rules
Chapter 10: Deploying Fwsnort
Chapter 11: Combining psad and Fwsnort
Chapter 12: Port-Knocking vs. Single Packet Authorization
Chapter 13: Introducing fwknop
Chapter 14: Visualizing iptables Logs
Appendix A: Attack Spoofing
Appendix B: A Complete fwsnort Script
 

商品描述(中文翻譯)

描述

系統管理員需要時刻關注新的安全漏洞,以免每天都有可能使他們的網絡暴露在風險之中。防火牆和入侵檢測系統(IDS)是在這場戰鬥中非常重要的兩個武器,它們使您能夠主動拒絕訪問並監控網絡流量以尋找攻擊的跡象。

《Linux防火牆》討論了iptables防火牆和內建於Linux內核中的Netfilter框架的技術細節,並解釋了它們提供的強大過濾、網絡地址轉換(NAT)、狀態跟踪和應用層檢查功能,這些功能可以媲美許多商業工具。您將學習如何使用psad和fwsnort將iptables部署為IDS,以及如何使用fwknop在iptables周圍建立一個強大的被動身份驗證層。

具體的示例說明了防火牆日誌分析和策略、被動網絡身份驗證和授權、攻擊封包跟踪、Snort規則集仿真等概念,並涵蓋了以下主題:

- 被動網絡身份驗證和操作系統指紋識別
- iptables日誌分析和策略
- 使用iptables字符串匹配擴展進行應用層攻擊檢測
- 構建模擬Snort規則集的iptables規則集
- 端口敲門與單個封包授權(SPA)
- 可視化iptables日誌的工具

Perl和C代碼片段提供了實用的示例,將幫助您最大程度地發揮Linux防火牆的部署。如果您負責網絡安全,您會發現《Linux防火牆》對於理解攻擊並使用iptables(以及psad和fwsnort)來檢測甚至預防威脅非常有價值。

目錄

- 前言:Richard Bejtlich
- 引言
- 第1章:iptables的照料和餵養
- 第2章:網絡層攻擊和防禦
- 第3章:傳輸層攻擊和防禦
- 第4章:應用層攻擊和防禦
- 第5章:介紹psad:端口掃描攻擊檢測器
- 第6章:psad操作:檢測可疑流量
- 第7章:高級psad主題:從簽名匹配到操作系統指紋識別
- 第8章:使用psad進行主動響應
- 第9章:將Snort規則轉換為iptables規則
- 第10章:部署Fwsnort
- 第11章:結合psad和Fwsnort
- 第12章:端口敲門與單個封包授權
- 第13章:介紹fwknop
- 第14章:可視化iptables日誌
- 附錄A:攻擊欺騙
- 附錄B:完整的fwsnort腳本