Advice Request Can malware access a keyboard's onboard memory?

Please provide comments and solutions that are helpful to the author of this topic.

Chimaira

Level 4
Thread author
Verified
Well-known
Jan 5, 2018
163
Could malware or windows itself gain access to a keyboard's onboard memory? Is it readable by the system?

If you stored a password as a macro on your keyboards onboard memory would it be vulnerable to malware?
 
  • Like
Reactions: XhenEd

tim one

Level 21
Verified
Honorary Member
Top Poster
Malware Hunter
Jul 31, 2014
1,086
About malware code, access the onboard memory is a very complicated if you don't have extensive knowledge of programming.

However, but this is not related to your specific question, the operating system exposes interfaces represented by the API and in general by the system calls.
As we know a keylogger can hook API like GetAsyncKeyState() for example, by reading your keystrokes, and then what you type on the keyboard
 

Chimaira

Level 4
Thread author
Verified
Well-known
Jan 5, 2018
163
About malware code, access the onboard memory is a very complicated if you don't have extensive knowledge of programming.

However, but this is not related to your specific question, the operating system exposes interfaces represented by the API and in general by the system calls.
As we know a keylogger can hook API like GetAsyncKeyState() for example, by reading your keystrokes, and then what you type on the keyboard

Would this same process you've described extend to being able to read to the contents of a keyboard macro as it is executed?
 

tim one

Level 21
Verified
Honorary Member
Top Poster
Malware Hunter
Jul 31, 2014
1,086
Would this same process you've described extend to being able to read to the contents of a keyboard macro as it is executed?
Possible, some keyloggers are essentially based on Windows hook WH_KEYBOARD_LL. This hook allows you to intercept low-level keyboard event generated by the user. By specifying an appropriate callback (as RawInputKeyboard), it is possible to hijack all the keystroke to this function, register it in memory and then pass them to the operating system. The keystrokes are recorded in a buffer dynamically grows depending on the amount of data received.
 

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top