-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security-ASP as man-in-the middle malware deployment ? #10
Comments
Plantuml-Code:
|
Could we prevent the situation when a hacker has already access/rights to local system?I do not think so. Inside this scenario an attacker has already access to local system. So he/she is able to replace any existing PDF file on local file system too. Also replacement of JRuby parts etc. could be done, maybe even a replacement of a installed asciidoctor variant. So I do not think that one can rule out the possibility in general, if an attacker has already access to a developer machine. |
close ticket, because a local access by attacker cannot be solved that way at all |
Back again, because: An attacker could have another user account (hacked) and start there a fake ASP server instance. At the hacked account there are not much rights (no admin, etc.). But vicitim developer could use the started ASP server and have e.g. administrative rights so we could have there a priviledge escalation again... Solution 1 (encryption)So it would be better if the server would create a random key on startup, give back the key to the starter of the server instance (user/developer). This secret key should be used by server and also by client to encrypt/decrypt data transfer. So more secure data, but also the communication can only happen if both (client/server) know the same key. If the encryption fails (no valid json, no teminators etc.) the connection is not trusted. Solution 2 (mitigation by no reuse of running ASP instances)As long as there is no encryption implemented, callers could insist on their own running instances of ASP server means, as long as the server instance (process) is running an connected to port its own variant. A server disrupt should automatically terminate client calls or mark them as untrusted. Reuse of running ASP instances is forbidden. |
Risk estimation
Current Situation
What could a Hacker do with ASP?
When could a Hacker do this with ASP?
If the hacker is able to do the steps described above, he/she is already having access to system.
What would be the "benefit" for an hacker to have access to ASP
Exploit PDF and deliver by ASP:
One potential target: Attacker has normal user/developer rights available but no admin rights. A malware PDF could be a delivered by fake ASP server to client caller and have
The text was updated successfully, but these errors were encountered: