Publication | Closed Access
No Honor Among Thieves
46
Citations
12
References
2016
Year
Unknown Venue
Web ShellsEngineeringUsable SecurityEvasion TechniqueInformation SecurityLawInformation ForensicsSoftware AnalysisPunishmentHonor SystemComputer ScienceAnalyzed ShellsWeb ServerLanguage-based SecurityData SecurityCryptographyCriminal JusticeHumanitiesSoftware SecurityProgram AnalysisSoftware TestingMalware Analysis
Web shells are malicious scripts that attackers upload to a compromised web server in order to remotely execute arbitrary commands, maintain their access, and elevate their privileges. Despite their high prevalence in practice and heavy involvement in security breaches, web shells have never been the direct subject of any study. In contrast, web shells have been treated as malicious blackboxes that need to be detected and removed, rather than malicious pieces of software that need to be analyzed and, in detail, understood. In this paper, we report on the first comprehensive study of web shells. By utilizing different static and dynamic analysis methods, we discover and quantify the visible and invisible features offered by popular malicious shells, and we discuss how attackers can take advantage of these features. For visible features, we find the presence of password bruteforcers, SQL database clients, portscanners, and checks for the presence of security software installed on the compromised server. In terms of invisible features, we find that about half of the analyzed shells contain an authentication mechanism, but this mechanism can be bypassed in a third of the cases. Furthermore, we find that about a third of the analyzed shells perform homephoning, i.e., the shells, upon execution, surreptitiously communicate to various third parties with the intent of revealing the location of new shell installations. By setting up honeypots, we quantify the number of third-party attackers benefiting from shell installations and show how an attacker, by merely registering the appropriate domains, can completely take over all installations of specific vulnerable shells.
| Year | Citations | |
|---|---|---|
Page 1
Page 1