A Forensic Analysis Method for Redis Database based on RDB and AOF File

Ming Sheng Xu, Xiaowei Xu, Jian Xu, Yizhi Ren, Haiping Zhang, Ning Zheng

Journal of Computers · 2014 · 17 citations · 7 references

Concepts

TL;DR

Redis is a widely used non‑relational, in‑memory database that stores large amounts of data both in memory and on disk, making it a critical target for forensic investigations. The study proposes a forensic analysis method for Redis that leverages its RDB and AOF files. The method extracts information from RDB backups using the database’s storage structure, reconstructs write‑operation statements from AOF logs, and directly analyzes data in memory. Experimental results demonstrate that the approach effectively retrieves most data from RDB and AOF files, providing valuable evidence for investigators. Index terms: Redis, NoSQL, database forensics, digital forensics.

Abstract

Redis is a widely used non-relational and in-memory database system. It holds a large amount of information both in memory and file system, which is of great significance to forensic analysis. This paper mainly proposes a forensic analysis method for Redis based on RDB and AOF file. A method of extracting useful information from RDB backup file is proposed based on the data storage mechanism described in this paper. A method of reconstructing the write operation statements from AOF file is also provided. Finally, the method of directly analyzing data from memory is shown. The experimental results demonstrate the effectiveness of our method. Most of the data could be extracted from RDB and AOF file, which provides important information for forensic investigators. Index Terms—Redis, NoSQL, database forensics, digital forensics

References

7