OpenSSH
[Top] [All Lists]

ssh-agent does not immediately clean timeouted keys from memory

To: openssh-unix-dev@mindrot.org
Subject: ssh-agent does not immediately clean timeouted keys from memory
From: openssh@p23q.org
Date: Fri, 23 Feb 2007 18:10:32 +0000
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: Mutt/1.5.13 (2006-08-11)
during my seminar of advanced exploitation techniques (SEAT, [1]) i
developed some methods to crack into system via DMA (e.g. via firewire).
as part of this i developed a program that steals loaded ssh private
keys from ssh-agents. i was astonished to find that the keys are not
immediately removed from the agent when a timeout occurs, but only the
next time the agent is queried via its socket. i have written a
__rough__ patch that should fix the problem (a timer checks every 10
seconds). please take a look at it and, if you like it, incorporate it.

the patch can be found at [2], more information on other things i
developed during SEAT can be found at [3] - once i release the stuff (in
a few days, i think).


so far

losTrace  a.k.a.  David R. Piegdon


[1] seminar of advanced exploitation techniques
http://www-i4.informatik.rwth-aachen.de/content/teaching/seminars/sub/2006_2007_seat_seminar.html

[2] rough patch that fixes ssh-agent timeout problem
http://david.piegdon.de/SEAT/ssh-agent.patch

[3] more information on my stuff http://david.piegdon.de/products.html

Attachment: pgpa5TnsUzX7E.pgp
Description: PGP signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
<Prev in Thread] Current Thread [Next in Thread>