Reverse shell process detection method and device, electronic equipment, computer storage medium and program product
A detection method and reverse technology, applied in the computer field, can solve problems such as insufficient detection accuracy of reverse shell processes, and achieve the effect of improving detection efficiency and accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] figure 1 A flow chart of a method for detecting a reverse shell process according to an embodiment of the present invention is shown.
[0037] Such as figure 1 As shown, the flow process of the reverse shell process detection method according to an embodiment of the present invention includes:
[0038] Step 102, acquiring process information of the target process.
[0039] The process information of the target process includes: the process identifier of the target process, the value of the file descriptor in the target process, the inode number of the file descriptor pointing to the file, and the file descriptor pointing to the file mode value.
[0040] Specifically, the process identifier can be described as PID_t, the file descriptor can be described as FD_t, the index node number (inode number) of the file descriptor pointing to the file can be described as INode_t, and the mode value pointing to the file of the file descriptor can be described as : Mode_t.
[0...
Embodiment 2
[0052] On the basis of Embodiment 1, a method for constructing a directed graph according to an embodiment of the present invention includes:
[0053] Step 202, adding the process information to the initialization graph structure to obtain an intermediate graph structure.
[0054] First, each target process needs to be used as a node in the initialization graph structure, and the process information of each target process is used as the node attribute information of the node to construct the intermediate graph structure.
[0055] Second, due to the large number of target processes, effective target processes need to be selected as valid nodes. Specifically, for each of the target processes, if the mode value of the file descriptor in the target process pointing to the file is a pipe type or a socket type, then the target process is used as a node of the initialization graph structure . So far, the process information of the target process determined as a node is set as the n...
Embodiment 3
[0063] On the basis of embodiment one and embodiment two, such as figure 2 As shown, the method for constructing a directed graph according to an embodiment of the present invention includes:
[0064] Step 302, for each of the target processes, when the mode value of the file descriptor of the target process pointing to a file is a pipe type or a socket type, add the target process as a node to the initialization graph in structure.
[0065] Step 304, for any first node and second node in the initialization graph structure, judge whether the process identifiers of the first node and the second node are different, and if the judgment result is yes, go to step 306 , otherwise, go to step 310.
[0066] The process identifier is used as the identification code of the process to identify the unique identity of the process. Therefore, when the process identifiers of the first node and the second node are different, it can be determined that the two belong to different target proc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



