misp_analyzer.py aktualisiert
This commit is contained in:
		
							parent
							
								
									f52710cfb6
								
							
						
					
					
						commit
						ce289041ba
					
				@ -61,43 +61,31 @@ class MispAnalyzer(interface.BaseAnalyzer):
 | 
				
			|||||||
                "query_string": "md5_hash:*",
 | 
					                "query_string": "md5_hash:*",
 | 
				
			||||||
                "attr": "md5",
 | 
					                "attr": "md5",
 | 
				
			||||||
                "timesketch_attr": "md5_hash",
 | 
					                "timesketch_attr": "md5_hash",
 | 
				
			||||||
                "include_community": False,  # Start with own org only
 | 
					                "include_community": True,
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "query_string": "sha1_hash:*",
 | 
					                "query_string": "sha1_hash:*",
 | 
				
			||||||
                "attr": "sha1",
 | 
					                "attr": "sha1",
 | 
				
			||||||
                "timesketch_attr": "sha1_hash",
 | 
					                "timesketch_attr": "sha1_hash",
 | 
				
			||||||
                "include_community": False,
 | 
					                "include_community": True,
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "query_string": "sha256_hash:*",
 | 
					                "query_string": "sha256_hash:*",
 | 
				
			||||||
                "attr": "sha256",
 | 
					                "attr": "sha256",
 | 
				
			||||||
                "timesketch_attr": "sha256_hash",
 | 
					                "timesketch_attr": "sha256_hash",
 | 
				
			||||||
                "include_community": False,
 | 
					                "include_community": True,
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "query_string": "filename:*",
 | 
					                "query_string": "filename:*",
 | 
				
			||||||
                "attr": "filename",
 | 
					                "attr": "filename",
 | 
				
			||||||
                "timesketch_attr": "filename",
 | 
					                "timesketch_attr": "filename",
 | 
				
			||||||
                "include_community": False,
 | 
					                "include_community": True,
 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                "query_string": "message:*",
 | 
					 | 
				
			||||||
                "attr": "ip-src",
 | 
					 | 
				
			||||||
                "timesketch_attr": "message",
 | 
					 | 
				
			||||||
                "include_community": False,
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                "query_string": "message:*",
 | 
					 | 
				
			||||||
                "attr": "ip-dst", 
 | 
					 | 
				
			||||||
                "timesketch_attr": "message",
 | 
					 | 
				
			||||||
                "include_community": False,
 | 
					 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "query_string": "source_ip:*",
 | 
					                "query_string": "source_ip:*",
 | 
				
			||||||
                "attr": "ip-src",
 | 
					                "attr": "ip-src",
 | 
				
			||||||
                "timesketch_attr": "source_ip",
 | 
					                "timesketch_attr": "source_ip",
 | 
				
			||||||
                "include_community": False,
 | 
					                "include_community": True,
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
        return to_query
 | 
					        return to_query
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user