IP Library › Granted Patent US 11,949,690
Granted Patent B2
US 11,949,690 · App. 18/457,752 · Granted Apr 2, 2024

System and method for detecting lateral movement using SSH private keys

Inventors: Avi Tal Lichtenstein (Tel Aviv, IL); Ami Luttwak (Binyamina, IL); Yinon Costica (Tel Aviv, IL)
Assignee: WIZ, INC.
H04L63/14
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,949,690
App. No.
18/457,752
Granted
Apr 2, 2024
Kind
B2
Abstract

A system and method for detecting lateral movement based on an exposed cryptographic network protocol (CNP) key in a cloud computing environment. The method includes: inspecting a first workload for a private CNP key, the private CNP key associated with a hash of a public CNP key; detecting in a security database a representation of the public CNP key; generating a lateral movement path, the lateral movement path including an identifier of a second workload, the second workload represented by a representation connected to the representation of the public CNP key.

Claims (60)

1. A method for detecting lateral movement based on an exposed cryptographic network protocol (CNP) key in a cloud computing environment, comprising:

inspecting a first workload for a private CNP key, the private CNP key associated with a hash of a public CNP key;

detecting in a security database a representation of the public CNP key;

detecting in the security database a representation of a second workload connected to the representation of the private CNP key, wherein the representation of the second workload corresponds to a second workload which is an exposed workload; and

generating a lateral movement path, the lateral movement path including an identifier of a second workload, the second workload represented by a representation connected to the representation of the public CNP key.

2. The method of claim 1 , wherein the workload is deployed in a cloud computing environment, and the security database includes a representation of the cloud computing environment.

3. The method of claim 1 , further comprising:

determining that the public CNP key hash of the private CNP key matches a public key hash represented in the security database by a public CNP key node.

4. The method of claim 1 , further comprising:

connecting in the security database the representation of the private CNP key to the representation of the public CNP key in response to determining that the public CNP key hash of the private CNP key matches the public CNP key hash.

5. The method of claim 1 , further comprising:

detecting that the private CNP key is stored as any one of: cleartext, and plaintext.

6. The method of claim 1 , wherein the workload is any one of: a virtual machine, and a software container.

7. The method of claim 1 , wherein the workload is a secure shell (SSH) server deployed in a cloud computing environment.

8. The method of claim 1 , wherein the private CNP key is stored in any one of: a PKCS format, and an OpenSSH format.

9. The method of claim 1 , further comprising:

detecting a user account identifier in the private CNP key;

generating a user representation representing the user account in the security database; and

connecting the user representation to the representation of the private CNP key.

10. The method of claim 1 , wherein the second workload is exposed to a network external to the cloud computing environment.

11. The method of claim 1 , wherein the private CNP key is stored in the second workload in any one of: plaintext, and cleartext.

12. The method of claim 11 , further comprising:

determining that the private CNP key is exposed.

13. The method of claim 1 , wherein the CNP is Secure Shell (SSH) protocol.

14. A non-transitory computer-readable medium storing a set of instructions for detecting lateral movement based on an exposed cryptographic network protocol (CNP) key in a cloud computing environment, the set of instructions comprising:

one or more instructions that, when executed by one or more processors of a device, cause the device to:

inspect a first workload for a private CNP key, the private CNP key associated with a hash of a public CNP key;

detect in a security database a representation of the public CNP key;

detect in the security database a representation of a second workload connected to the representation of the private CNP key, wherein the representation of the second workload corresponds to a second workload which is an exposed workload; and

generate a lateral movement path, the lateral movement path including an identifier of a second workload, the second workload represented by a representation connected to the representation of the public CNP key.

15. A system for detecting lateral movement based on an exposed cryptographic network protocol (CNP) key in a cloud computing environment comprising:

a processing circuitry; and

a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to:

inspect a first workload for a private CNP key, the private CNP key associated with a hash of a public CNP key;

detect in a security database a representation of the public CNP key;

detect in the security database a representation of a second workload connected to the representation of the private CNP key, wherein the representation of the second workload corresponds to a second workload which is an exposed workload; and

generate a lateral movement path, the lateral movement path including an identifier of a second workload, the second workload represented by a representation connected to the representation of the public CNP key.

16. The system of claim 15 , wherein the workload is deployed in a cloud computing environment, and the security database includes a representation of the cloud computing environment.

17. The system of claim 15 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

determine that the public CNP key hash of the private CNP key matches a public key hash represented in the security database by a public CNP key node.

18. The system of claim 15 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

connect in the security database the representation of the private CNP key to the representation of the public CNP key in response to determining that the public CNP key hash of the private CNP key matches the public CNP key hash.

19. The system of claim 15 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

detect that the private CNP key is stored as any one of:

cleartext, and plaintext.

20. The system of claim 15 , wherein the workload is any one of:

a virtual machine, and a software container.

21. The system of claim 15 , wherein the workload is a secure shell (SSH) server deployed in a cloud computing environment.

22. The system of claim 15 , wherein the private CNP key is stored in any one of:

a PKCS format, and an OpenSSH format.

23. The system of claim 15 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

detect a user account identifier in the private CNP key;

generate a user representation representing the user account in the security database; and

connect the user representation to the representation of the private CNP key.

24. The system of claim 15 , wherein the second workload is exposed to a network external to the cloud computing environment.

25. The system of claim 15 , wherein the private CNP key is stored in the second workload in any one of:

plaintext, and cleartext.

26. The system of claim 25 , wherein the memory contains further instructions which when executed by the processing circuitry further configure the system to:

determine that the private CNP key is exposed.

27. The system of claim 15 , wherein the CNP is Secure Shell (SSH) protocol.

Continuity (3)
Continuation 17657495 · Mar 31, 2022
Provisional Application 63170123 · Apr 2, 2021
Related Publication 20230421573A1 · Dec 28, 2023
Cited By (2)
US 12,273,372 US 12,401,683