08448380779 Call Girls In Friends Colony Women Seeking Men
Â
Network & security startup
1. Finto Thomas
Created 18 Nov 2011
Reviewed : Mar 2015
Ver 3.0
Network & security Startup
Before we enter to LAB
1
2. Agenda
ï OSI Model Overview
ï Function of network & security devices
ï Routers / Switches
ï Firewall
ï Proxy firewall
ï State full firewall
ï Packet filter firewall
ï IDS /IPS
ï Web Application Firewall â WAF
ï File Integrity manager â FIM
ï Anti Spam / MTA / Email Gateway (MX)
ï Encryption - VPN
ï File & Whole Disk Encryption
ï Vulnerability Vs Risk
ï Security Event & Incident Management - SIEM
ï Network Cheat Sheet
ï Linux overview
ï CASE STUDY
2
3. Open Systems Interconnection model (OSI model)
Application 7
Presentation 6
Session 5
Transport 4
Network 3
Data Link 2
Physical 1
DATA
Format
Logical
Connection
TCP /UDP /
ICMP
IP / IPX /
SNA
MAC
bit
DATA
Segment
Packet
Frames
bit
Layers Function DATA UNIT
Why ISO â OSI Model
To be in standardized
communication between
multivendor devices in
networked scenarios, else
we have to strict to purchase
always one vendor products
to communicate each other
!!!
3
4. ï Application (7) â is provide end-user interface & process Everything at this layer is
application-specific. This layer provides application services for file transfers, e-mail, and
other network software services. Telnet and FTP are applications that exist entirely in the
application level. Tiered application architectures are part of this layer.
ï Presentation (6) - provides independence from differences in data representation, which
format we save the content and processing while accessing the from file system. . It is
sometimes called the syntax layer.
ï Session (5) - , manages and terminates connections between applications and between
hosts The session layer sets up, coordinates, and terminates conversations, exchanges, and
dialogues between the applications at each end machines. It deals with session and
connection coordination.
ï Transport (4) - This layer provides transparent transfer of data between end systems, or
hosts, and is responsible for end-to-end error recovery and flow control. It ensures complete
data transfer. By define the traffic TCP/ UDP. And for PING using ICMP protocol.
ï Network (3) - provides routing technologies, creating logical paths, known as virtual circuits,
for transmitting data from node to node. Routing and forwarding are functions of this layer, as
well as addressing, internetworking, error handling, congestion control and packet
sequencing. By define routing & routed protocols. Routed protocol are IP , IPX and IBMâs
SNA. Routing protocal are OSPF, EIGRP.. etc (Routers & layer 3 Switches)
ï Data link (2) - At this layer, data packets are encoded and decoded into bits. It furnishes
transmission protocol knowledge and management and handles errors in the physical layer,
flow control and frame synchronization. The data link layer is divided into two sub layers: The
Media Access Control (MAC) layer and the Logical Link Control (LLC) layer. The MAC sub
layer controls how a computer on the network gains access to the data and permission to
transmit it. The LLC layer controls frame synchronization, flow control and error checking.
(Switches)
ï Physical (1) - This layer conveys the bit stream - electrical impulse, light or radio signal --
GoldenRulesofNetwork&
Security
4
5. Function of network & security devices
In present Network infrastructure we can meet multiple types of devices, each
devices have its own functions,
Routers - Layer 3 Routing device working routed Protocols like IP, IPX. If there
is two different subnet machine must need a router to communicate between
those. Also known as Packet filter Firewall because it can block or allow
traffic on packet based (IP based). (Cisco IOS, 7500, Juniper JUNOS)
Switches â Layer 2 Switching devices for switching the path between hosts with
MAC on same subnet. If we have only two machine we can setup direct
connection, but if have more then two we bring Switches or HUB to
interconnects.(Cisco IOS, Juniper , Nortel). There are Two kind â
Manageable & non Manageable Switches for VLAN creation.
Note : Layer 3 switches are capable with routing function.
HUB â Layer 1 device older version for interconnect multiple machine in same
subnet, with single broadcast & Collision domain, which was over come in
Switches. (Dlink, Netgear)
State full Firewall â Layer 7 Device for Gate way function to allow or deny the
network traffic passing though this device based on IP address or/and TCP/
UDP port. And its keep a state table of each session passing through this FW,
so when a return packet came will match to this table to allow to inside
back.(Juniper Screen OS, Cisco PIX /ASA, Microsoft ISA, Check point, Cross
beam, Nokia, Sonicwall)
Load Balancers (LB) - Load balancers used for Network or Server based
5
6. ï Computers are working on all Layers, so its can show all natures of any network security
device, still we are going for specific appliance because of performance and reliability.
ï When a packet passing through L2 Switch always its modify the MAC address of Source
and Destination.
ï When a packet passing through Router its always change MAC address and may IP for
NATing
ï When a packet pass through IPS, its will alter the MAC. IP address according to device
deployment mode
ï When a packet pass through Firewall , will change MAC. IP address & port number can
change according to deployment â NAT & PAT.
ï NAT - IP Address Translation can we achieved in different way according to architecture
of network customers needed. Routers & Firewalls can perform these actions. One to
One is Static NAT, Group of Private IPs to one or more IP translations known as PAT
(Port address translation.)
ï MIP & VIP - Statically mapped Public IPâs known as MIP (Mapped IP). Group based
(Server Forms ) to limited Public knowm VIP.
Client PC Switch -L2 Router â L3 IDS/IPS Firewall
6
7. IDS/ IPS âall Layer 7, can report or block significant traffic/code on specific ports,
Example â firewall can block/allow entire traffic through port http (80), IPS can
block content based filtering on (Suspicious) traffic and genuine packets still
allow to inside through HTTP port.
Host based IDS/IPS can install over a OS to protect the specific machine
(Proventia for Windows, Endpoint security.)
Network based IDS/IPS using to monitor the traffic over a network. Draw back is
only can block (Inline protection) the traffic if the packet passing through the
appliance. Example, if need to monitor a traffic on single switch can only do
Detection, but between two switch / Router /firewall can put in inline protection
mode to block suspicious traffic.
An IDS can only configure as Detection only mode but IPS can be both Detection
(Promiscuous) or Prevention mode (Inline).
Note : Please refer next page Diagram to understand better.
ï ISS have two line of product Proventia (IPS) and real sensor (IDS), Proventia
have Software version for Linux & windows serves and Desktop along with
Appliance (HW + customized OS + Application) GX series.
ï Other vendors are Ciscoâs IDM, Juniper IDM, Soucrefire (Snort IDS), McAfeeâs
Intrushield
7
IDS or IPS
8. Promiscuous / TAP
mode: Here we can
only put the agent in
Detection mode only
even its IPS support
Inline mode: Here
we can put the
agent in Detection /
Prevention mode
according to device
capability or design
wise.
PIC -1
PIC - 2
8
9. Web Application Firewall
9
A web application firewall (WAF) is an appliance, server
plugin, or filter that applies a set of rules to an HTTP
conversation. Generally, these rules cover common
attacks such as cross-site scripting (XSS) and SQL
injection. By customizing the rules to your application,
many attacks can be identified and blocked ; Wiki-OWASP
ï ADC â Application Defense Center (Research-Driven Security Policies)
ï Threat Radar
ï Drop in deployment
ï Four Mode of Implementations
ï OWASP_Best_Practices:_Use_of_Web_Application
_Firewalls
Cont.
11. File Integrity Manager - FIM
11
File integrity monitoring (FIM) is an internal control or
process that performs the act of validating the integrity of
operating system and application software files using a
verification method between the current file state and the
known, good baseline. This comparison method often
involves calculating a known cryptographic checksum of the
file's original baseline and comparing with the calculated
checksum of the current state of the file.[1] Other file
attributes can also be used to monitor integrity.[2]
Generally, the act of performing file integrity monitoring is
automated using internal controls such as an application or
process. Such monitoring can be performed randomly, at a
defined polling interval, or in real-time.
ï Regulatory requirement
12. ï Proxy â work on upper layer (7,6 5 & 4 layers). Its also known as
Application firewall or Proxy firewall. where both ends of a connection
are forced to conduct the session through the proxy. turns a two-party
session into a four-party session, with the middle process emulating
the two real hosts. So firewall proxy servers centralize all activity for
an application into a single server for SMTP (Emails), HTTP
(Internets), etc.. Below picture is an example of forward Proxy.
(Blucoat, Websense, Iron Port)
ï Note :A reverse proxy taking requests from the Internet and
forwarding them to servers in an internal network. So Serve identity is
safe, LB and SSL will doing by these reverse proxies.
PIC â 3
12
Proxy Server
13. Web & Mail | Anti Spam Traffic flow
PIC - 4
Web traffic (http & https) will choose Proxy server route by PROXY setting on
web browser. If there is no PROXY setting will take the default routing route
available on machine.
Note : To see Routes & Default Route on machine use command âroute printâ Or
ânetstat ârâ.13
14. Email Gateway & Anti Spam
ï mail transfer agent (MTA) or mail relay is software that transfers
electronic mail messages from one computer to another using a clientâ
server application architecture (MS exchange server Or Lotus Domino
Server). An MTA implements both the client (sending) and server
(receiving) portions of the Simple Mail Transfer Protocol.
ï The terms mail server, mail exchanger, and MX host may also refer to
a computer performing the MTA function. The Domain Name System
(DNS) associates a mail server to a domain with mail exchanger (MX)
resource records containing the domain name of a host providing MTA
services
ï Anti Spam & anti virus appliances will use at gate way level to reduce
the SPAM coming inside. (Proventia Mail scanner, Iron port )
14
PIC - 5
15. ï Encryption is the process of transforming data into an unintelligible
form to prevent the unauthorized use of the data. To read an
encrypted file, you must have access to a secret key or password that
enables you to decrypt it. Unencrypted data is called plain text;
encrypted data is called cipher text. A cipher is an encryption-
decryption algorithm.
ï User ID & Password | Documents & mails - Certificates
ï Desktop / removable disk Encryption - PGP
ï VPN - Site to Site , Client access & SSL - HTTPS & Cisco / Juniper VPN
client
Encryption
15
PIC â 6
16. VPN
ï A virtual private network (VPN) is a network that uses primarily public
telecommunication infrastructure, such as the Internet, to provide remote offices
or traveling users access to a central organizational network.
ï VPNs typically require remote users of the network to be authenticated, and often
secure data with encryption technologies to prevent disclosure of private
information to unauthorized parties.
ï VPNs may serve any network functionality that is found on any network, such as
sharing of data and access to network resources, printers, databases, websites,
etc. A VPN user typically experiences the central network in a manner that is
identical to being connected directly to the central network. VPN technology via
the public Internet has replaced the need to requisition and maintain expensive
dedicated leased-line telecommunication circuits once typical in wide-area
network installations.
âą Between Offices (Sites) using Site to
Site VPN (IPSec), other name is
LAN to LAN Tunnel.
âą Remote single users using âClient
VPNâ or âRemote User VPN â (Exp
BHPB- Cisco VPN, SSB â Juniper)
IPSec framework.
âą SSL VPN is different than IPSec,
used on WEB based VPNs â HTTPS
and citrix VPN (SSB citrix
connection)
âą SOCKS is again a different frame
work for Secure communications.
16
PIC - 7
18. Threat Vs Vulnerability Vs Risk
ï The term âvulnerabilityâ refers to the security flaws (Weakness ) in a system
that allow an attack to be successful.
ï Threat is the frequency of potentially adverse events.
ï Risk = Threat * Vulnerability * Asset Value
Scenario 1: forgot the Car key in side the Car is an Vulnerability, threat here is
where we put the car & key, in City or Village, ie how potential on vulnerability.
Asser value is what kind car we using Maruti or Ferrari ï .
Scenario 2:Think we left server / laptop unlocked in home or office
ï a vulnerability assessment is the process of identifying and quantifying
vulnerabilities in an environment. It is an in-depth evaluation of your posture,
indicating weaknesses as well as providing the appropriate mitigation
procedures required to either eliminate those weaknesses or reduce them to
an acceptable level of risk.
ï On the other hand, a pen test simulates the actions of an external and/or
internal attacker that aims to breach the security of the organization. Using
many tools and techniques, the penetration tester attempts to exploit critical
systems and gain access to sensitive data. Depending on the scope, a pen
test can expand beyond the network to include social engineering attacks or
physical security tests. (White Box, Gray Box, Black Box) (Back Track 5 - OS)18
19. SIEM
19
ï Event & Log Collection to a centralized console
ï Normalize the event
ï Correlate the events
ï Identify the suspected activity
ï Link to the VA reports
ï Report and visibility to the security.
21. Linux Overview
21
ï Everything in Linux is a file including the hardware and even the directories.
ï # : Denotes the super(root) user
ï $ : Denotes the normal user
ï No capital letters on linux commands / file names . And all are case
sensitive.
ï /root: Denotes the super userâs directory
ï /home: Denotes the normal userâs directory.
ï Up arrow key: To redisplay the last executed command. The Down arrow
key can be used to print the next command used after using the Up arrow
key previously.
ï cd : The cd command can be used trickily in the following ways:
ï cd : To switch to the home user
ï cd * : To change directory to the first file in the directory (only if the first file is a
directory)
ï cd .. : To move back a folder
ï cd - : To return to the last directory you were in
ï Files starting with a dot (.) are a hidden file.
ï To view hidden files: ls -a
ï ls: The ls command can be use trickily in the following ways:
ï ls *.* : To view a list of all the files with extensions only.
ï Pwd : to show the present location we stand
22. Thank you
Case Study :
âąWhy need Site to Site VPN instead more
secure and reliable Leased line ?
âąWhy Firewall not placed directly from
internet and link terminations
âąHow Failover Works
âąWhy need VLANs
âąWhere and all can placed IDS or IPS
22 PIC- 8