Netinfo Security ›› 2021, Vol. 21 ›› Issue (2): 10-15.doi: 10.3969/j.issn.1671-1122.2021.02.002

Previous Articles     Next Articles

Vulnerability Analysis of Geohash Code Against k-nearest Neighbor Attack

TU Guoqing1,2, YANG Yanhao1,2(), LIU Shubo3   

  1. 1. School of Cyber Science and Engineering, Wuhan University, Wuhan 430072, China
    2. Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education, Wuhan 430072, China
    3. School of Computer Science,Wuhan University, Wuhan 430070, China
  • Received:2020-10-21 Online:2021-02-10 Published:2021-02-23
  • Contact: YANG Yanhao E-mail:yangyanhao@whu.edu.cn

Abstract:

As a dimensionality reduction technology, Geohash coding has been applied to many spatial databases and spatial data engines, but there is no research on its security. This paper focuses on the security vulnerabilities in Geohash encoding, theoretically analyzes the reason why this dimensionality reduction technology produces inference channels, and proposes an encrypted Geohash field reconstruction algorithm based on k nearest neighbor query, by observing a large number of k nearest neighbor query responses for plaintext information, perform statistical inference and reconstruct the original value of encrypted Geohash. Reconstruction experiments on the encrypted interest point database show that the more the number of query responses observed, the higher the accuracy of the reconstruction value. In the case of Geohash coding accuracy of 30bit, when 100000 to 3000000 query responses are observed, the average error between the reconstructed value and the original value is 0.074% to 0.015%. This work reveals the vulnerability and formation mechanism of Geohash coding in resisting k nearest neighbor query inference attacks, and will promote the security application and research of related geographic information system industries.

Key words: spatial database, Geohash coding, k-nearest neighbor query, searchable encryption, database reasoning attack

CLC Number: