forked from NCSC-NL/log4shell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52a52fa
commit 3d49a26
Showing
10 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.82 KB
detection_mitigation/Examples/JNDI-Exploit-Kit_HTTP_succesful_connection.pcap
Binary file not shown.
Binary file added
BIN
+784 Bytes
detection_mitigation/Examples/JNDI-Exploit-Kit_LDAP_serialized_data.pcap
Binary file not shown.
Binary file added
BIN
+2.2 KB
detection_mitigation/Examples/jndiExploit_HTTP_succesful_connection.pcap
Binary file not shown.
Binary file added
BIN
+907 Bytes
detection_mitigation/Examples/jndiExploit_LDAP_malicious_class.pcap
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
JNDIExploit | ||
http.method = 'GET' | ||
http.uri = '/Exploit[a-zA-Z0-9]{10}.class' | ||
http.user_agent = 'Java/.*' (depends on version installed on system) | ||
http.response_mime_type = 'application/x-java-applet' | ||
http.response_body = Java-class file (0xcafebabe00 file magic) | ||
|
||
JNDI-Exploit-Kit | ||
http.method = 'GET' | ||
http.uri = '/ExecTemplateJDK[5678].class' | ||
User-agent = 'Java/.*' (depends on version installed on system) | ||
http.response_mime_type = 'application/x-java-applet' | ||
http.response_body = Java-class file (0xcafebabe00 file magic) | ||
|
||
Marshallsec | ||
http.uri = '*.class' | ||
http.user_agent = 'Java/.*' (depends on version installed on system) | ||
http.response_mime_type = 'application/x-java-applet' | ||
http.response_body = Java-class file (0xcafebabe00 file magic) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"Detection - Log4j LDAP searchResEntry response with javaSerializedData - JNDI-Exploit-Kit"; content:"|30|"; depth:1; content:"|64|"; within:8; content:"javaSerializedData"; content: "javaCodeBase"; content: "http"; within:8; content:"javaClassName"; sid:21122001; priority:1;) | ||
alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"Detection - Log4j LDAP response with JNDIExploit framework attributes"; content:"|30|"; depth:1; content:"|64|"; within:8; content:"javaClassName"; content:"javaCodeBase"; content:"http"; within:8; content:"objectClass"; content:"javaFactory"; sid:21122002; priority:1;) | ||
alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"Detection - Log4j LDAP searchResEntry response with javaSerializedData - JNDIExploit"; content:"|30|"; depth:1; content:"|64|"; within:8; content: "javaClassName"; content:"javaSerializedData"; sid:21122003; priority:1;) | ||
alert tcp $EXTERNAL_NET any -> $HOME_NET any (msg:"Detection - Log4J RMI ReturnData with Java Serialized Object"; content:"|51 ac ed 00 05|"; depth:5; sid:21122004; priority:2;) |