Questions tagged [usermode]

68 questions
0
votes
1 answer

Windbg: USER mode dump, windows event is set or not

I am trying to debug dump, my USER mode STOPPED_PENDING service, just checking whether service stop event "MySvcStopEvent" is Set or Not, I got event handle, tried to dump handle details, 0:002> !handle 0x00000000`00000164 f Handle…
user3664223
  • 305
  • 3
  • 19
0
votes
3 answers

User mode and kernel mode: different program at same time

Is it possible that one process is running in kernel mode and another in user mode at the same time? I know, it's not a coding question but please guide me if someone knows answer.
Harshil Shah
  • 142
  • 2
  • 3
  • 13
0
votes
1 answer

Need to sign a user-mode driver but can't locate a matching cross-certificate - Windows and TFS build

I've been handed source code for a user-mode USB Plug-n-Play driver and a certificate from Go Daddy and been instructed to set up a TFS build for the source code and to make the driver "signed." Having never done this, and nobody else here has done…
0
votes
0 answers

RISCV user mode breakpoint support needs more "hardware" for GDB support

Just finished to read the RISCV spec, more specifically "Volume II: RISC-V Privileged Architectures" and have a question on how GDB (or any other debugger) is supposed to work. Basically there are two ways to compile standard GDB: either hardware or…
0
votes
0 answers

How to enable user shell?

I was checking users permissons with less /etc/passwd cassandra:x:123:130:Cassandra database,,,:/var/lib/cassandra:/bin/false I want to unlock the account. How to do this with usermod or in any other manner?
Richard Rublev
  • 7,718
  • 16
  • 77
  • 121
0
votes
0 answers

When a C-program with empy main body executes, would it only involves user-mode?

Typically, when a program starts executing, it begins in user-mode and then depending on the body of the code, if required enters kernel/system mode, and eventually exits in the user-mode where it exits legitimately. But consider the following C…
0
votes
1 answer

Is changing the value of any register(DR, IR etc) requires switching from user mode to kernel mode?

1)So in the book that I'm reading it says for example changing IR register does not require switching from user mode to kernel mode, but i don't get it, how can i know if it requires switching or not? 2)also what about other registers, like DR, PSW,…
0
votes
0 answers

Python Ctypes Windows Access Violation - reading memory location

I am writing an application using the Deviare usermode hooking engine over COM in python. One of the functions I am hooking is CreateProcessA, but I seem to be having trouble passing the appropriate pointers from a hooked function to the ctypes…
Blackdragon1400
  • 413
  • 4
  • 18
0
votes
0 answers

Reading the CTS line of RS232 at speed in c++

I’m a relative rs232 newbie. I have an elapsed time reader chip: http://www2.l-3com.com/edi/dyna-digital.htm that has been configured to spew out data on the CTS line of an RS232 com port every other 250ms with each data set lasting 62.5ms. The data…
user4292309
0
votes
2 answers

How to start a user mode program from kernel mode in windows

I have a driver (kernel mode)(KMDF) and i have a user preferences form. i need to start the activity from the driver code and get the preferences. so how do i start that user mode program from kernel in windows operating system ?
Eswar Yaganti
  • 2,536
  • 1
  • 20
  • 22
0
votes
1 answer

User Mode vs Userland

Is Userland just another way to say User Space & User-Mode? For example, would I be able to say: There are various subsystems in Userland. Instead of: There are various subsystems in User-Mode. ..and would it be a valid way of saying that?
ajdbnabad13
  • 355
  • 3
  • 11
0
votes
2 answers

Difference between User vs Kernel System call

A system call is how a program requests a service from an operating system's kernel. They can occur in user-mode and kernel-mode. What are differences? For example: Overhead System time
Leo
  • 10,407
  • 3
  • 45
  • 62
0
votes
1 answer

user mode and kernel mode provide protection from the user?

Personally I would presume that User Mode allows the restricted access so nothing could be changed that shouldn't be, hence the Kernel mode. Although presuming isn't good enough. Does anyone know why or how they provide protection from a user.
bananabreadbob
  • 369
  • 2
  • 10
  • 26
0
votes
2 answers

How to break into KD(Windbg) for Explorer crash

I see a crash in Explorer.exe, due to our security s/w dll loaded in to the Explorer.exe. The crash happens during the shutdown of the system. The VM is connected to the Kernel debugger. I don't see Kernel debugger breaks when exception happens. I…
santhiR
  • 41
  • 1
  • 5
0
votes
2 answers

Sending value from kernel mode to user mode

I'm developing a kernel-mode driver for an Anti Virus program, but I've a problem in Drivers section I want to send a string value (For example "String") from Kernel-mode driver to user-mode application . can anyone help me to do this ?
Behrooz
  • 684
  • 1
  • 9
  • 19