Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

please help me

Hello, my name is rootdefault, I am a junior pentesting and I need help with one thing. Does anyone know how to create viruses that freeze mouse and keyboards?😁😭
sigh

You should check out the Help Docs
The fucking LEGEND.
(Sep 29, 2024 07:11 PM)rootdefault Wrote:  Hello, my name is rootdefault, I am a junior pentesting and I need help with one thing. Does anyone know how to create viruses that freeze mouse and keyboards?😁😭

Like a driver crash maybe? I wouldn't know about that. Just be careful around Windows' monolithic kernel.
(Sep 29, 2024 07:11 PM)rootdefault Wrote:  Hello, my name is rootdefault, I am a junior pentesting and I need help with one thing. Does anyone know how to create viruses that freeze mouse and keyboards?😁😭

Mouse/keyboard input can be "frozen" by repeatedly calling the Windows API BlockInput in a loop, which prevents re-enabling through actions like CTRL+ALT+DEL. A call interval of 100 ms ensures the block remains effective from CTRL, ALT, DEL.

When testing, be sure to include a safeguard in your code, such as a delay or exit condition, to avoid locking yourself out. Otherwise, a manual restart or power-off will be required.

:-)
just remove it from usb , all done :P
I suggest going on YouTube cause it can teach you step by step plus it has a video cuz that's my go to.
(Sep 30, 2024 12:34 PM)hackermenace247 Wrote:  I suggest going on YouTube cause it can teach you step by step plus it has a video cuz that's my go to.

Then you're a skid. You wont learn much from youtube at all especially if your copy pasting from youtube or any other source. 👍
not tryna be rude but i think a junior pentester should be familiar enough with the windows api to know how to freeze input correct me if im wrong tho
(Sep 30, 2024 01:44 PM)0x77ff Wrote:  not tryna be rude but i think a junior pentester should be familiar enough with the windows api to know how to freeze input correct me if im wrong tho

Sometimes we don't know everything and the person who was explaining to me about that topic explained it to me halfway well, that's why I came to the forum.
(Sep 30, 2024 02:47 AM)__main__ Wrote:  Mouse/keyboard input can be "frozen" by repeatedly calling the Windows API BlockInput in a loop, which prevents re-enabling through actions like CTRL+ALT+DEL. A call interval of 100 ms ensures the block remains effective from CTRL, ALT, DEL.

When testing, be sure to include a safeguard in your code, such as a delay or exit condition, to avoid locking yourself out. Otherwise, a manual restart or power-off will be required.

:-)

The reply from_main_ answers the question. From user mode, BlockInput is most effective solution, and repeating the call prevents escaping by pressing Ctrl,Alt,Del. (The small wait interval also ensures that the calling thread doesn't consume too much user mode CPU time).