Skip to main content

Posts

DoS with LIKE query

I was assessing an application. The application was properly sanitizing all the characters which have special meaning for SQL Injection attack. So SQL Injection was not possible in the application. But then again I came across few search modules in the application where it was taking input of part numbers to proceed. I entered single quote(') and the application was perfectly filtering it returning "Parts can't be found". Then out of curiosity I entered '%' character and observed the response. Now the application stuck into the loop of the search continuously searching.The two things I deduced from it: 1. The application was using LIKE query to search matching terms. 2. This can be used to perform a DoS by overloading the database. The % and _ qualifier is often overlooked by developers to filter as its not so devastating as other characters. They are used for matching 0 or more characters and single character respectively. $ searhterm = mysql _real_escape...

Secure Network Architecture Desing

Few days back I was going through an article on "Managing Network Security". Although it was a bit technical, it presented some fundamental idea about designing secure network architecture of an organization. I just picked up few points from the article easy-to-grasp, left the detailed and technical ones. Design a secure network architecture: 1. Make sure hosts are not permitted to access the Internet directly. They should access it through content filtering proxies capable of scanning the packets for malicious code. If they need to be connected by a NAT rule on the firewall, ensure that the necessary network and security controls (such as desktop firewall, antivirus and antispyware tools) are present on the host. 2. All emails should pass through a secure mail gateway that is capable of filtering email threats. 3. Implement strong authentication for accessing networked resources. 4. Host hardening lowers the chances of system compromise or exploitation. Stick to best practic...

Unknown Root Certifiacte Authority in Firefox-Miscommunication Drama

Mozilla has detected that an unknown certificate named as "RSA Security 1024 V3" is installed in the Firefox browser whose owners are unknown. Even RSA has denied that it is holding anything like current certificate. As per Kathleen Wilson these are the details of the certificate and he has recommended to remove it from NSS where all trusted certificates are maintained: OU = RSA Security 1024 V3 O = RSA Security Inc Valid From: 2/22/01 Valid To: 2/22/26 SHA1 Fingerprint: 3C:BB:5D:E0:FC:D6:39:7C:05:88:E5:66:97:BD:46:2A:BD:F9:5C:76 In the first communication the RSA says that it doesn't own this root. As per Kathleen: “…I have not been able to find the current owner of this root. Both RSA and VeriSign have stated in email that they do not own this root. Therefore, to my knowledge this root has no current owner and no current audit, and should be removed from NSS." Mozilla now says it has received official word from RSA that they do in fact own the root CA. Katleen say...

COM Parsing

I came across a very good post about a tool for COM parsing.This tool parses the Type lib info of the activex file and gets all the interfaces and members with in the interface and their addresses in the dll file. More information: http://ronniereverseengineering.blogspot.com/2010/03/com-vftable-parser.html

Weak Password recovery mechanism

Sarah Palin's Yahoo mail account was hacked during 2008 presidential election, reason? Phishing,MITM, XSS or Virus/Trojan? No, the correct answer is: using her publicly available information,somebody was able retrieve her password determining the answers for Password reset mechanism. These things are very abundant in today's websites. Some websites use damn weak password recovery mechanism. Even Password reset question is dead easy to guess like: the city where you born into,what is your pet's name, what's your father's middle name or which is your favorite film. The last one is damn easy to guess,reason being, you often chat to your friends about your favorite film or list favorite films. I was surprised to see that Indiatimes web mail is very lenient in employing mechanisms for recovering the forgot password. I am valid user of Indiatimes web mail. After a very long time I unsuccessfully tried to login into my account. Because I had forgot my password, I tried to...

SSLStrip on Windows whitepaper

I was today just googling my white paper on ' SSLStrip on Windows '. I was surprised that Google was now suggesting ' SSLStrip Windows' as you start typing ' SSLStrip ...' It indicates that lot of people are searching for the term. The Google search listed me some results among which few were linking to sites where I had uploaded the document e.g. my blog and scribd .com . Another result which came up was was linking to www.rmccurdy.com/scriptssslstrip%20in%20windows.pdf which took me by surprise and I was full of mixed feelings. I was happy that somebody has found it useful but at the other hand I was bit sad that he is not mentioning my name anywhere as a reference on his site. I stressed on my memory and recalled that the guy's full name is 'Robert McCurdy '. Actually we have had a lot of communications regarding his doubts over running SSLStrip on windows. Well Robert, thanks for uploading it to your site. Now one more location to download th...