{"id":443,"date":"2013-09-02T17:40:57","date_gmt":"2013-09-02T17:40:57","guid":{"rendered":"http:\/\/securityresearch.cysecurity.org\/?p=443"},"modified":"2013-09-02T17:42:00","modified_gmt":"2013-09-02T17:42:00","slug":"echo-mirage-a-generic-network-proxy","status":"publish","type":"post","link":"https:\/\/securityresearch.cysecurity.org\/?p=443","title":{"rendered":"Echo Mirage &#8211; A generic Network Proxy!"},"content":{"rendered":"<p>Echo Mirage is a generic network proxy. It uses DLL injection and function hooking techniques to redirect network related function calls so that data transmitted and received by local applications can be observed and modified which can\u2019t be performed by wireshark.<\/p>\n<p>To see inside encrypted channels, we can use tools like echo mirage. This tool allows you to see and edit the data being set and received within an SSL session. \u00a0It also does a great job of looking at unencrypted traffic as well which can also be done using wireshark.<\/p>\n<p>A thick client is vulnerable to the following issues:<\/p>\n<ul>\n<li>Improper error Handling,<\/li>\n<li>SQL injection<\/li>\n<li>Parameter tampering<\/li>\n<li>DOS<\/li>\n<li>Broken Access Control<\/li>\n<li>Session Management<\/li>\n<\/ul>\n<p>We have two options in echomirage:<\/p>\n<ul>\n<li>Launch application from echomirage (ctrl+E)<\/li>\n<\/ul>\n<p><a href=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-444\" alt=\"21\" src=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/21-300x103.png\" width=\"300\" height=\"103\" srcset=\"https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/21-300x103.png 300w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/21.png 429w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<ul>\n<li>Injecting into a running process.(ctrl+I)<\/li>\n<\/ul>\n<p><a href=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/22.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-445\" alt=\"22\" src=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/22-209x300.png\" width=\"209\" height=\"300\" srcset=\"https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/22-209x300.png 209w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/22.png 345w\" sizes=\"auto, (max-width: 209px) 100vw, 209px\" \/><\/a><\/p>\n<p>Select the process for which you want to monitor the traffic. The below screenshot is the intercepted traffic of the application<\/p>\n<p><a href=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/23.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-446\" alt=\"23\" src=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/23-300x168.png\" width=\"300\" height=\"168\" srcset=\"https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/23-300x168.png 300w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/23-1024x575.png 1024w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/23-660x371.png 660w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/23.png 1601w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In this application, sql queries were intercepted and we can try to modify the queries in order to check and perform SQL injection. In the below image, we are trying to find the version of the database being used by the application.<\/p>\n<p><a href=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/24.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-447\" alt=\"24\" src=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/24-300x168.png\" width=\"300\" height=\"168\" srcset=\"https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/24-300x168.png 300w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/24-1024x575.png 1024w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/24-660x371.png 660w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/24.png 1601w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The query to get the version of database was executed and the result has been shown in the below image also we were able to update the whole database. \u00a0This is just a basic over look about this tool and we can perform a lot more things while performing a security review over a thick client.<\/p>\n<p><a href=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/25.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-448\" alt=\"25\" src=\"http:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/25-300x168.png\" width=\"300\" height=\"168\" srcset=\"https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/25-300x168.png 300w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/25-1024x575.png 1024w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/25-660x371.png 660w, https:\/\/securityresearch.cysecurity.org\/wp-content\/uploads\/2013\/09\/25.png 1601w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The Security Research Team<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Echo Mirage is a generic network proxy. It uses DLL injection and function hooking techniques to redirect network related function calls so that data transmitted and received by local applications can be observed and modified which can\u2019t be performed by wireshark. To see inside encrypted channels, we can use tools like echo mirage. This tool\u2026 <span class=\"read-more\"><a href=\"https:\/\/securityresearch.cysecurity.org\/?p=443\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5,3,4],"tags":[],"class_list":["post-443","post","type-post","status-publish","format-standard","hentry","category-security","category-hacking","category-privacy","category-research"],"_links":{"self":[{"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=\/wp\/v2\/posts\/443","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=443"}],"version-history":[{"count":1,"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=\/wp\/v2\/posts\/443\/revisions"}],"predecessor-version":[{"id":449,"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=\/wp\/v2\/posts\/443\/revisions\/449"}],"wp:attachment":[{"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/securityresearch.cysecurity.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}