forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cold Boot Attacks on Disk Encryption

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
Pit0711



Joined: 24 Mar 2005
Posts: 54
Location: Old Europe -Germany-

PostPosted: Tue Feb 26, 2008 8:30 am    Post subject: Cold Boot Attacks on Disk Encryption Reply with quote

http://www.ulm.ccc.de/Rheintal/MemoryDump

http://www.freedom-to-tinker.com/?p=1257

:-)
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Feb 26, 2008 9:32 am    Post subject: Reply with quote

As far as I've seen, the hypervisor clears RAM at boot before OtherOS is loaded, so it's not possible to run code that would find leftover stuff there -- at least not with an OtherOS-based software-only approach.
Back to top
View user's profile Send private message
IronPeter



Joined: 06 Aug 2007
Posts: 207

PostPosted: Tue Feb 26, 2008 7:57 pm    Post subject: Reply with quote

Video memory is persistent after cold boot. In fw < 2.1 at least.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gigi



Joined: 03 Nov 2007
Posts: 10

PostPosted: Tue Feb 26, 2008 8:26 pm    Post subject: Reply with quote

The most interesting thing is probably a hot dump of the ram modules but of course there are no known information ( correct me if i' m wrong ) about hardware pin out of ram , socket etc. So it's quite difficult , at least for me , to think about a possible setup of a test case.

Gpu changes as already pointed out is not cleared in the context switch between game-os and Otheros if the Gpu has status -32768.

It would be interesting to discuss about that since the Princeton's paper was pretty shocking at least for me , I always tended to believe that in ram data was immediately cleared.

I'd also like a moderator to express his opinion if such thread can be continued or it's too much related to hacking , understanding the strict policies of this forum.


Last edited by gigi on Wed Feb 27, 2008 1:30 am; edited 1 time in total
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Feb 27, 2008 12:15 am    Post subject: Reply with quote

As long as it is a legal method of information gathering and isn't used for piracy, I have no problems. Other moderators may have stricter guidelines but that's the basic test I use.
Back to top
View user's profile Send private message Visit poster's website
gigi



Joined: 03 Nov 2007
Posts: 10

PostPosted: Wed Feb 27, 2008 1:02 am    Post subject: Reply with quote

fantastic, then any idea? :-) would be very nice to understand if for example,

- Is it possible to setup an environment to dump the operative system while the ps3 is powered on , for me not ( i'm talking about "freezing ram" , phisically remove it and dump it via socket to an external medium ).

- Obtain any "additional" information via rsx fifo on fw < 2.1 , there is much left to do on rsx and i'm so unhappy that I can't use it if I will upgrade to newer firmwares.

On that point there were many topics here , but my personal opinion , remain that Sony sold a console emphatizing it act as a working desktop solution in official presentations as marketing pratice .

When remarkable progress was done on Rsx giving the community a fast desktop on OtherOs , sony removed it without notice ( I know some Sony dev on linux kernel tree would say : you have just to follow the suggestion we give in the kernel and we can change such specs when we want to ... open community eh? bullshit.

Sorry the remark it's few months i was wanted to express my opinion after I heard an incredible amount of nothing from Sony.

So I don't the Rsx development as hacking related to piracy and we should continue to look at Rsx , I can't understand why here the progress stopped .
Back to top
View user's profile Send private message
unsolo



Joined: 16 Apr 2007
Posts: 155
Location: OSLO Norway

PostPosted: Wed Feb 27, 2008 5:21 am    Post subject: Reply with quote

I believe a lightening fast desktop can be archived using only spu's and some are actually working on that subject..
_________________
Don't do it alone.
Back to top
View user's profile Send private message
mc



Joined: 12 Jan 2005
Posts: 212
Location: Linköping

PostPosted: Fri Feb 29, 2008 11:36 pm    Post subject: Reply with quote

I would expect any crypto keys to be stored in the local RAM of an SPE running in isolation mode, making them inaccessible both from PPE code and from pin-snooping of the RAM chips.
_________________
Flying at a high speed
Having the courage
Getting over crisis
I rescue the people
Back to top
View user's profile Send private message
gigi



Joined: 03 Nov 2007
Posts: 10

PostPosted: Sat Mar 01, 2008 12:14 am    Post subject: Reply with quote

Mostly I expect the same following secure boot patent , but if it's feasible to setup a test at least we can have some answer. Also the ringbus configuration with APU in isolated mode is for initial setup , in second stage i wonder how things are implemented.
Back to top
View user's profile Send private message
boxbuilder



Joined: 17 Nov 2007
Posts: 15

PostPosted: Tue Jul 29, 2008 3:54 pm    Post subject: Reply with quote

Here is the document about how the cellbe solves the vulnerability to cold boot attacks.
http://www.ibm.com/developerworks/power/library/pa-cellsecurity/

It seems like since the vram patch allows us to mount vram, why not make a patch which allows us to mount every address visible to the GPU (lv1_gpu_memory_allocate 0 size ?)
EDIT: "mount" meaning see as a disk device, only filesystems are actually "mounted".

Then it may be possible to issue HV calls and look for corresponding changes in the addresses visible to the GPU, this may indicate whether the GPU can directly address other devices.

The only thing that I don't get about the cell security is, how does the authenticated spe program know that the ppe component is not compromised? It's IBM, they must have done something.

EDIT:
{
My reason for wanting access to all devices via RSX is because in case of the slim chance that RSX can read/write the cache on the CELL, then it can scan the CELL's cache for an "ascend to HV mode" instruction, then replace the instructions that follow with a bootloader. It must be done with a USB monitor as the other drivers will be lost, but it sounds possible (Assuming the RSX has read/write to the cache where the instructions are lined up.) If it hangs then just reboot, no brick.

I think killing the HV is much more likely and ethical than breaking the root key, ps3 games will only ever run under HV, and opening the keyvault will make it possible for the HV code to be patched to do bad things.

Frankly I wish sony would give out free firmware which didn't use SPE isolation, and then we could change our root key. No more games/bluerayMovies, no more limitations, no more proprietary firmware, no more worries about opening Pandora's box of warez
}

whatisaname?

______________________________________________________________
Vote Ron Paul for freedom!
watch http://video.google.com/videoplay?docid=-8327695139643041382
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group