• No results found

Wireless Sensor Networks Chapter 14: Security in WSNs

N/A
N/A
Protected

Academic year: 2021

Share "Wireless Sensor Networks Chapter 14: Security in WSNs"

Copied!
35
0
0

Loading.... (view fulltext now)

Full text

(1)

Wireless Sensor Networks

Chapter 14: Security in WSNs

António Grilo

Courtesy: see reading list

(2)

Goals of this chapter

• To give an understanding of the security vulnerabilities of

Wireless Sensor Networks

• To identify the main classes of WSN security attacks

• To identify possible countermeasures to those attacks

(3)

Outline

WSN Security overview

• Denial of service attacks

• Network Security Services

(4)

Fundamentals

• Confidentiality

• Data Integrity

• Accountability

• Availability

• Controlled Access

(5)

Fundamentals (2)

• Some common threats:

• Eavesdropping

• Masquerading

• Authorization violation

• Provoking loss or modification of information

• Forgery

• Repudiation

• Sabotage

• Attacks may cover all layers of the protocol stack

(6)

Problems Applying Traditional Network Security Techniques

• Sensor devices are limited in their energy, computation,

and communication capabilities.

• Sensor nodes are often deployed in open areas, thus

allowing physical attack.

• Sensor networks closely interact with their physical

environments and with people, posing new security

problems.

• In-network processing requires intermediate nodes to

access and modify information.

(7)

Adversarial Capability

• Physically damaged or manipulated node

• May be less powerful than a normally functioning node.

• Subverted nodes (or added ones)

• Interact with the network only through software

• As powerful as other nodes

• Immensely more powerful adversaries

• Existing wired network with virtually unlimited computational and energy resources possible.

(8)

Key Establishment and Trust

• Sensor devices have limited computational power, making

public-key cryptographic primitives too expensive in terms

of system overhead.

• Simplest solution is a network-wide shared key.

• Problem: if even a single node were compromised, the secret key would be revealed, and decryption of all network traffic would be possible.

• Slightly better solution:

• Use a single shared key to establish a set of link keys, one per pair of communicating nodes, then erase the network-wide key

• Problem: does not allow addition of new nodes after initial deployment

(9)

Key Establishment and Trust (2)

• Bootstrapping keys using a trusted base station.

• Each node needs to share only a single key with the base station and set up keys with other nodes through the base station

• The base station becomes a single point of failure, but being that there is only one base station, it becomes feasible (financially and otherwise) to utilize tamper-resistant packaging for the base

station, reducing the threat of physical attack.

(10)

Ongoing Research: random-key pre-distribution protocols

• Large pool of symmetric keys is chosen

• Random subset of the pool is distributed to each sensor node

• To communicate, two nodes search their pools for a common key

• If they find one, they use it to establish a session key

• Not every pair of nodes shares a common key, but if the key-

establishment probability is sufficiently great, nodes can securely

communicate with sufficiently many nodes to obtain a connected network.

• This means of establishing keys avoids having to include a central trusted base station.

• The disadvantage of this approach is that attackers who compromised sufficiently many nodes could also reconstruct the complete key pool and break the scheme.

(11)

Secrecy and Authentication

• We need cryptography as protection against

eavesdropping, injection, and modification of packets

• Trade-offs when incorporating cryptography into sensor

networks:

• end-to-end cryptography achieves a high level of security but requires that keys be set up among all end points and be

incompatible with passive participation and local broadcast.

• link-layer cryptography with a network-wide shared key simplifies key setup and supports passive participation and local broadcast, but intermediate nodes might eavesdrop or alter messages.

(12)

Hardware vs Software Cryptography

• Hardware solutions are generally more efficient, but also

more costly ($).

• University of California, Berkeley, implementation of

TinySec incurs only an additional 5%–10% performance

overhead using software-only methods.

• Most of the overhead is due to increases in packet size.

• Cryptographic calculations have little effect on latency or throughput, since they can overlap with data transfer.

• Hardware reduces only the computational costs, not packet size.

• Therefore, software-only techniques are sufficient.

(13)

Privacy

• Issues

• Employers might spy on their employees; shop owners might spy on customers

• Neighbors might spy on each other

• Law enforcement agencies might spy on public places.

• Technological improvements will only worsen the problem.

• Devices will get smaller and easier to conceal

• Devices will get cheaper, thus surveillance will be more affordable

(14)

Privacy (2)

• Sensor networks raise new threats that are qualitatively

different from what private citizens worldwide faced before.

• Sensor networks allow data collection, coordinated analysis, and automated event correlation.

• Example, networked systems of sensors can enable routine tracking of people and vehicles over long periods of time.

• Suggested ways of approaching solution include a mix of:

• societal norms

• new laws

• technological responses

(15)

Resilience to Node Capture

• In traditional computing, physical security is often taken for

granted

• Sensor nodes, by contrast, are likely to be placed in open

locations.

• attacker might capture sensor nodes

• extract cryptographic secrets

• modify their programming

• possibly replace them with malicious nodes

(16)

Resilience to Node Capture (2)

• Attempt to build networks that operate correctly even in the

presence of nodes that might behave in an arbitrarily

malicious way.

• Replicate state across the network and use majority voting to detect inconsistencies

• Gather redundant views of the environment and crosscheck them for consistency

• Node capture is one of the most challenging problems in

sensor network security, and we are far from a complete

solution.

• How to identify compromised nodes, e.g., in Transport layer attacks?

(17)

Outline

• WSN Security overview

Denial of service attacks

• Network Security Services

(18)

The Denial-of-Service Threat

• A DoS attack is any event that diminishes or eliminates a

network’s capacity to perform its expected function.

• Hardware failures, software bugs, resource exhaustion,

environmental conditions, or their combination

• Intentional Attack

(19)

Robustness to Denial of Service

• Simple form: Radio jamming

• Sophisticated form: Transmit while a neighbor is also

transmitting or continuously generating a request-to-send

signal.

• Possible solution (when the jamming affects only a portion

of the network):

• detect the jamming

• map the affected region

• route around the jammed area

(20)

Attacks on the Physical Layer

• Jamming

• Defenses

• Spread-spectrum

• Region mapping

• Lower duty cycle

• Tampering

• Defenses: Tamper-proofing, hiding

(21)

Link Layer attacks

• Collision

• Use error-correcting codes

• Exhaustion

• Rate limitation

• Unfairness

• Small frames

(22)

Secure Routing

• Proper routing and forwarding are essential for

communication in sensor networks.

• Injection attacks

• Transmit malicious routing information into the network resulting in routing inconsistencies.

• Authentication might guard against injection attacks, but some routing protocols are vulnerable to replay by the attacker of legitimate routing messages.

• Sensor network routing protocols are particularly

susceptible to node-capture attacks.

• the compromise of a single node is enough to take over the entire network or prevent any communication within it

(23)

Network and Routing Attacks

• Neglect and greed

• Redundancy, probing

• Homing/traffic analysis

• Encryption: enough?

• Misdirection

• Egress filtering, authorization, monitoring

• Black holes

(24)

Neglect and Greed

• Neglect

• Drops packets arbitrarily

• Greed

• Gives undue priority to it’s own messages

• Use multiple paths and/or redundant messages to mitigate

these effects.

(25)

Black-Holes

• Distance-vector-based protocol weakness

• Nodes advertise zero-cost routes to every other node.

• Fixes:

• Authorization

• Monitoring

• watchdog the next hop transmission of your packets by neighbors

• Probing

(26)

Homing

• Geographic forwarding allows attacker to figure out where

important nodes are.

• Encrypting headers as well as content might alleviate this

issue.

(27)

Misdirection

• Diverting traffic away from intended destination

• targets the sender

• Misdirecting many flows in one direction

• targets an arbitrary victim (receiver)

• Defense

• Egress Filtering

• Verification of source addresses

(28)

Transport Layer DoS

• Flooding

• Client puzzles

• Make the adversary commit resources

• Only useful if the adversary has limited resources

• Desynchronization

• Authentication

(29)

Outline

• WSN Security overview

• Denial of service attacks

Network Security Services

(30)

Network Security Services

• So far, we’ve explored low-level security primitives for

securing sensor networks.

• Now, we consider high-level security mechanisms.

• secure group management

• intrusion detection

• secure data aggregation

(31)

Secure Group Management

• Protocols for group management are required to

• securely admit new group members

• support secure group communication

• The outcome of the group computation is normally

transmitted to a base station, therefore the output must be

authenticated to ensure it comes from a valid group.

• Any solution must also be efficient in terms of time and

energy (or involve low computation and communication

(32)

Intrusion Detection

• In wired networks, traffic and computation are typically monitored and analyzed for anomalies at various concentration points.

• expensive in terms of the network’s memory and energy consumption

• hurts bandwidth constraints

• Wireless sensor networks require a solution that is fully distributed and inexpensive in terms of communication, energy, and memory

requirements.

• In order to look for anomalies, applications and typical threat models must be understood.

• It is particularly important for researchers and practitioners to

understand how cooperating adversaries might attack the system.

• The use of secure groups may be a promising approach for

(33)

Secure Data Aggregation

• One benefit of a wireless sensor network is the fine-grain

sensing that large and dense sets of nodes can provide.

• The sensed values must be aggregated to avoid overwhelming

amounts of traffic back to the base station.

• Depending on the architecture of the network, aggregation may

take place in many places.

• All aggregation locations must be secured.

• If the application tolerates approximate answers, powerful

techniques are available.

(34)

Conclusion

• Constraints and open environments of wireless sensor networks make security for these systems challenging.

• Several properties of sensor networks may provide solutions.

• Architect security into these systems from the outset (they are still in their early design stages)

• Exploit redundancy, scale, and the physical characteristics of the environment in the solutions

• Build sensor networks so that they can detect and work around some fraction of their nodes which are compromised

(35)

Reading List

• A. Perrig, J. Stankovic, and D. Wagner, “Security in

Wireless Sensor Networks”, CACM, Vol. 47, No. 6, June

2004.

• Anthony Wood, John A. Stankovic, "Denial of Service in

Sensor Networks," IEEE Computer, 35(10):54-62, October

2002.

• C. Karlof and D. Wagner, “Secure Routing in Wireless

Sensor Networks: Attacks and Countermeasures”, Sensor

Network Protocols and Applications, 2003.

References

Related documents

As each project progressed, they built community capacity for research and fund- raising while also increasing the local involvement in the protection, management, and heritage

A Monthly Double-Blind Peer Reviewed Refereed Open Access International e-Journal - Included in the International Serial Directories.. Page | 365 STUDY ON SHIFT IN CONSUMER

The inductive phenomenological thematic analysis identified three themes: diversity of education and training in dementia provided to prison staff, health and social care

Method: This paper examines the psychometric properties of the AMC Linear Disability Score (ALDS) project item bank using an item response theory model and full information

AF: annulus fibrosus; CM: control medium; FACS: fluorescence-activated cell sorting; FBS: fetal bovine serum; FSC: forward scatter; IVD: intervertebral disc; MSC: mesenchymal stem

In the present study, we determined the major phen- olic compounds of exGrape® grape seed extract by an improved HPLC method and analyzed the effect of con- sumption of this product

Laparotomy in women with severe acute maternal morbidity secondary analysis of a nationwide cohort study RESEARCH ARTICLE Open Access Laparotomy in women with severe acute maternal

Considering the sparse structure of actual target space in high frequency radar application, a novel 4-D imaging scheme based on compressive sensing is proposed in this paper..