Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
git.ne4u.com/akauffman/fingerprint
TrackMe is a custom, low-level http/1 and h2 server, that responds with the fine details about the request made.
It returns the ja3, akamai h2 fingerprint, header + header order, h2 frames, and much more.
You first need to generate the certificate.pem and the key.pem files.
$ mkdir certs
$ openssl req -x509 -newkey rsa:4096 -keyout certs/key.pem -out certs/chain.pem -sha256 -days 365 -nodes
Then, you need to copy the example config (and maybe edit it)
$ cp config.example.json config.json
$ nano config.json
...
You can build a binary by running go build -o TrackMe *.go
After that, just run the binary (sudo ./TrackMe
)
I wanted to extend JA3, so I created my own TLS fingerprint algorithm. It's better suited for fingerprinting TLS1.3 connections, because JA3 does not really do that, and has more datapoints. The designed is inspired by the http/2 fingerprint proposed by akamai.
It looks like this:
supported-tls-versions|supported-protocols|supported-groups|supported-signature-algorithms|psk-key-exchange-mode|certificate-compression-algorithms|cipher-suites|extensions
supported-tls-versions: Comma seperated list of supported TLS versions as sent in the supported_versions
extension.
supported-protocols: Comma seperated list of supported HTTP versions as sent in the application_layer_protocol_negotiation
extension. http/1.0 => 1.0, http/1.1 => 1.1, http/2 => 2
supported-groups: Comma seperated list of supported elliptic curve groups as sent in the supported_groups
extension.
supported-signature-algorithms: Comma seperated list of supported signatue algorithms as sent in the signature_algorithms
extension.
psk-key-exchange-mode The PSK key exchange mode as specified in the psk_key_exchange_modes
extension. Usually 0 or 1.
certificate-compression-algorithms Comma seperated list of the certificate compression algorithms as sent in the compress_certificate
extension.
cipher-suites: Comma seperated list of the supported cipher suites.
extensions: Comma seperated list of the supported extensions.
All TLS GREASE values must be omitted everywhere.
That means, a fingerprint could look something like this:
771,772|1.1,2|29,23,24|1027,2057,1025,1283,2053,1281,2054,1537|1|2|4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53|0-23-65281-10-11-35-16-5-13-18-51-45-43-27-17513-41
TCP fingerprinting wikipedia (The german version is better)
TCP/IP stack fingerprinting (lots of other links)
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.