Search arXiv⌕ Search

arXiv subjects

Anand Agrawal

Publications and source records attributed to Anand Agrawal.

5 recordsLinked to original sources

Enacting Authenticated-OCI in WPA2, can you KRACK?

The WPA2 security protocol suite in Wi-Fi suffers from an attack called Key Reinstallation Attack (KRACK) since 2017 and its severity has led to the proposal of a new security protocol suite, called WPA3. However, WPA3 may also suffer KRACK due to a vulnerability in its DragonFly authentication mechanism. KRACK exploits a vulnerability (CVE-2017-13077) in which a repetition of M3 in the 4-way handshake (4WH) by a channel-based MitM attacker causes the supplicant, i.e., Wi-Fi client, to install a known pairwise transient key (PTK). In this paper, we address the problem of KRACK by including authenticated operating channel information (A-OCI) in 4WH. A-OCI includes three pieces of information: a signature, the operating channel frequency, and the operating channel number. These elements, totaling 23 bytes, are contained within the Robust Security Network (RSN) field that has capacity of up to 256 bytes in packets of 4WH. We implement our proposed solution in the existing code base of WPA2, and rebuild and update the executable of hostapd and wpa_supplicant v2.9 in Ubuntu 20.04. To verify and validate, we ensured that the libraries are sufficient, and then confirm the presence of updated RSN information in the 4WH messages in Wi-Fi traffic. We modify an existing formal verification framework of WPA2 in Tamarin prover, and show that, unlike state-of-the-art, our proposed solution satisfies the integrity of i) operating channel, ii) nonce, and iii) authentication in the handshake. Using a Wi-Fi fuzzer, called Greyhound, we show that the updated WPA2 supplicant is robust to the attacks related to KRACK. We analytically show that our proposed solution can satisfy the proposed amendments in WPA3, i.e., protected management frame (PMF) and operating channel validation (OCV), yet does not require to adopt WPA3 in legacy devices, which is a challenging task.

cs.CR↗

Phantom Forgetting: How BatchNorm State Fakes Deletion in Edge Split Machine Unlearning

Split learning is a natural fit for edge intelligence: a resource-constrained edge device runs the first layers of a network and offloads the remainder to a server, so that raw data never leave the device. When such a system must unlearn revoked or sensitive data for example to honor a right-to-erasure request, the deletion is commonly assessed through changes in forget-set accuracy. However, inference on an edge-server split also depends on non-learnable model state distributed across the two parties, and this state is especially volatile on edge devices subject to data drift, over-the-air updates, and checkpoint rollback. This paper isolates a state-integrity question with direct edge-security implications: can Batch Normalization (BN) running statistics create a target-specific forgetting signal even when every learnable weight remains fixed? We define a state-only diagnostic that separates learnable-parameter change from BN- buffer change and localizes the effect to the edge (client) side, the server side, and joint placements. We also introduce a state-induced forgetting gap (SIFG) that discounts simultaneous retain-set degradation. Over all ten CIFAR-10 forget classes, centralized BN recalibration on forget data reduces mean forget accuracy by 61.50 percentage points with zero weight change; in a split model, edge-only, server-only, and joint recalibration produce mean drops of 37.27, 41.71, and 51.90 points. The server-side state yields the largest selective gap relative to retain degradation, while joint recalibration causes the largest overall prediction change. These results establish distributed normalization buffers including those held on the edge device as security and privacy-relevant inference state, and show that forget accuracy should not be interpreted, or accepted as a deletion certificate, without an explicit edge-aware state-integrity audit.

cs.CR↗

iTieProbe: Is Your IoT Setup Secure against (Modern) Evil Twin?

Evil twin attack on Wi-Fi network has been a challenging security problem and several solutions have been proposed to this problem. In general, evil twin attack aims to exfiltrate data, like Wi-Fi and service credentials, from the client devices and considered as a serious threat at MAC layer. IoT devices with its companion apps provides different pairing methods for provisioning. The "SmartConfig Mode", the one proposed by Texas Instrument (TI) and the "Access Point pairing mode (AP mode)" are the most common pairing modes provided by the application developer and vendor of the IoT devices. Especially, AP mode use Wi-Fi connectivity to setup IoT devices where a device activates an access point to which the mobile device running the corresponding mobile application is required to connect. In this paper, we have used evil twin attack as a weapon to test the security posture of IoT devices that use Wi-Fi network to set them up. We have designed, implemented and applied a system, called iTieProbe, that can be used in ethical hacking for discovering certain vulnerabilities during such setup. AP mode successfully completes when the mobile device is able to communicate with the IoT device via a home router over a Wi-Fi network. Our proposed system, iTieProbe, is capable of discovering several serious vulnerabilities in the commercial IoT devices that use AP mode or similar approach. We evaluated iTieProbe's efficacy on 9 IoT devices, like IoT cameras, smart plugs, Echo Dot and smart bulbs, and discovered that several of these IoT devices have certain serious threats, like leaking Wi-Fi credential of home router and creating fake IoT device, during the setup of the IoT devices.

cs.CR↗

Cyber Physical Aquaponic System (CyPhA): a CPS Testbed

Aquaponics system promises a sustainable urban development and food production by combining vegetable and fish farming in a single water loop. However, traditional aquaponics suffers from a significant amount of manual intervention with regard to decision-making in the water circulation and water quality control. In this work, we design, build and deploy a laboratory-scale real aquaponics system by considering this system as a cyber physical system, and we call it as Cyber Physical Aquaponics (CyPhA) system. The design of our CyPhA system has five stages, Stage-1 contains a vertical vegetable farming unit, Stage-2 contains fish farming unit, Stage-3 contains natural nitrification system, Stage-4 contains bio-filtration system and Stage-5 contains water accumulation and release system. Water transfer from one stage to the next is done using water pumps, and oxygen mixing in the water in any stage is achieved using aeration pumps. CyPhA system uses sensors for pH, dissolved oxygen (DO), total dissolved solid (TDS), water temperature, air temperature and humidity. A critical level of any of the water parameters in any stage is indicated using a LED-based alert indicator. Sensor data and actuator control commands among the stagewise edge devices and the CyPhA Controller are exchanged over Message Queue Telemetry Transport (MQTT) protocol. Overall, CyPhA system is housed within an area of about 80 sq. ft. We have been successfully operating CyPhA system for the last 75 days and maintaining a good quality of water for both fish and vegetable farming units.

eess.SY↗

On Ladder Logic Bombs in Industrial Control Systems

In industrial control systems, devices such as Programmable Logic Controllers (PLCs) are commonly used to directly interact with sensors and actuators, and perform local automatic control. PLCs run software on two different layers: a) firmware (i.e. the OS) and b) control logic (processing sensor readings to determine control actions). In this work, we discuss ladder logic bombs, i.e. malware written in ladder logic (or one of the other IEC 61131-3-compatible languages). Such malware would be inserted by an attacker into existing control logic on a PLC, and either persistently change the behavior, or wait for specific trigger signals to activate malicious behaviour. For example, the LLB could replace legitimate sensor readings with manipulated values. We see the concept of LLBs as a generalization of attacks such as the Stuxnet attack. We introduce LLBs on an abstract level, and then demonstrate several designs based on real PLC devices in our lab. In particular, we also focus on stealthy LLBs, i.e. LLBs that are hard to detect by human operators manually validating the program running in PLCs. In addition to introducing vulnerabilities on the logic layer, we also discuss countermeasures and we propose two detection techniques.

cs.CR↗