Recent

Author Topic: Windows low-level APIs and Security  (Read 791 times)

ArminLinder

  • Sr. Member
  • ****
  • Posts: 314
  • Keep it simple.
Windows low-level APIs and Security
« on: November 27, 2023, 10:32:01 am »
Hi all,

I need to hook the keyboard to make a background process activated by a special "hotkey" keystroke. As I understand it, I need to hook SetWindowsHookExW.

I expect the Windows security/UAC fighting me.

I can sign using a Microsoft Authenticode Extended Certificate.

What I do not want is to force the customer to somehow lower Windows securitity barriers, set GPOs, or download my program through the MS store. Having the exe and executing it with admin privileges should suffice. OS: Windows 7/10/11.

Can this be done with Lazarus, and if yes, where do I find instructions how to set up anything needed, like ACLs (if applicable) or Manifests of whatever Microsoft has invented to prevent malicious software to do exactly what I intend to do.

Thnx, Armin.
Lazarus 3.3.2 on Windows 7,10,11, Debian 10.8 "Buster", macOS Catalina, macOS BigSur, VMWare Workstation 15, Raspberry Pi


ArminLinder

  • Sr. Member
  • ****
  • Posts: 314
  • Keep it simple.
Re: Windows low-level APIs and Security
« Reply #2 on: November 27, 2023, 04:32:19 pm »
Fibonaccy,

u'r genius :-)

Many thanks, Armin.
Lazarus 3.3.2 on Windows 7,10,11, Debian 10.8 "Buster", macOS Catalina, macOS BigSur, VMWare Workstation 15, Raspberry Pi

 

TinyPortal © 2005-2018