sslhook | Win32 DLL | SSH Utils library

 by   strobejb C++ Version: Current License: MIT

kandi X-RAY | sslhook Summary

kandi X-RAY | sslhook Summary

sslhook is a C++ library typically used in Utilities, SSH Utils applications. sslhook has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

SSLHOOK is a Win32 DLL that allows hooking of the OpenSSL functions SSL_read and SSL_write. Version 1 is designed to work against statically-compiled versions of OpenSSL (rather than the DLL version). As such sslhook requires some preconfiguration, which requires knowledge of the relative addresses of the SSL_read and SSL_write functions in the target binary.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sslhook has a low active ecosystem.
              It has 38 star(s) with 16 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              sslhook has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of sslhook is current.

            kandi-Quality Quality

              sslhook has 0 bugs and 0 code smells.

            kandi-Security Security

              sslhook has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              sslhook code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              sslhook is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              sslhook releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sslhook
            Get all kandi verified functions for this library.

            sslhook Key Features

            No Key Features are available at this moment for sslhook.

            sslhook Examples and Code Snippets

            No Code Snippets are available at this moment for sslhook.

            Community Discussions

            Trending Discussions on sslhook

            QUESTION

            Access Violation when using struct
            Asked 2020-Dec-01 at 14:29

            I'm trying to hook OpenSSL's int SSL_connect(SSL *s) method. OpenSSL 1.0.2l version.

            Here's the source code:

            SSL_connect

            SSL structure

            SSL_SESSION structure

            GOAL:

            Printing out any SSL_SESSION member (like ssl_version or master_key)

            THE PROBLEM:

            I get Access Violation Exception when trying to access the SSL *s parameter inside my hook method. Is there anything wrong with my structure? I don't think I must map all of the members of SSL and SSL_SESSION, because I found that SSLHook library doesn't do this - link

            I'm able to inject the dll successfully, it does work when I'm not trying to access the parameter.

            THE CODE:

            ...

            ANSWER

            Answered 2020-Dec-01 at 14:29

            I don't think I must map all of the members of SSL and SSL_SESSION, because I found that SSLHook library doesn't do this

            If you take a closer look you see, that they do not map everything but they keep the member order and they duplicate all members up to the "point" in the struct that is relevant for them. Ignoring the original padding in struct injections is almost always very critical and in general undefined behavior I guess, so you can be lucky to obtain a quite deterministic crash here :) So you can either provide the full struct or at least a reduced struct with the according final padding "before" your session member pointer.

            Source https://stackoverflow.com/questions/65092131

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install sslhook

            Running SSLHOOK on Win32 requires the following registry settings:. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows AppInit_DLLs: <full-path-to-sslhook.dll> LoadAppInit_DLLs: 0x1. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows AppInit_DLLs: <full-path-to-sslhook.dll> LoadAppInit_DLLs: 0x1.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/strobejb/sslhook.git

          • CLI

            gh repo clone strobejb/sslhook

          • sshUrl

            git@github.com:strobejb/sslhook.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular SSH Utils Libraries

            openssl

            by openssl

            solid

            by solid

            Bastillion

            by bastillion-io

            sekey

            by sekey

            sshj

            by hierynomus

            Try Top Libraries by strobejb

            HexEdit

            by strobejbC++

            winspy

            by strobejbC

            injdll

            by strobejbC

            supercalc

            by strobejbJavaScript

            Neatpad

            by strobejbC