Security Risks in the Encryption of Database Connection Strings

ABSTRACT Background There exists an important and open problem with the encrypting of database connection strings in that related connection strings start with well known identical initial sub‐strings. When these initial sub‐strings are longer than the encrypting algorithm's block size, the resulting encrypted text for related database connection strings will have identical initial sub‐strings which could increase the chance of breaking the encryption key used to encrypt the connection strings. Aims The objective of our work was to find a simple, easy to implement, well known algorithm that would eliminate the identical initial sub‐strings in the encrypted text of related database connection strings. Methods Our methodology was to apply an obfuscation function to the database connection strings before encrypting them with the 3DES and AES encryption algorithms. The obfuscation functions we chose for our tests were the Roman Keyword cipher or the Greek Scytale cipher. Discussion The results of applying the two obfuscation functions to the related database connection strings before encrypting them with the symmetric encryption algorithms. This process effectively eliminated the commonality in the encrypted text of the database connection strings. Conclusion While both the Keyword and Scytale obfuscation functions were able to eliminate the commonality in the encrypted text. We found that the Scytale function was superior to the Keyword function due to some minor limitations of the Keyword functions and the fact that the Scytale function geometrically increased the number of possible known strings within the plain text connection string before encryption.

Authors

Institutions

Publication Details

Journal
Software Practice and Experience
Published
2024-12-01
DOI
https://doi.org/10.1002/spe.3387
Primary Topic
Cloud Data Security Solutions
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Security Risks in the Encryption of Database Connection Strings

James H. Hill, Ross Rannells
Software Practice and Experience
Cloud Data Security Solutions
article

Security Risks in the Encryption of Database Connection Strings

James H. Hill, Ross Rannells
article en

Abstract

ABSTRACT Background There exists an important and open problem with the encrypting of database connection strings in that related connection strings start with well known identical initial sub‐strings. When these initial sub‐strings are longer than the encrypting algorithm's block size, the resulting encrypted text for related database connection strings will have identical initial sub‐strings which could increase the chance of breaking the encryption key used to encrypt the connection strings. Aims The objective of our work was to find a simple, easy to implement, well known algorithm that would eliminate the identical initial sub‐strings in the encrypted text of related database connection strings. Methods Our methodology was to apply an obfuscation function to the database connection strings before encrypting them with the 3DES and AES encryption algorithms. The obfuscation functions we chose for our tests were the Roman Keyword cipher or the Greek Scytale cipher. Discussion The results of applying the two obfuscation functions to the related database connection strings before encrypting them with the symmetric encryption algorithms. This process effectively eliminated the commonality in the encrypted text of the database connection strings. Conclusion While both the Keyword and Scytale obfuscation functions were able to eliminate the commonality in the encrypted text. We found that the Scytale function was superior to the Keyword function due to some minor limitations of the Keyword functions and the fact that the Scytale function geometrically increased the number of possible known strings within the plain text connection string before encryption.

Software Practice and ExperienceVol. 55(4)
Indiana University Indianapolis (US), Indiana University – Purdue University Indianapolis (US)
Openalex Percentile: Top 66%
Cloud Data Security Solutions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.