How can I secure a COM API ?

Praveer Kumar (pkumar) 1 Reputation point
2022-03-21T15:22:12.4+00:00

When I install my application, it install the com object. So user can see the COM APIs using the OLE/COM Object viewer. Using the pentest(https://pentestlab.blog/tag/inprocserver32/) they can temper the registry value at the HKLM(Which is only accessible by admin) path.

Is there any way to protect the COM API's ? How can I secure My COM APIs ?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,523 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,636 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
468 questions
{count} votes