Hacking Articles Tips Tricks Videos Tutorials
Photo
Black Hat Ethical Hacking
How to Exploit “improper error handling” in Web Applications
How to Exploit “improper error handling” in Web ApplicationsPost Views: 16 Premium Contenthttps://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/Patreon.png Subscribe to Patreon to watch this episode.
Reading Time: 5 Minutes IntroductionIn this write up, we will explain of how Improper Error Handling Vulnerabilities can be exploited.
We will discuss and demonstrate how improper error handling vulnerabilities can be exploited in Web Applications. We will also discuss how various types of error handling can introduce various types of attack vectors.
As a bug bounty hunter or penetration tester performing web app auditing, you encounter some errors that are displayed on the page itself, we will show you how to interpret some of them, and understand how these errors can be exploited. We will go through the various improper error handling scenarios that can lead to advanced attacks.
Trending: Write up: How Misconfigurations in Linux can leave you vulnerable to Attackers Error Based Injection VulnerabilitiesThere are various types of web vulnerabilities, which can easily be exploited due to the errors the web applications throwback in the response. One of the most famous injection-based attacks is SQL. When user input is not sufficiently sanitized, SQL Injection vulnerabilities can take place. SQL errors are returned to the user, in HTTP responses. The following example shows how an SQL Injection vulnerability can be exploited using errors thrown directly into the HTTP response on the page itself.
For example, let us consider the following SQL injection payload used against a purposely vulnerable web application: DVWA (Damn Vulnerable Web Application) that we have installed:
‘http://192.168.0.40:8080/vulnerabilities/sqli/?id=%27%20order%20by%205-+&Submit=Submit#’
Following is the response we get on the page itself:
‘Unknown column ‘5’ is ‘order clause’
As you can see, to a normal user it could just be nothing, some code, but to a hacker, this response tells him that Column 5 does not exist in the table the page is interacting with.
See Also: So you want to be a hacker? Complete Offensive Security and Ethical Hacking Course
With the same concept, exploitation of other injection-based vulnerabilities can also rely on errors thrown in the response. Let’s consider the following excerpt returned in response to an XML External Entity (XXE) injection-based payload:
Let us check this error 500, which we sometimes discover, and do not know what it can indicate:
https://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/SS1-1024x464.png
The error in Image should have been handled using a custom error page instead of leaving it as it is. From the error above, we can notice that the version installed on the target is 7.0.68. A quick search on cvedetails.com reveals that Apache tomcat 7.0.68 has several vulnerabilities ranging from high to low. The[...]
How to Exploit “improper error handling” in Web Applications
How to Exploit “improper error handling” in Web ApplicationsPost Views: 16 Premium Contenthttps://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/Patreon.png Subscribe to Patreon to watch this episode.
Reading Time: 5 Minutes IntroductionIn this write up, we will explain of how Improper Error Handling Vulnerabilities can be exploited.
We will discuss and demonstrate how improper error handling vulnerabilities can be exploited in Web Applications. We will also discuss how various types of error handling can introduce various types of attack vectors.
As a bug bounty hunter or penetration tester performing web app auditing, you encounter some errors that are displayed on the page itself, we will show you how to interpret some of them, and understand how these errors can be exploited. We will go through the various improper error handling scenarios that can lead to advanced attacks.
Trending: Write up: How Misconfigurations in Linux can leave you vulnerable to Attackers Error Based Injection VulnerabilitiesThere are various types of web vulnerabilities, which can easily be exploited due to the errors the web applications throwback in the response. One of the most famous injection-based attacks is SQL. When user input is not sufficiently sanitized, SQL Injection vulnerabilities can take place. SQL errors are returned to the user, in HTTP responses. The following example shows how an SQL Injection vulnerability can be exploited using errors thrown directly into the HTTP response on the page itself.
For example, let us consider the following SQL injection payload used against a purposely vulnerable web application: DVWA (Damn Vulnerable Web Application) that we have installed:
‘http://192.168.0.40:8080/vulnerabilities/sqli/?id=%27%20order%20by%205-+&Submit=Submit#’
Following is the response we get on the page itself:
‘Unknown column ‘5’ is ‘order clause’
As you can see, to a normal user it could just be nothing, some code, but to a hacker, this response tells him that Column 5 does not exist in the table the page is interacting with.
See Also: So you want to be a hacker? Complete Offensive Security and Ethical Hacking Course
With the same concept, exploitation of other injection-based vulnerabilities can also rely on errors thrown in the response. Let’s consider the following excerpt returned in response to an XML External Entity (XXE) injection-based payload:
HTTP/1.1 500 Internal Server ErrorContent-Type: application/xmlContent-Length: 2467<?xml<root<errors<errormessagejava.io.FileNotFoundException: file:///test/root:x:0:0:root:x:0:0:root:/root:/bin/bashAs we can observe, a 500 Internal Server Error was thrown, but the requested file /etc/passwd was read and returned an HTTP response. daemon:x:1:1:daemon:/usr/sbin:/bin/shbin:x:2:2:bin:/bin:/bin/shsys:x:3:3:sys:/dev:/bin/shLeaking Internal Software VersionsImproper Error handling is often not directly exploited, but unhandled error display to the user can reveal sensitive information that can lead to further exploitation.Let us check this error 500, which we sometimes discover, and do not know what it can indicate:
https://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/SS1-1024x464.png
The error in Image should have been handled using a custom error page instead of leaving it as it is. From the error above, we can notice that the version installed on the target is 7.0.68. A quick search on cvedetails.com reveals that Apache tomcat 7.0.68 has several vulnerabilities ranging from high to low. The[...]
Hacking Articles Tips Tricks Videos Tutorials
Black Hat Ethical Hacking How to Exploit “improper error handling” in Web Applications How to Exploit “improper error handling” in Web ApplicationsPost Views: 16 Premium Contenthttps://www.blackhatethicalhacking.com/wp-content/uploads/2022/09/Patreon.png…
following link shows a full list of CVEs registered against this version: https://www.cvedetails.com/vulnerability-list/vendor_id-45/product_id-887/version_id-199716/Apache-Tomcat-7.0.68.html
As you can see, among the vulnerabilities listed in the link provided above, there is a serious one, an RCE (Remote Code Execution) vulnerability present, which can be exploited under specific conditions. It is a vulnerability in the CGI Servlet which is only exploitable when running on Windows in a non-default configuration in conjunction with batch files.
This means, that if you can study the exploit and demonstrate a working Proof of Concept (POC), you can achieve having remote access to that server directly.
Trending: Offensive Security Tool: WEF (WiFi Exploitation Framework) Logical Based VulnerabilitiesThere are different scenarios when vulnerabilities such as Apple goto fail, can be introduced due to improper error handling. Apple’s goto fail bug was caused due to a single line of insecure code, that is used for validating ‘invalid certificates’ incorrectly. This can result in an invalid certificate being quietly accepted as valid, in apple software.
Below is an example of that:
Similarly, many developers try to avoid errors in the development phase to ease the business for their company, by disabling important security features. If the code is moved to production with these changes, it can lead to security vulnerabilities.
Android SSL bypass also can take place, here is another example:
Trending: Common and Uncommon types of SQL Injection Username enumeration through inconsistent error-based messagesSometimes, some developers tend to return detailed error messages to a user on login pages.
Here is a known example showing an error when a user attempts to log in with a username that does not exist in its database:
`Username does not exist`
This gives an attacker a hint that the specific username entered, does not exist, it is communicating with the backend’s database to fetch this error message.
The same concept applies if a user enters a valid username, but an incorrect password and the following error message is displayed:
`Password is incorrect`
These types of detailed error messages are great feedback for username enumeration-based attacks such as Fuzzing and Brute-Forcing using these errors in the process.
Another type of error that is commonly seen in features such as `Forgot Password`.
When you use [...]
As you can see, among the vulnerabilities listed in the link provided above, there is a serious one, an RCE (Remote Code Execution) vulnerability present, which can be exploited under specific conditions. It is a vulnerability in the CGI Servlet which is only exploitable when running on Windows in a non-default configuration in conjunction with batch files.
This means, that if you can study the exploit and demonstrate a working Proof of Concept (POC), you can achieve having remote access to that server directly.
Trending: Offensive Security Tool: WEF (WiFi Exploitation Framework) Logical Based VulnerabilitiesThere are different scenarios when vulnerabilities such as Apple goto fail, can be introduced due to improper error handling. Apple’s goto fail bug was caused due to a single line of insecure code, that is used for validating ‘invalid certificates’ incorrectly. This can result in an invalid certificate being quietly accepted as valid, in apple software.
Below is an example of that:
if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) goto fail;goto fail;… other checks …fail:… buffer frees (cleanups) …return err;This code snippet is shown in the example and the excerpt above has ‘goto’ fail lines. The second line always executes leading to an SSL verification bypass. This additional line appeared to have been added to the code by mistake, done by the developer. This simple mistake can lead to a security problem and consequences.Similarly, many developers try to avoid errors in the development phase to ease the business for their company, by disabling important security features. If the code is moved to production with these changes, it can lead to security vulnerabilities.
Android SSL bypass also can take place, here is another example:
TrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() {@Overridepublic X509Certificate[] getAcceptedIssuers() {return new java.security.cert.X509Certificate[] {};}@Overridepublic void checkClientTrusted(X509Certificate[] chain, String authType)throws CertificateException {}@Overridepublic void checkServerTrusted(X509Certificate[] chain, String authType)throws CertificateException {}}};// SSLContext contextcontext.init(null, trustAllCerts, new SecureRandom());As you can see from the above code snippet, it will accept any certificate by overwriting the functions `checkClientTrusted`, `checkServerTrusted`, and `getAcceptedIssuers`. This type of coding mistake, to handle errors can also lead to serious security flaws and consequences.Trending: Common and Uncommon types of SQL Injection Username enumeration through inconsistent error-based messagesSometimes, some developers tend to return detailed error messages to a user on login pages.
Here is a known example showing an error when a user attempts to log in with a username that does not exist in its database:
`Username does not exist`
This gives an attacker a hint that the specific username entered, does not exist, it is communicating with the backend’s database to fetch this error message.
The same concept applies if a user enters a valid username, but an incorrect password and the following error message is displayed:
`Password is incorrect`
These types of detailed error messages are great feedback for username enumeration-based attacks such as Fuzzing and Brute-Forcing using these errors in the process.
Another type of error that is commonly seen in features such as `Forgot Password`.
When you use [...]
Hacking Articles Tips Tricks Videos Tutorials
following link shows a full list of CVEs registered against this version: https://www.cvedetails.com/vulnerability-list/vendor_id-45/product_id-887/version_id-199716/Apache-Tomcat-7.0.68.html As you can see, among the vulnerabilities listed in the link provided…
this feature, it allows you to input your email id so it can send you a password reset link, using the message below:
`A New Password has been sent to your registered email id`
However, when an email ID does not exist in the system’s database, it could show the following error:
`Account or Email not found`
Again, such a detailed error message often allows an attacker to enumerate email addresses.
Ideally, a generic error message should be shown when there is a failed attempt to log in and reset emails and passwords, so it will not give more details to an attacker. ConclusionOften times you will encounter these types of errors as you perform your assessments or bug bounty recon, either through browsing directly the website or when you perform URL gathering and screenshotting. And now that you have seen what each one means, you will interpret these errors based on follow-up, to see if you can exploit them and earn your bounty.
Knowing how to exploit improper error handling vulnerabilities, and also how to use such vulnerabilities to perform even more advanced attacks, can increase your arsenal of attacks and help you test a web app more effectively using various methods of attack.
See Also: Hacking Stories: When two young hackers played war games with Pentagon References:
⦿ owasp.org/www-community/Improper_Error_Handling
⦿ nakedsecurity.sophos.com/2014/02/24/anatomy-of-a-goto-fail-apples-ssl-bug-explained-plus-an-unofficial-patch/
⦿ mobile-security.gitbook.io/mobile-security-testing-guide/android-testing-guide/0x05g-testing-network-communication
We hope that this write up has taught you something new. If you enjoyed it, the best way that you can support us is to share it! If you’d like to hear more about us, you can find us on LinkedIn, Twitter, YouTube.
Are u a security researcher? Or a company that writes articles or write ups about Cyber Security, Offensive Security (related to Information Security in general) that match with our specific audience and is worth sharing?
If you want to express your idea in an article contact us here for a quote: info@blackhatethicalhacking.com https://www.blackhatethicalhacking.com/wp-content/uploads/2022/03/Merch.png Recent Articles* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/08/Security-Engineer-vs.-Software-Engineer-300x150.png Security Engineer vs. Software EngineerAugust 30, 2022
* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/08/SQL-Injection-300x150.png Common and Uncommon types of SQL InjectionAugust 22, 2022
* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/08/Google-Hacking-300x150.png Find Hidden Info using Google Dorking manually, and Automated using PagodoAugust 2, 2022
* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/07/White-Box-vs-Black-Box-Pentesting-300x150.png The Difference between White-Box and Black-Box PentestingJuly 26, 2022 https://www.blackhatethicalhacking.com/wp-content/uploads/2022/06/OffSec-Course.png Offensive Security & Ethical Hacking CourseBegin the learning curve of hacking now!
The post How to Exploit “improper error handling” in Web Applications first appeared on Black Hat Ethical Hacking.
___________________________
@hacking_Attack
@Hacking_Video
`A New Password has been sent to your registered email id`
However, when an email ID does not exist in the system’s database, it could show the following error:
`Account or Email not found`
Again, such a detailed error message often allows an attacker to enumerate email addresses.
Ideally, a generic error message should be shown when there is a failed attempt to log in and reset emails and passwords, so it will not give more details to an attacker. ConclusionOften times you will encounter these types of errors as you perform your assessments or bug bounty recon, either through browsing directly the website or when you perform URL gathering and screenshotting. And now that you have seen what each one means, you will interpret these errors based on follow-up, to see if you can exploit them and earn your bounty.
Knowing how to exploit improper error handling vulnerabilities, and also how to use such vulnerabilities to perform even more advanced attacks, can increase your arsenal of attacks and help you test a web app more effectively using various methods of attack.
See Also: Hacking Stories: When two young hackers played war games with Pentagon References:
⦿ owasp.org/www-community/Improper_Error_Handling
⦿ nakedsecurity.sophos.com/2014/02/24/anatomy-of-a-goto-fail-apples-ssl-bug-explained-plus-an-unofficial-patch/
⦿ mobile-security.gitbook.io/mobile-security-testing-guide/android-testing-guide/0x05g-testing-network-communication
We hope that this write up has taught you something new. If you enjoyed it, the best way that you can support us is to share it! If you’d like to hear more about us, you can find us on LinkedIn, Twitter, YouTube.
Are u a security researcher? Or a company that writes articles or write ups about Cyber Security, Offensive Security (related to Information Security in general) that match with our specific audience and is worth sharing?
If you want to express your idea in an article contact us here for a quote: info@blackhatethicalhacking.com https://www.blackhatethicalhacking.com/wp-content/uploads/2022/03/Merch.png Recent Articles* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/08/Security-Engineer-vs.-Software-Engineer-300x150.png Security Engineer vs. Software EngineerAugust 30, 2022
* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/08/SQL-Injection-300x150.png Common and Uncommon types of SQL InjectionAugust 22, 2022
* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/08/Google-Hacking-300x150.png Find Hidden Info using Google Dorking manually, and Automated using PagodoAugust 2, 2022
* https://www.blackhatethicalhacking.com/wp-content/uploads/2022/07/White-Box-vs-Black-Box-Pentesting-300x150.png The Difference between White-Box and Black-Box PentestingJuly 26, 2022 https://www.blackhatethicalhacking.com/wp-content/uploads/2022/06/OffSec-Course.png Offensive Security & Ethical Hacking CourseBegin the learning curve of hacking now!
The post How to Exploit “improper error handling” in Web Applications first appeared on Black Hat Ethical Hacking.
___________________________
@hacking_Attack
@Hacking_Video
owasp.org
Improper Error Handling | OWASP Foundation
Improper Error Handling on the main website for The OWASP Foundation. OWASP is a nonprofit foundation that works to improve the security of software.
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Tryhackme Anonymous Makine Çözümü
https://cdn-images-1.medium.com/max/600/1*A72fdpP0Sp6T9j4_bUQJpw.png
Açıklama: Selam arkadaşlar, Tryhackme platformunda bulunan ‘Anonymous’ isimli makinenin çözümünü sizinle paylaşıyor olacağım.Bu makinede…
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Tryhackme Anonymous Makine Çözümü
https://cdn-images-1.medium.com/max/600/1*A72fdpP0Sp6T9j4_bUQJpw.png
Açıklama: Selam arkadaşlar, Tryhackme platformunda bulunan ‘Anonymous’ isimli makinenin çözümünü sizinle paylaşıyor olacağım.Bu makinede…
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Medium
Tryhackme Anonymous Makine Çözümü
Açıklama: Selam arkadaşlar, Tryhackme platformunda bulunan ‘Anonymous’ isimli makinenin çözümünü sizinle paylaşıyor olacağım.Bu makinede…
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Manifold MEV Bounty Competition: Launch Event [Video + Resources]
https://cdn-images-1.medium.com/max/1920/1*IkYv3sEqMEm0_VF4YjoQ1g.jpeg
On Monday, 19th September we were delighted to host the Manifold MEV Bounty Competition: Launch Event! This event gave all the information…
Continue reading on Encode Club »
___________________________
@hacking_Attack
@Hacking_Video
Manifold MEV Bounty Competition: Launch Event [Video + Resources]
https://cdn-images-1.medium.com/max/1920/1*IkYv3sEqMEm0_VF4YjoQ1g.jpeg
On Monday, 19th September we were delighted to host the Manifold MEV Bounty Competition: Launch Event! This event gave all the information…
Continue reading on Encode Club »
___________________________
@hacking_Attack
@Hacking_Video
Medium
Manifold MEV Bounty Competition: Launch Event [Video + Resources]
On Monday, 19th September we were delighted to host the Manifold MEV Bounty Competition: Launch Event! This event gave all the information…
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
3 CYBERSECURITY THREATS TO WATCH OUT FOR
https://cdn-images-1.medium.com/max/2600/1*K_GWnRTvKoVl5V_VNAdhmA.jpeg
Infiltrations, data breaches, spear phishing and brute force attacks are some of the online threats you’ll find out there. Cyber security…
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
3 CYBERSECURITY THREATS TO WATCH OUT FOR
https://cdn-images-1.medium.com/max/2600/1*K_GWnRTvKoVl5V_VNAdhmA.jpeg
Infiltrations, data breaches, spear phishing and brute force attacks are some of the online threats you’ll find out there. Cyber security…
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Medium
3 CYBERSECURITY THREATS TO WATCH OUT FOR
Infiltrations, data breaches, spear phishing and brute force attacks are some of the online threats you’ll find out there. Cyber security…
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
Your Credentials Are In Plain Sight
https://cdn-images-1.medium.com/max/1200/1*mrjg21WcjOlbHGS9rtlJgw.png
My credentials are obvious. I couldn’t believe it until now. Once upon a time, there was a story that needed to be told. And so, the…
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Your Credentials Are In Plain Sight
https://cdn-images-1.medium.com/max/1200/1*mrjg21WcjOlbHGS9rtlJgw.png
My credentials are obvious. I couldn’t believe it until now. Once upon a time, there was a story that needed to be told. And so, the…
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Medium
Your Credentials Are In Plain Sight 😱
My credentials are obvious. I couldn’t believe it until now. Once upon a time, there was a story that needed to be told. And so, the…
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
POW of Ethereum Suffers Replay Attack
https://cdn-images-1.medium.com/max/1600/0*isC3SsKZ9Ugzrrk2
Old Ethereum network sees a price drop of 18%
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
POW of Ethereum Suffers Replay Attack
https://cdn-images-1.medium.com/max/1600/0*isC3SsKZ9Ugzrrk2
Old Ethereum network sees a price drop of 18%
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Medium
POW of Ethereum Suffers Replay Attack
Old Ethereum network sees a price drop of 18%
Hacking Articles Tips Tricks Videos Tutorials
Photo
Hacking on Medium
You all are vulnerable — Social Engineering. Here’s a solution. The Uber hack 2022.
https://cdn-images-1.medium.com/max/2600/0*tBgcfwCl3yOFf0Eu
I am sure you have all heard of the Uber Hack 2022, where apparently an 18-year-old hacked into the entire Uber system.
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
You all are vulnerable — Social Engineering. Here’s a solution. The Uber hack 2022.
https://cdn-images-1.medium.com/max/2600/0*tBgcfwCl3yOFf0Eu
I am sure you have all heard of the Uber Hack 2022, where apparently an 18-year-old hacked into the entire Uber system.
Continue reading on Medium »
___________________________
@hacking_Attack
@Hacking_Video
Medium
You all are vulnerable — Social Engineering. Here’s a solution. The Uber hack 2022.
I am sure you have all heard of the Uber Hack 2022, where apparently an 18-year-old hacked into the entire Uber system.
Kam1n0 - Assembly Analysis Platform
http://www.kitploit.com/2022/09/kam1n0-assembly-analysis-platform.html
___________________________
@hacking_Attack
@Hacking_Video
http://www.kitploit.com/2022/09/kam1n0-assembly-analysis-platform.html
___________________________
@hacking_Attack
@Hacking_Video
KitPloit - PenTest & Hacking Tools
Kam1n0 - Assembly Analysis Platform
Kam1n0 v2.x is a scalable assembly management and analysis platform. It allows a user to first index a (large) collection of binaries into different repositories and provide different analytic services such as clone search and classification. It supports multi-tenancy access and management of assembly repositories by using the concept of Application. An application instance contains its own exclusive repository and provides a specialized analytic service. Considering the versatility of reverse engineering (https://www.kitploit.com/search/label/Reverse%20Engineering) tasks, Kam1n0 v2.x server currently provides three different types of clone-search applications: Asm-Clone, Sym1n0, and Asm2Vec, and an executable classification based on Asm2Vec. New application type can be further added to the platform.
A user can create multiple application instances. An application instance can be shared among a specific group of users. The application repository read-write access and on-off status can be controlled by the application owner. Kam1n0 v2.x server can serve the applications concurrently using several shared resource pools.Kam1n0 was developed by Steven H. H. Ding (http://stevending.net/) and Miles Q. Li (http://milesqli.github.io/) under the supervision of Benjamin C. M. Fung (http://dmas.lab.mcgill.ca/fung/) of the Data Mining and Security Lab (http://dmas.lab.mcgill.ca/) at McGill University in Canada. It won the second prize at the Hex-Rays Plug-In Contest 2015 (https://hex-rays.com/contests/2015/). If you find Kam1n0 useful, please cite our paper:S. H. H. Ding, B. C. M. Fung, and P. Charland. Kam1n0: MapReduce-based Assembly Clone Search for Reverse Engineering (https://drive.google.com/file/d/0BzRSjM7kjy-rZWUtRnFXR0ZpSjg/view?usp=sharing). In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (SIGKDD), pages 461-470, San Francisco, CA: ACM Press, August 2016.S. H. H. Ding, B. C. M. Fung, and P. Charland. Asm2Vec: boosting static representation robustness for binary clone search against code obfuscation and compiler optimization. In Proceedings of the 40th IEEE Symposium on Security and Privacy (S&P), 18 pages, San Francisco, CA: IEEE Computer Society, May 2019.Asm-CloneAsm-Clone applications try to solve the efficient subgraph search problem (i.e. graph isomorphism problem) for assembly functions (Application Type: Asm-CloneThe original clone search service used in Kam1n0 v1.x.Currently support Meta-PC, ARM, PowerPC, and TMS320c6 (experimental).Support subgraph clone search within a certain assembly code family. + Good interpretability of the result: breaks down to subgraphs.+ Accurate for searching within the given code family.+ Good for differing various patches or versions for big binaries.- Relatively more sensitive to instruction set changes, optimizations, and obfuscation.- Need to pre-define the syntax of the assembly code language.- Need to have assembly code of the same chosen family in the repository.
___________________________
@hacking_Attack
@Hacking_Video
A user can create multiple application instances. An application instance can be shared among a specific group of users. The application repository read-write access and on-off status can be controlled by the application owner. Kam1n0 v2.x server can serve the applications concurrently using several shared resource pools.Kam1n0 was developed by Steven H. H. Ding (http://stevending.net/) and Miles Q. Li (http://milesqli.github.io/) under the supervision of Benjamin C. M. Fung (http://dmas.lab.mcgill.ca/fung/) of the Data Mining and Security Lab (http://dmas.lab.mcgill.ca/) at McGill University in Canada. It won the second prize at the Hex-Rays Plug-In Contest 2015 (https://hex-rays.com/contests/2015/). If you find Kam1n0 useful, please cite our paper:S. H. H. Ding, B. C. M. Fung, and P. Charland. Kam1n0: MapReduce-based Assembly Clone Search for Reverse Engineering (https://drive.google.com/file/d/0BzRSjM7kjy-rZWUtRnFXR0ZpSjg/view?usp=sharing). In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (SIGKDD), pages 461-470, San Francisco, CA: ACM Press, August 2016.S. H. H. Ding, B. C. M. Fung, and P. Charland. Asm2Vec: boosting static representation robustness for binary clone search against code obfuscation and compiler optimization. In Proceedings of the 40th IEEE Symposium on Security and Privacy (S&P), 18 pages, San Francisco, CA: IEEE Computer Society, May 2019.Asm-CloneAsm-Clone applications try to solve the efficient subgraph search problem (i.e. graph isomorphism problem) for assembly functions (Application Type: Asm-CloneThe original clone search service used in Kam1n0 v1.x.Currently support Meta-PC, ARM, PowerPC, and TMS320c6 (experimental).Support subgraph clone search within a certain assembly code family. + Good interpretability of the result: breaks down to subgraphs.+ Accurate for searching within the given code family.+ Good for differing various patches or versions for big binaries.- Relatively more sensitive to instruction set changes, optimizations, and obfuscation.- Need to pre-define the syntax of the assembly code language.- Need to have assembly code of the same chosen family in the repository.
___________________________
@hacking_Attack
@Hacking_Video
KitPloit - PenTest & Hacking Tools
Leading source of security tools, hacking tools, cybersecurity and network security. Learn about new tools and updates in one place.
Sym1n0Semantic clone search by differentiated fuzz testing (https://www.kitploit.com/search/label/Fuzz%20Testing) and constraint solving. An efficient and scalable dynamic-static hybrid approach (Application Type: Sym1n0 (v2 only)Clone search by both symbolic execution (https://www.kitploit.com/search/label/Symbolic%20Execution) and concrete execution.Differentiate functions based on their different I/O behavior.Clone search conducted on the abstract syntax graph constructed from Vex IR (powered by LibVex). + Clone search across different assembly code families. For example, indexed x86 binaries but the query is ARM code.+ Subgraph clone search.+ Support a wide range of families throub LibVex. x86, AMD64, MIPS32, MIPS64, PowerPC32, PowerPC64, ARM32, and ARM64.+ An efficient dynamic-static hybrid approach.+ Ideal for analyzing firmware compiled for different processors.- Sensitive to heavy graph manipulation (such as a full flattening).- Sensitive to large scale breakdown of basic block integrity.
___________________________
@hacking_Attack
@Hacking_Video
___________________________
@hacking_Attack
@Hacking_Video
KitPloit - PenTest & Hacking Tools
Leading source of security tools, hacking tools, cybersecurity and network security. Learn about new tools and updates in one place.