NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 30 min
Dive into RAM, the volatile workbench of the CPU. Learn how DRAM stores data, how virtual memory works, and why memory is a goldmine for forensics, buffer overflows, and hardware exploits like Rowhammer. Essential for hackers and defenders!
Random Access Memory (RAM) holds the operating system, the running programs and the data they use right now, so the CPU can reach them quickly.
Random access means the computer can read any memory address directly, in about the same time. A hard disk must first move its read/write head; an SSD can also read any block directly, but RAM is still many times faster than both.
Normal RAM is volatile: it needs power to keep its data. When the power is cut, the data is lost.
It does not vanish in a microsecond, though. The charge fades over seconds, and over minutes when the chips are very cold. This is the basis of cold-boot attacks on stolen, running laptops. Defences: full-disk encryption with a pre-boot PIN, shutting down (not sleeping) devices that are left unattended, and memory encryption built into modern CPUs.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in