arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2409.17535cs.CR
收藏

通过源码分析实现诊断数据的隐私保护脱敏

Privacy-Preserving Redaction of Diagnosis Data through Source Code Analysis

Lixi Zhou, Lei Yu, Jia Zou, Hong Min

AI总结:

针对日志脱敏工具易产生假阳性和假阴性问题,提出基于源代码分析的日志脱敏方法,通过代码增强定位日志语句并利用数据流图检查敏感数据源,显著提升了敏感信息检测精度并减少了误报漏报。

摘要:

在工业软件诊断和调试过程中,保护日志等诊断数据中的敏感信息是一个关键问题。尽管已开发出许多工具来自动对日志进行脱敏以识别和移除敏感信息,但它们存在严重的局限性,可能导致过度脱敏和丢失关键诊断信息(假阳性),或泄露敏感信息(假阴性),或两者兼有。为了解决这一问题,本文提出了一种基于源代码分析的日志脱敏方法。为了识别包含敏感信息的日志消息,我们的方法通过日志记录器代码增强在源代码中定位相应的日志语句,并使用从源代码构建的数据流图检查该日志语句是否输出来自敏感数据源的数据。根据数据源的敏感程度进一步应用适当的脱敏规则,以保护日志中的隐私信息。我们进行了实验评估并与其他流行的基线方法进行了比较。结果表明,我们的方法能显著提高敏感信息的检测精度,并减少假阳性和假阴性。

英文摘要:

Protecting sensitive information in diagnostic data such as logs, is a critical concern in the industrial software diagnosis and debugging process. While there are many tools developed to automatically redact the logs for identifying and removing sensitive information, they have severe limitations which can cause either over redaction and loss of critical diagnostic information (false positives), or disclosure of sensitive information (false negatives), or both. To address the problem, in this paper, we argue for a source code analysis approach for log redaction. To identify a log message containing sensitive information, our method locates the corresponding log statement in the source code with logger code augmentation, and checks if the log statement outputs data from sensitive sources by using the data flow graph built from the source code. Appropriate redaction rules are further applied depending on the sensitiveness of the data sources to preserve the privacy information in the logs. We conducted experimental evaluation and comparison with other popular baselines. The results demonstrate that our approach can significantly improve the detection precision of the sensitive information and reduce both false positives and negatives.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑