RAM Scraping: Stealing Data While a Program Uses It
Opening an encrypted file can create a second place to protect: the application's working memory. If the file's contents are readable there, an attacker with enough access may be able to copy them without breaking the stored file's encryption.
RAM, short for random-access memory, is a computer's working memory. Programs use it to hold information during their work. A RAM scraping attack extracts sensitive data from that memory without authorization.
The target might be financial data, a password or a cryptographic key, the data used for encryption or a related security operation. Whether any particular secret is available depends on what the program is doing and what the attacker can access.
What Does the Chip in Your Card Actually Do?
Reaching the working copy
A process is a running program. To inspect another process's memory, malicious software needs an access path that allows it to read the relevant information. Being connected to the same network doesn't grant that ability.
MITRE's RAM-scraping threat description explains that tools running on a system need sufficient privileges, or access rights, to extract its memory. It also notes that information may be present there even when it was never saved to a file or database.
Operating systems impose boundaries between processes. Microsoft's documentation for reading process memory, for example, requires the caller to hold the appropriate access rights and the requested memory to be readable. A program doesn't automatically get a view of every other program's secrets.
- Stop anyone from scanning your contactless cards in a crowd.
- Find the right card fast with numbered, color-coded sleeves.
- Protect a whole family's cards and passports with one inexpensive set.
If malware gains more powerful access, it may reach information that its original permissions would have kept out of view. Limiting a program's access narrows what it could expose.
Keeping card data out of the merchant’s software
A point-of-sale system is the equipment and software used to complete a purchase. If its ordinary payment software holds readable card data in memory, a scraper with enough access could target that data.
Some payment designs keep readable card data out of that software altogether.
The Payment Card Industry Security Standards Council describes point-to-point encryption, or P2PE, as protection starting at capture in the merchant's payment device and continuing until decryption in the provider's environment. Under that design, the intervening systems handle unreadable data rather than needing the original card information.
The council's P2PE overview shows why the location of encryption matters. Protecting a connection after a merchant program has already handled readable data leaves a different exposure from keeping that data encrypted through the merchant's environment.
Memory Forensics: Finding Clues in a Running Computer

Payment-Card Skimmers: The Hidden Copy Behind a Normal Transaction

Plaintext Can Be a Photograph

QUOTE:
"Amateurs hack systems, professionals hack people."
