When taking anonymous online surveys, users may not respond authentically if they believe their answers can be traced. Understanding their behavior becomes even more complex when users believe their answers may trigger repercussions, as data leaves a digital trail.
This dilemma intrigued Carnegie Mellon University junior Diya Krishnan. She is developing a cybersecurity framework that addresses privacy concerns by transferring data so no one, not even administrators at the highest level, can see individual pieces of that data, fully protecting the anonymity of all respondents.
“I wanted to understand how I could build better and more secure systems,” said Krishnan, a computer science major in the Kenneth C. Griffin School of Computer Science.
Krishnan explored building a practical version of a theoretical cybersecurity framework called secure aggregation, or secure multiparty computation, as part of a Summer Undergraduate Research Fellowship. She worked on the project with the guidance of Sarah Scheffler, an assistant professor in CyLab, the Engineering and Public Policy Department, and the Software and Societal Systems Department, who studies the intersection of policy and cryptography — the use of mathematical techniques to protect the security of information.
“We use the framework to collect and compile survey data in a way that leaves individuals’ data totally private,” Scheffler said. “It takes a lot of difficult under-the-hood work to build this with cryptographic privacy.”
Krishnan scrutinized a 2017 study and integrated the method into a survey platform used for behavioral, economic and psychological research.
For example, a researcher might send out a survey asking for personally identifiable information, such as a survey-taker’s age. Before the answers are sent to the server for processing, the framework Krishnan applied adds masks, or placeholder tokens, to hide each person’s sensitive or personal information.
The masked data moves securely to the server. Then, the server storing the data is directed to only store the average or aggregate of the data. Because of the masks, the server doesn’t have access to each piece of data, only the average or aggregate.
“The survey wants to find their average, but it doesn’t want to learn the individual values, so we apply masking to each of the values,” Krishnan said. “From there, the server can get rid of the masks and find the total aggregate value of the data collected.”
Implementing the cybersecurity method was Krishnan’s goal, but the extra steps necessary to make it usable were surprising, such as addressing additional privacy concerns during each part of the process, she said.
“Research is never quick,” Krishnan said. “There’s a lot of trial and error and seeing what works. But the results you get at the end, and the potential impact it could have in society makes it all worth it.”
Interested in cybersecurity since high school, Krishnan started working with Scheffler after reaching out to her as a first-year student. Krishnan said she has been grateful to continue to build a professional relationship with her through research opportunities.
“She makes time for me despite her schedule, and she gives me great advice,” Krishnan said. “She’s been extremely helpful for me in my journey in general.”
Last year, Krishnan worked with Scheffler during a Summer Undergraduate Research Apprenticeship on a product called Safexten, which Krishnan explained “focuses on outputting a proof that guarantees a browser extension is secure.”
Scheffler said Krishnan’s passion is apparent in the way she approached her work with determination.
“I was really surprised and pleased with how deeply Diya dove into the underlying concepts and how quickly she was able to come up with a working prototype,” Scheffler said. “It’s clear a lot of time and care went into making this project robust, well-tested and easy to use, well beyond being simply functional.”
Scheffler has also given Krishnan advice about cybersecurity graduate programs, which Krishnan hopes to pursue.
In the meantime, Krishnan has continued to work on the project beyond the summer program, making final additions and plans for testing, with the hopes of submitting her research to a conference for review.
Future related research could include more AI applications to increase user control and information trustworthiness, Krishnan said.
Scheffler said she plans to pilot Krishnan’s prototype by collecting anonymous data from students in her privacy and technology class as a way to showcase the privacy-enhancing technology. Then, she also plans to make the completed code available for open-source usage to support multiple research projects that could benefit from this functionality.
“There are lots of research instances where you’re really interested in an aggregate response, but it’s actively dangerous to hold individual data, and we hope this can be a tool in the toolbelt to help researchers in situations like that,” Scheffler said.
With a spirit of innovation that reflects the overall culture of Carnegie Mellon, she encourages others to pursue cybersecurity research.
“There are many things that can help safeguard information and ensure privacy,” she said. “Explore new things with a strong foundation — you never know what might work.”
