Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/otiselevatorcompany/udp_rx
This is still currently pre-1.0 software, breaking changes are likely to be made until a 1.0 release
udp_rx is a program created to tunnel udp traffic through a TLS 1.3 connection. It is useful for securing old protocols that cannot be updated to tcp or for some reason, can't use dtls. If you use this tool you should firewall off the udp ports used by the protocol to prevent redirection by a malicious third party and should firewall off the UDP port used by udp_rx.
Please see gen_keys_readme.txt for creating/using SSL keys with udp_rx
Please see IPTABLES_RULE.txt for a sample IPTABLES command to firewall off a port protected by udp_rx
Otis udp_rx software has been designed to utilize information security technology described in the Category 5 – Part 2 of the Commerce Control List, within Part 774 of the Export Administration Regulations (“EAR”)(15 CFR 774). However, the Otis udp_rx software has been made publicly available in accordance with Part 742.15(b) of the EAR and is therefore not subject to U.S. export regulations.
Before downloading this software, be aware that the country in which you are located may have restrictions related to the import, download, possession, use and/or reexport of encryption items. It is your responsibility to comply with any applicable laws and regulations pertaining the import, download, possession, use and/or reexport of encryption items.
You have a UDP packet that you want to be sent to 192.168.1.250
with a destination port of of 4444
. The data field of that packet is
[10,9,8,7,6,5,4,3,2,1]
Take that packet and prepent the ip address and port to the data field (4444
== [11,92]
(big endian)).
[192,168,1,250,11,92,10,9,8,7,6,5,4,3,2,1]
Send that packet to localhost:55555
(or whatever port udp_rx is configured to listen to)
udp_rx will attempt to create a tls connection to another instance of udp_rx running on 192.168.1.250
. If it succeeds:
udp_rx will recieve the packet and perform two different actions depending on platform.
udp_rx will recieve the packet and craft a udp packet from sender:src_port
to destination:dest_port
as if udp_rx was never in the middle, so that it can be recieved by the desination application.
udp_rx will recieve the packet and create a udp packet from localhost:random_port
to desination:dest_port
. It will prepend the sender's IP address and src_port to the data. So if the sender was 192.168.1.100
, from port 4445
the packet data field would be:
[192,168,1,100,11,93,10,9,8,7,6,5,4,3,2,1]
This program is released under the MIT License. For details, please see the LICENSE file
This program uses the following open source libraries
Copyright 2018, Otis Elevator Company
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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.