|
There is a new password protection technology available from RSA. They split the passwords in two and store them on two separate servers in two different locations so if one server/location is compromised it does not compromise the whole password. This is interesting idea, but what about performance, and what if both servers are compromised (probably, they are going to be managed by the same entity)?
1 Comment
I would like to update you on most notable news from the PCI 2012 community meeting which took place in Orlando, Florida.
1. There were no announcements regarding any major changes in either PCI DSS or PA-DSS, but there is a tendency of expanding these standards into the new areas such as Tokenization, Mobile Payments, and P2PE (see below). 2. Tokenization guidelines will become a standard in near future which means the rules around tokenization must be followed and any token implementation must be assessed by auditors. It is still unclear whether it is going to be separate standard or part of the existing one such as PCI DSS. The standard will cover all aspects of tokenization such as token generation, token storage (token vault), usage, etc. Final delivery of the standard: 2013-2014. 3. Mobile Payments - The Mobile payments solutions are going to be divided into 3 major categories with several sub-categories – based on different technologies and hardware/software configurations. For example, smart phone based solutions fall under 3rd category. The idea is to gradually release guidelines for each and every category/sun-category, and eventually create a mobile payments standard, so most probably, the mobile payments guidelines eventually will become a standard - similar to Tokenization. There were no timelines provided for the future guidelines or standards. - New PCI Mobile Payment Acceptance Security Guidelines for Developers were released during the meeting. 4. P2PE - Next Steps: The next step is releasing the Hybrid P2PE Requirements (there is an existing draft), and the next one is going to be software P2PE. No dates were provided. - SAQ-P2PE-HW: I don’t know if you have noticed but there is new SAQ-P2PE-HW (Self-Assessment Questionnaire for Hardware/Hardware P2PE) available on PCI website since June. It still cannot be used because there are no listed PCI P2PE solutions yet. Once the P2PE solutions listing is published on the PCI website, merchants that implement PCI approved P2PE solution will be eligible to complete special SAQ which is supposed to be “easier” than regular one. Note: this is still only applicable to merchants that are eligible for SAQ. Others will still go through the regular QSA assessment. 5. New PCIP (PCI Professional) certification program was just launched (in September). The idea is that each organization would have PCIP-certified employees who understand the PCI and help to maintain PCI compliance. The difference between PCI ISA and PCIP is that PCI ISA is linked to specific employer while PCIP is a personal certification. Criteria: All candidates - training course and exam; CISSP holders - only exam; PCI ISA holders - no training or exam, can be earned automatically (I signed in already). Visa to launch its "Visa Merchant Data Secure with Point-to-Point Encryption" in 2013:
I think this is confirming the fact that -- despite all the PCI efforts -- P2PE (whether it is PCI approved or not) is the only technology that can provide a real protection for magnetic stripe payment cards. No more technical details are available at this time... Black Hat 2012 security conference starts next week in Las Vegas. I am going to both Black Hat and Def Con. It looks like Black Hat is extremely popular this year: regular room in Caesars Palace hotel, where the conference takes place, costs $900 (normally it is around $100)!
This article references a research paper describing the attack on different types of cryptographic devices including secure tokens such as RSA SecurID. There is one important detail though: the token (or other secure device) must be physically connected to the computer system in order to allow the attack (like RSA SecurID 800 which has USB connector).
I am significantly less worried about the tokens because it looks like most (important) 2 factor authentication keys are just regular devices without physical connectivity such as RSA SecurID 700. After all, the second factor in 2 factor authentication with tokens means "something you have", so if you lose your device (or leave it connected for long time without reason) you already compromise your security anyway. What I am really worried about is the statement about possible attacks on HSM devices which are permanently connected to server side systems and can be compromised using malware such as a worm or trojan with the payload crafted to crack the HSM keys and compromise the host software: "Hardware Security Modules are widely used in banking and similar sectors where a large amount of cryptographic processing has to be done securely at high speed (verifying PIN numbers, signing transactions, etc.). A typical HSM retails for around 20 000 Euros hence is unfortunately too expensive for our laboratory budget. HSMs process RSA operations at considerable speed: over 1000 decryptions per second for 1024 bit keys. Even in the case of the FFF oracle, which requires 12 000 000 queries, this would result in a median attack time of 12 000 seconds, or just over three hours. We hope to be able to give details of HSM testing soon." Recently I have got a question about providing "silent login" to the business application using "generic" user account. Here is my opinion.
What this company is going to do would be called disabling "user authentication” and providing “anonymous access” in security jargon. User authentication (as part of the access control) can provide three functions: Identification, Authorization, and Accountability. In real life these functions are usually mixed together. Examples: Identification – Google Start Page (http://www.google.com/ig) wants you to log in - so they will be able to identify you in order to customize your start page (and of course to be able to shoot customized ads). It has nothing to do with your or their security – this is pure business feature. Authorization – Windows wants you to log in - to make sure you are the owner (or authorized user) of your computer. This is pure security feature. Accountability – Point of Sale application prompts the cashier to log in – in order to link his/her name to each transaction and make him/her responsible (or accountable) for POS transactions (to balance the cash at the end of shift, for performance reports, complaints, fraud protection etc.). This is both security and business feature. If they think that no one of the functions above is required for their business, then they can eliminate the access control and allow anonymous access. There are many applications without access control (for example, Windows calculator). I would not make this “feature” as a part of the generic functionality provided by the application though - because most customers still want their employees to be identified, authorized, and accountable, and this “feature” may become a security “back door” for them. I think Integrated Windows Authentication would be suitable option for them - it is common security practice which provides both “silent login” and access control features at the same time (example – SQL Server Integrated Windows Authentication). However, it is important to make sure they don’t confuse the Integrated Authentication with completely eliminated authentication (“anonymous access”). If they just remove user authentication completely, Windows logon will not protect the application because ANYONE who installs the application client (or anyone who knows the URL in case of web app) can anonymously access this application. Customization of CWE/SANS Top 25 Most Dangerous Software Errors list If you are not familiar with CWE/SANS Top 25 Most Dangerous Software Errors - it is very good list of application security vulnerabilities. However, are all these Top 25 errors in reality applicable to all types of applications? Let’s take some hypothetical software although created for specific area and using specific technology - for instance, simple retail store standalone point of sale application code written as .NET Windows Forms - and review how these Top 25 are relevant to our example.
First, let’s remove all issues that without a doubt related to WEB applications only (and therefore, irrelevant to our Windows Forms application): [4] Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') [9] Unrestricted Upload of File with Dangerous Type [12] Cross-Site Request Forgery (CSRF) [22] URL Redirection to Untrusted Site ('Open Redirect') Then, let’s remove from the list all the errors that cannot affect the managed framework such as .NET - we have another 4 errors to exclude: [3] Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') [16] Inclusion of Functionality from Untrusted Control Sphere [18] Use of Potentially Dangerous Function [20] Incorrect Calculation of Buffer Size [23] Uncontrolled Format String Now, let’s review the one more group of errors which theoretically can be applied to our application's technology and functionality, but it would be either impractical to perform such attacks or/and there are no real world examples: [1] Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') SQL injection was invented for attacks on websites. Although you can theoretically still inject the SQL statement through Windows Forms GUI, such attacks are rare, and Windows Forms GUI controls are usually more restrictive than WEB controls. Also, the scale of single workstation cannot be compared to the website database which potentially can contain data of millions of users. [2] Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') I don’t think this is relevant to the desktop application since normally the desktop application user already has access to the OS functions (can run another process). Therefore, the same OS functionality is available for application and user. [13] Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') It looks like this error mostly affects web based applications, although the description does not say so. [15] Incorrect Authorization Even though this issue theoretically can be applied to any technology and business area, I could not find any description or example which would prove that it is relevant to our case. So we have only 12 remaining errors that are applicable to our application. However, before forming the final list, I would change the priorities because different issues have different effect in our specific area (remember - retail store point of sale application), and the order does not necessarily match the original order defined by CWE/SANS. So this new list is sorted according to the prioritization which mainly takes into consideration the security standards affecting this kind of software - PCI DSS, PA-DSS, and PCI P2PE - as well as common security design principles for retail financial software. (The customized list still has the old numbers in [] for reference to the original CWE/SANS Top 25.) Top 12 Most Dangerous Security Vulnerabilities in Standalone Point of Sale Application 1. [8] Missing Encryption of Sensitive Data 2. [25] Use of a One-Way Hash without a Salt 3. [19] Use of a Broken or Risky Cryptographic Algorithm 4. [7] Use of Hard-coded Credentials 5. [14] Download of Code Without Integrity Check 6. [11] Execution with Unnecessary Privileges 7. [5] Missing Authentication for Critical Function 8. [6] Missing Authorization 9. [10] Reliance on Untrusted Inputs in a Security Decision 10. [17] Incorrect Permission Assignment for Critical Resource 11. [21] Improper Restriction of Excessive Authentication Attempts 12. [24] Integer Overflow or Wraparound In a similar way, the original CWE/SANS Top 25 list can be customized for other particular business and technology niches, such as, for example, game application for mobile device, but it is out of scope of this post and this blog. I just returned from the 2 days PCI ISA training in Florida. The environment in Orlando (sun, close proximity to Disney, pools, and bikinis) does not help to concentrate on study of such a topic. And the exam... Even though, of course, you cannot compare it to something like CISSP, but still - it would require some efforts to pass (I don't know about the results yet though). Anyway, it was good experience - observing the QSA program from inside (basically, the ISA is the same as QSA but without ability to work as QSA). Now I even better understand the reason for ambiguous definitions and weird interpretations of PCI. The PCI DSS consists of 12 main requirements. In order to validate each of 12 requirements during the audit, QSA is provided with Testing Procedures which are listed in the same document. There are total of 310 (!) testing procedures. The net duration of training is about 10 hours or 600 minutes (2 days minus time for introduction, final exam, and breaks) which leaves the instructor with less than 2 minutes per testing procedure - including explanation, samples, questions, knowledge check etc. Note: Information about PCI DSS Requirements (including Testing Procedures) and QSA Training is publicly available which allows to calculate the numbers above without any "inside" knowledge. Here is what LinkedIn is doing in order to "protect our members": "transition from a password database system that hashed passwords ... to a system that both hashed and salted the passwords". Well, this is great security innovation. They don't even talk about two factor authentication. Many online companies, who take security seriously, already implemented two factor authentication a long time ago . Social networks are not exception: both Facebook and Google have two factor authentication mechanisms.
Two factor authentication and online companies (Google, Facebook and others): http://bit.ly/KMohVO Original post about LinkedIn stolen passwords: http://bit.ly/LzGWzu LinkedIn blog about implementing salted passwords: http://bit.ly/L0iPNd |
Books
Crypto Basics
Bitcoin for Nonmathematicians: Exploring the Foundations of Crypto Payments
Hacking Point of Sale: Payment Application Secrets, Threats, and Solutions
Recent Posts
Categories
All
Archives
January 2026
|


RSS Feed


