Monday, April 30, 2012
You don't know what you don't know - or why Bruce Schneier's blog is worth reading daily - FROM BRUCE: JCS Chairman Sows Cyberwar Fears Army General Martin E. Dempsey, the chairman of the Joint Chiefs of Staff, said: A cyber attack could stop our society in its tracks. Gadzooks. A scared populace is much more willing to pour money into the cyberwar arms race. FROM BRUCE's READER: What I always want to ask folks who make these cyber-disaster claims is "How?". What is the use case where a cyber attack has a widespread impact on the lives of Americans? I'm not talking about a cyber attack that's news-worthy, and has "society stopped" because it's watching the drama unfold on TV. I just can't follow the hypothesis that a cyber attack can be more than a massive inconvenience. Point of calibration: last year my power was off for 5 days because a storm damaged the one-and-only electric power switching sub-station that powers my neighborhood and it wasn't easy to replace the switchgear that failed because adequate parts and skilled workers weren't available. This was a huge problem, forcing me and my neighbors to share gas generators to keep the food in our freezers cold. It cost me hundreds of dollars in food and fuel that I wouldn't normally have bought. That said, it was not an existential threat to the very tracks that society runs on in my neighborhood. Cyber disaster needs to be more than that! Case #1: Evil-doers find a flaw in the border gateway protocol and use it to flood the IP routing fabric with incorrect data. This could lead to no practical paths between systems on different subnets, and the end of the Internet as it currently stands. Outcome: Using our lights, and our phones for those folks who didn't jump to VOIP, the people who make routers have to figure out and fix the problem. It's Cisco, Juniper and a handful of other folks who already know who each other is. Press the answer onto CDs and use FedEx or the Post Office to send them to all your customers. A week later, the Internet is all better, and nobody dies. When I had to live without power, I had to live without the Internet because it seems all my Internet infrastructure runs on electricity. Case #2: Evil-doers use the Internet connected electric power infrastructure to switch off all the power in the US. I'm not even going to mention how hard this is, every electric power installation is unique, and they all use redundant sources of supply, but SCADA is a potential problem. Outcome: Lots of angry people, more than Case #1, call to complain that the power is off (unless they went to VOIP). The electric companies unplug their routers and turn the electric power back on. It probably takes 24-48 hours, because those networked SCADA devices are labor saving. Half the impact of my storm. Case #3: Evildoers mount a sustained, covert, untraceable (ok I'm in sci-fi here) attacks on the DNS infrastructure of the internet block all access to the root server infrastructure. Nobody can figure out what IP goes with "www.schneier.com" . Outcome: Write this down (188.8.131.52). Well, what really happens is that the ISP who serves you already has a non-authoritative DNS that it uses to reduce outbound bandwidth. Those folks simply become the decentralized source of your DNS. It doesn't propagate as quickly, and so now it takes a month before some new www.whacky123business.com domain name works everywhere. The Internet is less cool, and the DNS admin industry (or mafia, depending on your point of view) wants somebody's head on a platter. The rest of us are back on the internet, and maybe there is a story on page 6 when the evildoer dies in a house fire with a horse's head on his bed, to mix my mafia metaphors. Bottom line, Where's the real disaster? It's not time for the annual April 1 contest, but we need to figure out what these generals could be talking about. If it's sci-fi, then it needs to go back to the fiction section. WWII was an attempt to destroy society, and at least some folks thought the use of nuclear weapons was a reasonable tactic. I want to read the cyber problem for which folks think a 50TJ nuclear blast is the appropriate response. I just don't think it exists
Posted by Anonymous Meat Popsicle at 11:28 AM
Thursday, April 26, 2012
REAL WORLD SOA APPLICATION SECURITY -- PART TWO: Authentication (AuthN) matters, really. Authentication (AuthN) matters. When we started on our SOA ERP/CRM System Project, I was amazed by the sheer volume of hand wringing from our SOA vendor about "security". Their flagship SOA security project was an OEM from "AmberPoint", when SUN purchased AmberPoint, well, that went out the window. So, not being dead from the neck up, I went looking for options (though my vendor assured me that, within two years, they would have a replacement product that would be amazing! Eighteen months later, I am still waiting, to be amazed that is). In the world of SOA security, there are many players, but a few really stand out. We have a great investment in Oracle products, some that have been implemented well, some that have not been implemented well. To be fair, Oracle stuff, by and large works as advertised, and then some, if you can stomach the price point. From my vantage point, it was not about cost, but about risk. What would be the risk of having our authoritative source for the user object having an Oracle System of Record (SOR) and the authoritative source for authentication being an Oracle product? Too much for my blood. We then bumped into a vendor, "Layer 7 Technologies". From a due diligence perspective, we had a side-by-side bake off: Oracle Corporate, with some excellent Systems Engineering talent; and Layer 7 Tech with their top Ninja, "Ben". Some high stakes technical guy, dog on the street butt sniffin' later, we had validated that the Layer 7 SOA Gateway would meet or exceed all our CY 2011 ~ 2013 requirements. After the bake off, during the integration proof of concept (POC) the Oracle integrator (name withheld to protect the innocent) with five weeks of prep time, could not stand up the Oracle Identity Mgmt Suite during the five day on site POC. Finally, on day five, at 6PM, the system engineer from Layer 7 walked the Oracle integrator team members thru setting up their products and they were able to connect (this did though, highlight the level of expertise that Layer 7 brought to the dance). Needless to say, I went looking for another integrator on Monday morning. That leads me to the most stellar Identity Management Integrator team I have ever worked with, IDMWORKS, (but that is another story...). So, our ERP/CRM application we are building is replacing a pool of ERP/CRM systems in use by companies we've purchased over the last fifteen years (one ring to rule them all!). When we purchase someone, it's about profit (as it should be) so we are slow to re-brand them (or mess with them), as long as they stay profitable. If that slips, we assimilate them in a BORG'ish fashion. So, the short version: our shiny new web user interface requires the consumer/user to enter their USERID in the form of an LDAP "UserPrincipalName" (UPN), which allows the system to differentiate an external actor in an easy manner. Our logon sequence has a few steps: (1.) we validate the credentials from our Apache front end; (2.) we pass these thru our Layer 7 SOA Gateway (recursive data validation and payload inspection) via SSL; (3.) then Layer 7 hands the credentials off to Oracle Virtual Directory(OVD) over SSL; (4.) then OVD passes the credentials to Oracle Internet Directory (OID) (this step will make integration with Oracle Financials later, easier) over SSL; (5.) then OID uses the credentials to bind to Microsoft Active Directory, over SSL. If the bind is successful, OVD queries it's subordinate ATTRIBUTE stores for ATTRIBUTES associated with the UPN and passes this back to the web U/I which caches the ATTRIBUTE(s) and/or ENTITLEMENTS. The web U/I can use the cached ROLE and ENTITLEMENT data, based on the relative risk rating of the business process and associated SERVICE(s) and/or OPERATION(s). The web U/I does some rudimentary ROLE to UPN, ATTRIBUTE matching before passing a request to a back end SERVICE or OPERATION, however, our Layer 7 SOA gateway protects each service and/or operation individually by validating the ROLE, UPN and/or ENTITLEMENT ATTRIBUTE data presented (as well as the source of the request), before allowing the customer/user to call the back end SERVICE or OPERATION. This pattern is in response to several OWASP "top ten risks". For inter-process or service to service communications we require a UML Sequence Diagram from the development team to document the communication pattern and AUTHENTICATION token requirements, before we can set up and enforce technical controls between these forms of system level communications. Our Layer 7 SOA Gateway device(s) can craft a custom token (STS) based on the WSDL of the SERVICE or OPERATION being consumed. ### More on this topic later ###
Posted by Anonymous Meat Popsicle at 8:56 AM
Tuesday, April 24, 2012
CISPA: Stop the Cybersecurity-Industrial Complex Posted by James Wilson Should Congress commission private companies to spy on you? As John Perry Barlow wrote, "Relying on the government to protect your privacy is like asking a peeping tom to install your window blinds." This week the House (our peeping toms) will be considering CISPA, the Cyber Intelligence Sharing and Protection Act. This is the same bill, HR 3523, we warned you about last week. There will almost certainly be last-minute changes to the bill, or a cybersecurity bill with a different name or bill number could pass. We have grave doubts that ANY "cybersecurity" bill is necessary. As the following letter shows, it will likely do more harm than good. That's why I sent this letter to Congress using DownsizeDC.org's Hands off the Internet Campaign, and invite you to join me. You may borrow from or copy this... I object to CISPA, the "cybersecurity" bill that will be considered this week. As Anjali Dalal explains, CISPA... (http://balkin.blogspot.com/2012/04/review-of-cyber-intelligence-sharing.html) * Authorizes private companies to share "cyber threat intelligence" with the feds, without defining what that means. If I use a word like "bomb" in an IM, could that be detected and shared with authorities? * Puts surveillance authority in the hands of private entities, circumventing the protections of the Fourth Amendment. * Gives private companies legal immunity for snooping on us. * Places almost no limits on what the feds can do with the personal information it collects. Moreover, I fail to see why we need any "cybersecurity" bill... * There is ZERO credible evidence that the nation's vital infrastructure is vulnerable to cyber attacks (http://www.wired.com/threatlevel/2012/02/yellowcake-and-cyberwar/) * It may actually STIFLE cybersecurity innovations as companies spend resources complying with regulations rather than investing in innovative new tools. (http://thehill.com/business-a-lobbying/222783-moving-too-fast-on-cybersecurity) I agree that networks have the right to defend themselves from attacks. But they should ALSO compete with each other to provide the most privacy protections for consumers. Decentralized, diversified cybersecurity systems in a free market is the best way to minimize the damage of any particular attack. Instead, it appears that too many big firms are only too willing to merge with the Federal Megastate to form a multi-billion dollar "Cybersecurity-Industrial Complex." (http://www.wired.com/threatlevel/2012/02/yellowcake-and-cyberwar/) Make a stand for the Fourth Amendment! Make a stand for free markets! Stop CISPA! END LETTER You can send your letter using DownsizeDC.org's Educate the Powerful System. You can also tweet members of Congress. Our allies at the Electronic Frontier Foundation have a tool with which you can find your Representative's Twitter handle: https://cyberspying.eff.org/ We invite you to follow us at https://twitter.com/#!/ddcdispatch and tell us of your anti-CISPA activisim with the hashtags #cispa and #downsizedc Jim Babka President DownsizeDC.org, Inc
Posted by Anonymous Meat Popsicle at 10:32 AM
Thursday, April 19, 2012
SOA SECURITY GOVERNANCE IS LIKE MAGIC -- "...Every great magic trick consists of three parts or acts. The first part is called "The Pledge". The magician shows you something ordinary: a deck of cards, a bird or a man. He shows you this object. Perhaps he asks you to inspect it to see if it is indeed real, unaltered, normal. But of course... it probably isn't. The second act is called "The Turn". The magician takes the ordinary something and makes it do something extraordinary. Now you're looking for the secret... but you won't find it, because of course you're not really looking. You don't really want to know. You want to be fooled. But you wouldn't clap yet. Because making something disappear isn't enough; you have to bring it back. That's why every magic trick has a third act, the hardest part, the part we call "The Prestige"." ..."
Posted by Anonymous Meat Popsicle at 7:35 PM
LESSONS IN LEADERSHIP -- In my INFOSEC Shop we have few rules, but the ones we have are iron clad: (1.) No F.U.D., ever; (2.) if you don't have a business driver, then it's a Science Fair Project and we don't do that; (3.) if you can't take the time to refine your requirements, we have a problem; (4.) everyone in the INFOSEC team is a customer service professional first, if the CISO can go to an employees desk to answer questions, you better believe you can too. Our customer service mindset is a non-negotiable condition of employment, if you can't live it, you won't be happy here, and I want my folks happy here. It's no secret that I have a military background. Some would say that that has a downside in the Corporate Boardroom, I'm not sure that I agree. It teaches you how to lead people, NOT manage people. You can manage resources: budget; widgets; time but not people. People are smart, they will allow themselves to be lead, by a leader that they respect. If they don't respect you, they will fight you, passive aggressive behaviors will set in and then comes entropy. As a leader, you cannot be the sheepdog with your people, you need to be the wolf. If you have people that cannot be motivated, you need to cull the heard or the other people will notice and know that you are weak and tolerant of non-performers. Every non-performer makes the workload of each performer that much harder. Tolerating sub-par performance creates a poor work environment for your team. Remember why, you, the leader were hired, to deliver RESULTS, not to molly coddle under achievers. Granted, there is probably a seat for everyone at the great banquet table that is any large Corporation, let the under achievers migrate to, say, the HR Department?
Posted by Anonymous Meat Popsicle at 12:52 PM
REAL WORLD SOA APPLICATION SECURITY -- PART ONE: gain and maintain, vendor control. "...The stories you are about to hear are true, the names have been changed to protect the innocent..." What do I mean by, "...gain and maintain, vendor control?..". It's a take off of the sales guy mantra, "...gain and maintain, customer control...". I once sold Encyclopedia's for a living (after watching, "Glengary, Glenross", I just had to experience this mindset on my own). People who make their paycheck, selling you stuff are a unique category of life form, we classify them as human, but this, in retrospect, may be a mistake. When we started down this path with our main "...two second advantage..." vendor, they put their hearts and souls into a valiant attempt to "...gain and maintain, customer control...". When they finally realized that WE had turned the tables, and "...gained vendor control....", the look on their faces told me that we had crushed their very souls. Oh well. They aren't paying me, my current employer is paying me, to deliver. The crying, hand wringing, and actual screaming by the vendor employees was impressive. At the end of a meeting on Information Security Planning, one of the lead vendor System Engineers stayed behind, closed the door and told me (while screaming), "...I hate you, I hate working with you, I hate every breath I have to take on this project...", he was quite animated and quite serious. He actualy looked releived when Security walked him off the property that day, the stress of having to actualy deliver and NOT dictate to the customer was more than he could bear. The primary vendor's issue was that, "...no one does security like that!...", oh, well we are going to do it that way, "...we do security for Banks for crying out loud and even they don't want this much security...", oh, well I came from two of the worlds largest financial services institutions and sadly for YOU, I refuse to recreate the mistakes I saw there! In the end, the CIO and CTO backed my play with the purse strings and off we went. (After briefing the CIO and CTO this week on progress with the Global User Provisioning Project (based on Oracle's IDM stack, more on this later), they were ecstatic, INFOSEC that delivers key business functionality is a new dynamic in the Board Room, bundle that with zero tolerance for F.U.D. and people get kinda jiggy about INFOSEC, it warms the cockles of my cold dark heart). Sadly (for them)[my vendor], our approach to SOA and Web Services Security (right out of the OWASP and OASIS-OPEN playbooks) slowly began to gain traction, and surprisingly, that tired old horse, actually waddled over to the trough and began to drink. Over the last two years, we've made dramatic strides to the point where we had a nice, relaxing lunch meeting with that Vendor, and a few other big dogs in the Identity Mgmt space and our primary vendor offered, on their own dime, to code up a XACML PeP to live in their JAVA Message Bus. No doubt, they have big plans for selling this to other customers, no doubt they will forget all about that quiet afternoon long lunch, but in the end, it's all about business requirements and results.
Posted by Anonymous Meat Popsicle at 12:24 PM
THE HR DEPARTMENT DILEMA -- There is always a dichotomy to all things Human Resources. There is what we think the HR Department is there for, and what the HR Department is really there for. Not to mention the wise old Warrant Officer truism, "...there are always three sides to every story: yours; mine; and the cold, hard, inconvenient truth. Our Company, though it's been around now for over seventy years now, has not taken the HR functions particularly seriously. PII data protection aside, we've always been pretty loosey goosey about employee data. This is manageable though. The real problems come from beauracracy for the sake of beauracracy. The Harvard Business review's number one reason that employees leave their current employer. Human nature is so, sadly predictable by those of us with children. If you don't get what you want by asking Mommy, go ask Daddy. Why is it that the folks that inhabit the dark cabal of the HR Department, forget these basic tenets of human nature when they walk through the doors in the morning, on the way to the coffee machine? As an International Company, our propensity to foster the "...absentee Manager..." dynamic, just exacerbates the problems, like David Bowie so aptly put it, "...it's like putting out a fire, .... with gasoline...". Our INFOSEC team is hard at work doing a XACML implementation in our home grown SOA Services, ERP/CRM system. They are learning alot and making daily break through's. But they are not alone, like most business's today, we form matrix'd teams that are task organized, coming together for projects or chunks of projects. And, if you are the absentee Manager of one of these matrix'd teams, and your on site, front line leaders are working on their loaner brains (well, the cat IS away...). How do you hold folks feet to the fire? How do you (parents, cover your children's ears please) keep folks RESPONSIBLE for their tasks? Not an easy task...because, when you do...they run to the HR Department and file a compliant. Yes, (insert big sigh here), the minions don't really like working for a living, so they file a complaint with the HR Department, and the HR folks, run to the kitchen to search for a bigger spoon with which to lap up the complaints. What can I say? After explaining to the HR folks that since the complainer, actually sat in a daily meeting for thirty days, I naturally assumed that they clearly understood their role, deliverable's and responsibilities in the project. Imagine my surprise after being told that this was NOT the case, and that since I thought that it WAS the case, I needed "...sensitivity training..."? This is not a joke... Needless to say, I will be a wee bit "...HR prickly..." for a while, but, IT in general is a thankless business. If you can't pat yourself on the back and like it, you need another job.
Posted by Anonymous Meat Popsicle at 8:53 AM