Questions tagged [memory]

Computer memory refers to a physical device that is used to store sequences of instructions (programs) or data (program state information) on a temporary or permanent basis for use in a computer.

Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

execute command in go without storing the command in a .exe file

I am trying to do a go program to execute a .exe file, but without be actually a .exe file. The idea is to read the executable from a .txt file and decode it (it is in base64). Once I hava that code ...
P00's user avatar
  • 1
1 vote
1 answer
61 views

Do frequently crashing programs pose a bigger security threat than stable programs?

If I have an app that's frequently and randomly crashing, will it impose a bigger security threat (e.g: possible attack vector) than apps that are stable? Or are both apps equally protected from such ...
AvidSeeker's user avatar
3 votes
0 answers
79 views

How to check if a PCI device is trusted or untrusted by the Linux kernel (for IOMMU)?

I am looking into the protection provided by IOMMU against DMA attacks. I noticed that the Linux kernel provides a feature called bounce buffers for untrusted PCI devices (https://lwn.net/Articles/...
sammy17's user avatar
  • 31
3 votes
1 answer
167 views

accessing ELF in memory (Unix/Linux)

On Linux (and maybe UNIX), you can access and even modify process's stack with things like ptrace, process_vm_ready, etc., but is there a way to access the copy of the binary that's being executed ...
R-Rothrock's user avatar
0 votes
1 answer
148 views

DLL Injection Win32 API

I want to know which Win32 API functions a certain executable calls. The executable is a 32-bit application. I know what steps to take to perform a DLL injection and hook an API function. However, ...
Pieter Jansen's user avatar
1 vote
0 answers
93 views

How to decrypt SSHv2 using AES-256 session keys from memory dump?

How to decrypt the plaintext contents of an SSH session from a PCAP file and SSHv2 AES session keys from a memory dump. I have the full PCAP for the SSH sessions, including the initial handshake and ...
Wesley Jones's user avatar
2 votes
1 answer
199 views

How to extract a .bat file with volatility

I am experimenting with the volatility2 tool. I have created a memorydump of a windows 7 machine where i had a batch script file on the desktop of the machine. I used the mftparser command as : ...
bd55's user avatar
  • 23
1 vote
2 answers
386 views

what is the safest way to open/decrypt an encrypted gpg/pgp file in memory | gnu/linux debian?

I would like to open/decrypt an encrypted gpg/pgp file in the main memory without leaving any footprints on the file system including swap,etc. what is the safest option on a gnu/linux debian from ...
Z0OM's user avatar
  • 119
0 votes
0 answers
51 views

Examples how floating point arithmetic errors cause memory corruptions?

Getting floating point arithmetic right can be difficult. Floating point numbers are not assotiative, adding small and big numbers may have no effect, etc. Integer arithemtic problems frequently lead ...
Fee's user avatar
  • 155
2 votes
1 answer
167 views

Why would garbage collection be a problem in password managers?

I was reading an infosec user's take on the LastPass data breach and noted something odd in his commentary on another password manager system (emphasis mine) I have not done a thorough code review, ...
Machavity's user avatar
  • 3,798
7 votes
1 answer
2k views

How can two identical no-PIE binaries run simultaneously?

As I understood it (probably incorrectly) when a no-PIE binary gets loaded into memory it always has the same absolute base address. This doesn't make sense to me. Consider the exact same program ...
Alexander Haas's user avatar
0 votes
0 answers
47 views

Can I know kernel address layout and memory mapped IO layout from the user privilege in linux kernel?

My current understanding is that the user does not have any way of knowing the kernel address space layout due to the protection mechanisms such as Kernel Address Space Layout Randomization (KASLR). ...
sammy17's user avatar
  • 31
1 vote
1 answer
144 views

Cuckoo dump a PE file from a memory dump?

Can Cuckoo extract PE files from a memory dump or record the import table of the running process? I need to record the import table in PE not the called/executed API from the process. There is Process-...
0xh3xa's user avatar
  • 113
1 vote
2 answers
214 views

Data remanence - DDR2

I read "Data Remanence in Semiconductor Devices" by Peter Gutmann, in which it is stated that it is possible to reconstruct the content of an erased SRAM based on changes of properties of ...
Hasbo's user avatar
  • 9
0 votes
0 answers
27 views

Could a no code module injected to memory phenomenon in the process tree of the steam.exe file be suspicious?

I found a page, which analyzing memory processes (https://analyze.intezer.com/) After the searches, it didn't find anything harmful, but in the detailed analysis I found a module without code, which ...
user avatar
6 votes
2 answers
2k views

What is the function of Intel's Total Memory Encryption (TME)?

https://edc.intel.com/content/www/us/en/design/ipla/software-development-platforms/client/platforms/alder-lake-desktop/12th-generation-intel-core-processors-datasheet-volume-1-of-2/002/intel-multi-key-...
Grant Curell's user avatar
1 vote
0 answers
162 views

How do I go about analysing VirusTotal and Hatching Triage's memdumps?

I normally use volatility to analyse memory dumps, however, in this case it doesn't seem to be working. I get a "Symbol table not found" kind of error, even though I have downloaded and ...
CBot's user avatar
  • 33
0 votes
1 answer
651 views

Is there a way to get Windows login password hint from SAM hive with volatility?

We know that every user in Windows has a password hint. This password hint is stored in the SAM hive, more specifically in the SAM\Domains\Account\Users path. Is there a way to extract this password ...
bd55's user avatar
  • 23
0 votes
1 answer
156 views

Can malware override and execute any memory location or it has to be specific?

Rather primitive Malware using Python3 and similar already available software on the victim's machine (which can also be compiled using PyInstaller/pycom if not) has the capability to override the ...
Sir Muffington's user avatar
1 vote
1 answer
1k views

How to extract a RSA private key from an ssh-agent core dump

I need to extract an RSA private key from an ssh-agent core dump running on ubuntu 20.04. I believe the ssh version is the latest. I have tried many Linux tools with no luck. I also wrote a python ...
Wesley Jones's user avatar
-1 votes
1 answer
91 views

Confused about memory examination using gdb

I started reading "Hacking, The Art of Exploitation" and I am confused about some things regarding memory examination. When I disassemble main, I get an output of all memories where the ...
jprossv's user avatar
0 votes
0 answers
168 views

sensitive data exposure from RAM memory [duplicate]

I have software written in C# and compiled as a .exe file. How can I read sensitive data (like usernames, passwords, etc.) from RAM while it runs?
p.soheyli's user avatar
1 vote
0 answers
127 views

How hard is it to modify UEFI nvram if the device is off and the UEFI is locked?

This assumes that: Machine is powered off No UEFI backdoors No Reflashing the firmware No clearing the NVRAM (The point is to modify/read a small amount of NVRAM, instead of resetting it) Device ...
A-random-nerd's user avatar
0 votes
1 answer
263 views

Why it's safe to use used RAM?

As we know, instructions are stored in RAM. So, can I embed a controller chip (or something like this) that can change the content of RAM? (e.g. change the Windows 10 boot instructions into malicious ...
Hanbi's user avatar
  • 21
1 vote
2 answers
166 views

XD/NX Bit in UNIX [Memory Security]

I have been reading about XD/NX bit used in Memory Pages for security. I understand it is a security feature that can help reduce system exposure to viruses and malicious code. If enabled, processor ...
Aishwarya's user avatar
0 votes
0 answers
97 views

Is it possible to inject code using physical memory access to jailbreak phones?

Is it possible to inject code into RAM using physical access? For example desolder the RAM chips, solder something between the original RAM chip and the phone motherboard, and use that to directly ...
userdatagram's user avatar
1 vote
0 answers
105 views

Cold boot attack on NAS

I'm familiar with the concept of cold boot attacks on laptop and desktop computers, where the goal is to find hidden encryption keys in the memory. I also think it's done on certain mobile phones. I ...
laddmeister's user avatar
1 vote
0 answers
168 views

C - Remote string format attack exploit - %n Does not seem to write anything on the stack

[As part of a ctf] I am trying to exploit a remote server through a tcp connection. The server is using snprintf() and provides user input as the formatting string. My goal is to dump the stack. ...
Desperados's user avatar
0 votes
1 answer
73 views

What does leak in memory/info leaks?

When a binary is running and there is some memory/info leak are there areas of program (or OS?) memory which are more prone to leak and is a leak in one segment worse than in another segment?
larsmitsars's user avatar
1 vote
1 answer
357 views

Finding Officejet 8600's bulit-in RAM

Before I give away my dead HP Officejet 8600 Pro for recycling, I want to ensure that no memory remains on it. Even after extensive research, it's not easy to find conclusive information on whether a ...
Enwater's user avatar
  • 13
3 votes
1 answer
177 views

Child processes vs microservices for communication between components

This is a question for operating system security experts. We have an application using one platform/language, and it has to integrate with a library that uses another platform/language. There is no ...
fernacolo's user avatar
  • 244
0 votes
0 answers
270 views

64 Bit ELF Buffer Overflow Not working possibly due to if statement

I wrote the following: #include <stdio.h> int win(){ printf("Won!\n"); return 0; } int vulnerable(){ char buffer[20]; memset(buffer, 0, 10); printf("Input: &...
Greg Gregson's user avatar
2 votes
1 answer
581 views

Memory encryption against memory leaks

Will memory encryption (or compression) provided by Intel or AMD processors protect against attacks like HeartBleed or similar memory leaks?
ScreechingMultimeterNoises's user avatar
0 votes
0 answers
100 views

"Intercepting" executable with FTK Imager

I want to analyze the traces of a program in my VM by executing it and then capturing the memory and disk using FTK Imager. However, it looks like --given the environment I have-- the program only ...
Néstor Llop's user avatar
3 votes
1 answer
489 views

Does Intel's vPro TME make a locked screen more secure?

This post seems on point but I didn't understand the answer enough to answer this question. Intel's vPro offers "Total Memory Encryption" (TME), which encrypts RAM and system bus data while ...
user847's user avatar
  • 31
-1 votes
1 answer
188 views

code and memory safety issues

I'm preparing for a computer security exam, and I found this question in previous exams To create an authentication program, we write a check_auth function as follows: int check_auth(char *password) {...
Bella's user avatar
  • 3
0 votes
1 answer
333 views

Buffer overread

I am trying to understand buffer overread in my course in school. This code is an example from one of the lectures where buffer overread can be a problem. However, I do not understand how buffer ...
Mohammed Abdu's user avatar
2 votes
1 answer
241 views

What does Snowden mean by "majority of vulnerabilities ... are introduced, for technical reasons ..., at the exact time the code is written"?

In a recent Substack article ("The Insecurity Industry", 2021-07-26) Edward Snowden writes: The vast majority of vulnerabilities that are later discovered and exploited by the Insecurity ...
Arminius's user avatar
  • 44.5k
1 vote
2 answers
542 views

Create memory image of infected machine without risk

I am pretty new in the security world and I am writing a procedure on how to create a memory image of an infected machine for forensics. The problem is that the machine does not have the tools for ...
Rémy Legrand's user avatar
3 votes
0 answers
192 views

Process Injection and Process Isolation by OS

If the OS is responsible for ensuring that one process cannot access another process memory space, and the point of process isolation is to keep processes separate from one another, then how can a ...
chephato's user avatar
0 votes
1 answer
166 views

Memory Forensics on exited process

I am new to memory forensics. When a process in Windows is ended are all artifacts for the process in memory gone? I ask because my EDR solution gives me the local process ID of a process I am ...
antmar904's user avatar
0 votes
0 answers
85 views

How useful are memory forensic tools for detecting active attacks (considering current devices)

Are memory forensic tools useful for attack detection? Usually they are applied after an attack has happened. You could always constantly scan a machine but this requires lots of resources and ...
SauceAsAService's user avatar
1 vote
1 answer
2k views

Disable memory scrambling [closed]

Is it possible to disable memory scrambling for RAM? Can you change what kind of algorithm is used? Can you check from inside the OS which is using the memory if/what scrambling is in use? Do devices ...
SauceAsAService's user avatar
1 vote
1 answer
313 views

How do memory resident viruses work?

Two part question: 1-How do memory resident viruses stay in memory after the program which loaded them is finalized? If all memory is automatically deallocated by the OS once a program is finished, ...
galmeida's user avatar
  • 113
0 votes
3 answers
209 views

How to donate a computer without jeopardizing personal information?

I have an old computer that is no longer working and I want to donate it or perhaps throw it in the trash. However, I don't want people to potentially get my banking account data, usernames/passwords ...
user avatar
9 votes
2 answers
4k views

Since GPUs have gigabytes of memory, does Argon2id need to use gigabytes of memory as well in order to effectively thwart GPU cracking?

The common advice of benchmarking a password hashing algorithm and choosing the slowest acceptable cost factor doesn't work for algorithms with more than one parameter: adding a lot of iterations at ...
Luc's user avatar
  • 32.6k
1 vote
0 answers
83 views

Can XIP (execute in place) be used for kernel protection?

Starting with kernel 5.13 RiscV will get XIP where parts of the kernel run from non volatile memory like flash. In theory you could make parts of the kernel really read only either from the hardware ...
XIP's user avatar
  • 11
1 vote
1 answer
363 views

Is uninitialized memory considered sensitive?

Consider a program that can allocate and read uninitialized memory regions, e.g. for performance reasons. Should said program assume that those regions may contain sensitive information, or is it the ...
Jorge Leitao's user avatar
2 votes
1 answer
371 views

Is this malloc wrapper safe?

I am trying to stop integer overflow vulnerabilities by creating a simple wrapper around malloc(3) and related functions. The idea is that it returns a NULL pointer if the amount of required memory ...
matoro's user avatar
  • 176
66 votes
3 answers
18k views

Are the sticks of RAM in my desktop computer volatile? Is it safe to sell them?

I have two sticks of RAM in my computer that I would like to sell or donate. From what I understand some RAM is volatile, losing all its contents when power is gone for a few minutes, and some is non-...
user avatar

1
2 3 4 5
7