OPC DA VB Wrapper (OPCDAAUTO) and DCOM Hardening|Classic OPC: DA, A&E, HDA, XML-DA, etc.|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
OPC DA VB Wrapper (OPCDAAUTO) and DCOM Hardening
Avatar
Doug Precure
New Member
Members
Forum Posts: 1
Member Since:
10/23/2014
sp_UserOfflineSmall Offline
1
03/02/2023 - 11:30
sp_Permalink sp_Print

Does anyone know how applications using the old VB Wrapper need to be modified to conform to the DCOM hardening requirements?

Avatar
Crystal Kent
New Member
Members
Forum Posts: 1
Member Since:
03/09/2023
sp_UserOfflineSmall Offline
2
03/15/2023 - 03:43
sp_Permalink sp_Print

I also want to know it. Please someone reply over here. Thanks in advance.

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
3
03/15/2023 - 11:54
sp_Permalink sp_Print

The VB wrapper is no different from any other OPC COM client and will have the same issues.

If you only using to talk to servers running on the same host then you probably will not need to change anything.

If you are using remotely then you will have to follow the instructions for DCOM applications that cannot be modified.

Avatar
Jiyang Hu
Member
Members
Forum Posts: 10
Member Since:
06/10/2014
sp_UserOfflineSmall Offline
4
03/15/2023 - 14:00
sp_Permalink sp_Print

For VB6 hardening you need to focus on CoInitializeSecurity(). Wherever it is invoked pass RPC_C_AUTHN_LEVEL_PKT_INTEGRITY instead of RPC_C_AUTHN_LEVEL_NONE as authentication. If your application doesn't use it at all you could be fine. This is based on my hardening experience for a normal VB6 application without DCOM callback.

You need reach out to this wrapper's vendor for a new hardened version if possible. If vendor doesn't support it anymore, you can check my previous post here for a DCOM free/hardening free solution. Good luck!

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: CHIRANTAN JOSHI
Guest(s) 29
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1350
Posts: 4578