Skip to content

open62541 Error #4

@mihaimacarie98

Description

@mihaimacarie98

python3 main.py open62541 10.100.4.10 4840 / sanity

**** Started at 2025-12-23 13:43:39.969333 ****
[-] Opening connection to 10.100.4.10:4840 (timeout: 60)
[-] Opening OPC UA session with opc.tcp://10.100.4.10:4840/
[-] Sending HEL message with 59 bytes
	[-] Setting OPN ReqLifetime to 360000
[-] Sending OPN message with 132 bytes
	[-] Got Secure Channel Id = 15
[-] Sending Create message with 166 bytes
Traceback (most recent call last):
  File "/home/mihaimac/Tools/opcua-exploit-framework/main.py", line 174, in <module>
    main()
  File "/home/mihaimac/Tools/opcua-exploit-framework/main.py", line 168, in main
    DICT_FUNCS[func_type](server_details)
  File "/home/mihaimac/Tools/opcua-exploit-framework/payloads/sanity/sanity_read_nodes.py", line 12, in attack
    opcua.create_session()
  File "/home/mihaimac/Tools/opcua-exploit-framework/protocol.py", line 315, in create_session
    create_resp = self.send_recv_parse(create_session_built)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mihaimac/Tools/opcua-exploit-framework/protocol.py", line 136, in send_recv_parse
    res = self.send_recv(msg)
          ^^^^^^^^^^^^^^^^^^^
  File "/home/mihaimac/Tools/opcua-exploit-framework/protocol.py", line 132, in send_recv
    recv = self.opcua_recv()
           ^^^^^^^^^^^^^^^^^
  File "/home/mihaimac/Tools/opcua-exploit-framework/protocol.py", line 65, in opcua_recv
    raise Exception("Got OPC UA Error: {} ({})".format(opcua_error_packet[8:], binascii.hexlify(opcua_error_packet).decode()))
Exception: Got OPC UA Error: b'' (00008780ffffffff)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions