My name is Paul Suley. I'm a principal security consultant at Symantec. I joined Symantec after the AtStake acquisition. So prior to Symantec, I worked for AtStake. I still do the same job that I did for AtStake, just in a different organization. So I primarily focus on doing penetration testing of different environments. I don't have a handle because usually I find my name is confusing enough to stop most people. Okay, so what I'm going to go over, first I'm going to go over why kiosk security. Seems like sort of an out there talk. People haven't talked about it in a while. There's not a whole lot of information out there on it. Then I'm going to slowly walk up the OSI model in terms of the different level of protections. What I'm going to do is I'm going to go kind of fast through the first couple of levels because the first couple of levels are probably fairly intuitive to most of you. Put the computer in a lock. And then we're going to get into some of the application security aspects. And here where I'm going to focus is how kiosks interact with web apps and how developers need to think about their applications in the context of a web application, which not all of them are currently doing. So if you go to Merriam-Webster, it defines small standalone device providing information and services on the computer screen. Not the best definition I've seen out there. According to this, your PDA could be a kiosk. What I'm going to do is I'm going to expand it a little bit farther and say that a kiosk is a public accessible terminal that provides a single application for use by end users. This talk is primarily going to focus on Windows kiosks that run the Internet Explorer or a similar browser. There are many different kiosk platforms out there. Some run Linux, some run Windows, some run proprietary operating systems. For the sake of this discussion, I'm going to focus on the Windows-based operating systems because that's the ones you see out there most often. You probably have seen them in multiple places. You've probably used them. If you look around any of the casinos, you see them everywhere. You probably used one to get your plane ticket. It's come in here. Also, I have chosen to do kiosk security because the methodologies I'm going to be talking about apply to other arenas besides just kiosks. For instance, Citrix applications. Citrix applications operate similar to a kiosk. The only difference is you use your web browser and a plug-in web browser to access a single application instead of actually standing directly at the device. When we talk about kiosks, we have to understand where they sit within the environment. I found this one on my own. I'm not sure if you've seen this. I'm not sure if you've seen this. It's online. I sanitized it a little bit so I didn't pick on the particular vendor. You can see they tend to live in fairly complex environments. This particular one had a 80-gig hard drive on it for storing information that is processing. It also had internal connections to public servers where it was able to pull off media. It also had connections out to third-party websites. In terms of a public computer, kiosks are interesting to hackers because it's almost like sitting in a terminal within the environment. If you go sit at the admin's desk, you have a nice computer in front of you. You have access to internal resources. You have access to the internet. With a kiosk, you end up with a similar environment. Getting into why kiosks. Kiosks have been growing a lot recently. You can't go into any retail store without seeing them now. CEOs, CTOs, they all love them because they have access to the internet. It makes all the customers who believe that if you want something done right, do it yourself. It makes all of them happy because now you have the ability to go and do things yourself without having to actually interface with the store staff. The store staff are happy because they don't have to interface with you. It drives revenue. Most of the places, they find that people who are using the kiosks tend to stay in the store longer. They get their answers to their questions faster, etc. From a CTO perspective, in terms of risk, one of the things that you have to consider is PCI compliance, which is the Payment Card Industry Data Security Standard, which defines how environments are supposed to behave and how they're supposed to be protected if they store, transmit, or process credit card data. Some of the kiosks that I'm going to show in a few seconds actually do that, so they fall under PCI compliance. The PCI standards are fairly strict and fairly well-defined. Deploying a public terminal that correctly protects credit card data can be a challenge. For the IT administrator, it's basically the ultimate lockdown challenge. The Windows operating system was designed to be all things to all people. It's supposed to give you accessibility to everything. You're supposed to be able to get everywhere in the operating system within only a few clicks. When you're deploying a kiosk, what you're doing is you're trying to take that operating system and limit it down to do just one thing. That can be somewhat daunting to go through and turn all of those things off. There's network segmentation issues for the network admins in terms of keeping the kiosks away from protected devices. They can be difficult to manage. These are all out at retail stores, so there's usually not an IT person on site or near the environment. This may be in Oklahoma. It might be in South Dakota. You probably don't have IT admins at every single one of those places. The best thing you have is calling the store manager and hoping that he's a computer guy. Also, what I'm going to get into later is that these redefine the risk of web applications. I'm going to be taking a look at how vulnerabilities in web applications can actually be a threat to the kiosk environment and therefore a threat to your internal network. If you saw some of the Black Hat talks, a lot of the Black Hat talks focused around cross-site scripting. There was cross-site scripting in AJAX. There was cross-site scripting in MySpace. Spy Dynamics did a talk about cross-site scripting in Armageddon. There was cross-site scripting in Armageddon. For those of you who have attended Black Hat, some of this is going to cover cross-site scripting again to a certain extent. From the hacker's perspective, why is the hacker interested in a kiosk? This doesn't really require an advanced skill set, at least not until you actually get onto the device and into the terminal. Then how far you get into the network is dependent upon your skills from attacking from an internal resource. In many large corporations, I'll have the Skittle security model, crunchy on the outside, soft and chewy on the inside. Once you're on an internal network, it's not too hard to progress in. A lot of the attacks, they just actually use existing Windows functionality that somebody forgot to turn off. Similar to a server, you have potential access to multiple users. It's a single server that's used by multiple people. It's a single server. It's multiple users. Therefore, the pay-off is a little bit better. Many scenarios, it's an anonymous attack. You don't have to authenticate to these devices when you do an attack. You just have to walk up there and start using the terminal. Nobody asks who you are or why you're there or, in most cases, what you're doing. Jumping into the first-level attack that most people look at, the first-level attack is your physical security risks. Can you reboot the machine and get away? I haven't actually gets it started up in a different mode, can you control see out of the login, can you put sniffers in place, can you, maybe you just want to steal the hardware because it's got an 80 gig hard drive and you need one. So physical security risks are fairly straight forward, some of the more advanced devices also need to protect against things such as shoulder surfing because people are processing their credit cards. And there are multiple ways of protecting these, I'm actually going to show a couple of kiosks here in a second. In addition to the cases you put them in, you can also do things such as using thin terminal clients, you don't necessarily use a PC that has a bunch of USB jacks to it. You instead go with something that's a little closer to the Mac cube where there's not a whole lot of interface into it. Also depending on how secure you need it to be, there's also alarms, cameras and privacy screens that can be put into place. And actually one of the cool things on the more advanced kiosks is they have a floor mat. One of the things that people are concerned about when dealing with web applications or kiosk applications is what if the person walks away in the middle of doing something, right? You're in Target, you're using their kiosk, you look over and your kid's running away so you run away from the terminal to go chase the kid, all of your information is still there on the screen. One of the ways that they protect against that is they put floor mats in front of the kiosks which determine when people step onto them and step off of them. That way when you step off the mat, it triggers an application reboot. And therefore it clears all the information out of there and you don't have to worry about the application storing the data when you walk away. Just take a look at some of the different ones out there. These are two that I saw just at Office Max and Best Buy. These are your fairly simple deployments. All they're doing is locking up the CPU in the cabinet but you still have direct access to a normal keyboard, a normal monitor and in these cases a printer environment. To go one step farther, this is one from Vons. They also have custom cabinets so here you don't have to worry about people plugging stuff directly into the environment as much because it's in a protected case and the keyboard is actually integrated into the structure. And then you're going to have to forgive my photography here. My digital camera doesn't take really good pictures of black environments. In addition to using a customized keyboard, you can also control what keys are available to the user by not providing them. So here if you look at the keyboard, it's only got one big red mouse button as opposed to two mouse buttons. That limits the person's ability to be able to do right click attacks and get to the added functionality through right clicking. Also if you count the keys or you squint really hard, you'll notice that keys such as Alt and Control have been removed from the environment as well as the F keys. That is a really easy way for people to prevent attacks. From using specialized keys and key stroke combinations, Control C, Alt F4, et cetera. And I also took a picture of the Target one because you can't really read it on the projector screen but one of the things that the Target kiosk allows you to do is that first button says Target Visa Account Management and the other is Target Card Account Management. So if you want to actually manage your Target credit card. You can do that from a publicly accessible kiosk. I didn't take a look at the exact details because I didn't have a Target Visa card and I didn't particularly feel safe in putting it through the system. But some of these kiosks that are available, they do process credit card information. That's why PCI compliance issues come into place. On the far right hand side you can see the card swipe for you to swipe your card. If you're swiping your card that means there's tracked data. Which is being processed by the machine. Which is also a very sensitive topic for those who are under PCI compliance. Target isn't the only one that does this. I've seen card readers on things such as Home Depot kiosks, et cetera. But I'm going to be referring back to this deployment because this is one of the more sensitive deployments with the kiosks. I also noticed these. While searching out on the internet. I don't know if there's any physical vulnerabilities to these. I haven't actually physically seen these in person. I just couldn't imagine that a computer geek who is a hacker would walk past these and not try and screw with them. Moving on to the network layer. There's two attack scenarios and everyone thinks of the first attack scenario. Someone comes in, tries to break into the kiosk and goes from the kiosk outward. But there's also another attack scenario. The kiosk people don't always take into account. And that's a hacker in the internal network who wants to go in and actually take control of the kiosks. The kiosk in the VONS scenario, that takes your employment record. So if you want to apply for a job and you want to put your name, your address, all of the schools you went to, all that sort of personally identifiable information into it, you can. That might be of interest. Also, for somebody who wants to go after credit card data, they might not want to take the risk of going after the internal database. The internal database has firewalls, it has IDS systems, it has IMNs who are actively monitoring the devices, or at least that's what everyone hopes. But the kiosks tend to be just another PC that's out in the environment and aren't always monitored as heavily. So rather than going to where the data gets stored in the database, the attacker may choose to go to where the data is being input, which is the kiosk. And this also gets back to the fact that a lot of the data that's being stored in the kiosk, a lot of retailers have very flat, very open networks. So chances are the attacker could probably be able to ping the kiosk if they wanted to. And then once they have access to the network, there's a whole series of attacks you would be able to do. You can download your tools from the internet to do your malicious attacks. If the kiosk is using a wireless connection, because the kiosk is in a retail store that wasn't originally wired for networks, one of the ways you could generate wireless data as traffic to do your web cracking would be to use the kiosk. You would have an idea of what was being sent and when, because you're controlling the device. As far as DMZ setup for kiosks, network-wise it can be very complicated, especially if it's under PCI compliance, because you have to segment the network so specifically. You can see someone from Visa smiling in the corner there. But basically you have to have filters on everything. You have to have filters on everything. Filters on where it can go out on the internet. Traditionally with these web applications, you only want them to go to your store. You don't want them to go to evilhacker.com and start downloading to the tool. So you have to have network filters about where they can go out on port 80. You also have to have filters in terms of where they can get to internally. Chances are there's only a handful of places you want the kiosk to be able to touch internally. And if you don't have filters in place, the person's going to be able to roam the network pretty freely. And I actually have an example of that a little bit later. And then also to protect from the internal attacker, you want to make sure that access to the kiosk is limited to only the administrator's zone. Logging can be done a couple of ways. You can do the traditional syslog type setups. Some applications also log over the internet. So if you go out and you get a commercial off the shelf system, what some of these will do is they will post to a website all of their log data. The problem is that a lot of these kiosks are designed by people who don't know how to log. They're people who are concerned about ease of use and functionality. So they may not be logging everything that you need to be able to log. It's just going to log up time and CPU usage and things like that. And the other two are fairly straightforward in terms of protecting the environment. As far as host and application OS security risks, this is something that I've also used when attacking Citrix devices. And basically what it is is escaping the system in a way the administrator wasn't thinking about and using that for malicious intent. For instance, with SysTrade functionality, your anti-virus software may allow a user to create a log of the quarantine report. I used that once to create a file with a weird extension. I then double clicked on the file and that brought up the open with dialogue and that gave me a list of the applications that were already installed that I could use for the environment. So I'm going to go ahead and do that. Also attackers are going to be going after local file access. So you want to make sure you have your NTFS in place, abusing search functionality. I remember Internet Explorer is an integrated part of your operating system. So in addition to being able to search the net, you can also search your local hard drive and mounted drives. Other things people can do, you can use a customized shell. So what some kiosks do is it will have a... It will launch Internet Explorer by changing that reg key. So rather than launching explorer.exe, it will launch iExplorer.exe. The rest are some fairly good tools in terms of being able to lock down the environment. Microsoft published the Microsoft shared computer toolkit. This will have most of the OS stuff that you need to be able to do. It's a toolkit that was designed to allow people to secure public access terminals. So it walks through many of the controls that you would need to have in place. In order to lock down a public access terminal. So that's pretty good. This URL has some nifty XP registry tricks. So some of the things that I'm talking about, such as disabling print to file, et cetera. Those aren't as well documented. This URL actually has tons of little XP registry tricks. I won't profess that all of them are exactly accurate, but usually you can find out the reg key name and go to MSDN from there. And the last way you can secure the environment. If you want to go with Windows. Is use a Windows CE in kiosk mode. Microsoft publishes a Windows CE that's available for kiosks. Although when I was doing my research for the device, one of the things I found was a blog by an MSDN developer who said that even after two service packs, the Windows CE kiosk does not work for all installations. There are just too many different variations of how kiosks work and how kiosks are deployed for it to work for every installation. They took their best shot based on the most common practices. Some of these are fairly obvious. You probably know them if you've ever launched a public access terminal before, so I'm not going to go through each of them in depth. I'm going to talk a little bit about software restriction policy and IE in a few seconds. These are also fairly common attacks. These also help protect against some of the physical security attacks that you may see. Just to give an example of hidden functionality that people tend not to think about, if you go into IE and you do file and you go to print, one of the checkboxes is print to file. Sometimes overlooked, small checkbox, people don't think about it, but if you select print to file, it'll allow you to go here and if you have NTFS permissions in place, the worst they can do is write to temporary directories, unless of course they click on network, which then allows you to get to map network drive and if you don't see the drive you like, you can go out on the internet, start looking for one that you do like. So just from going from something as simple as print to file, you then are able to get to things such as map network drive, connect using a different user name, another functionality you probably didn't think was associated with that. With software restriction policy, I've seen a lot of people just deploy software restriction policy without really understanding that none of the solutions are perfect. For instance, one of the ways that software restriction policy works is it allows you to take a digital signature of the application and then you can create an allow or deny role based on that application. So for instance, let's say you don't want to allow command.exe to run. You import it into the software restriction policy, it creates a digital signature of command.exe and then no matter where I copy command.exe on the operating system, it won't run because the signature matches. Downside to that is you're basing your rules based off of the signature. So if you use a different application, then you can bypass the software restriction policy. For one engagement, all I did is I went off to FreshMeet and I found some person's customized command shell which had different font colors and allowed you to do tilde CDs and stuff like that. I downloaded that. I got command line access using a different command shell than the one Microsoft provides. Restrict run, if you're deploying Windows 2000, one of the ways you can restrict applications from running is using the restrict run process. However, this is name-based and it's only applications launched through Android. It's the Explorer process. If the application is launched through the system process, the application will still be allowed to run. So you need to be aware of the limitations of some of the tools that you're using. Whitelist is always the best solution but it is difficult to implement. Although in a kiosk situation, it's actually sometimes a little easier to implement because they are such specialized devices. And then there are the shortcuts, right? Control shift S to try to get to task manager. A lot of the people I've talked to. Who were willing to admit that they had broken into a kiosk at one time. Most of their attacks went through just doing simple key combinations. One thing I also noticed is the flying Windows key. For those Best Buy and Office Max solutions, you notice that they gave a Windows natural keyboard. Sometimes what happens is the developers are using their laptop. Their laptop is created by IBM. It doesn't have the flying Windows key. They don't actually think about it. Then it gets deployed to a kiosk that does have the flying Windows key. The flying Windows key actually does a few cool things even though it's mostly marketing. If you need the list of everything that can be shortcutted, I include the URL from Microsoft in terms of all the command line shortcuts. All right. That gets us to what I really wanted to get into which was the web application security risks. We've worked our way up, we're now at layer seven. A lot of times when you're doing a pen test of a web application, most people consider cross-site script to be less important. If you're not a target of phishing, if you're not WAMU or eBay, cross-site scripting may not have that large of an impact in your environment unless you're deploying a kiosk. I'll get to that in a second. Also administrators don't always think about authentication timeouts, what's left in cache, etc. They take the point of view, well, if you're using a public access terminal, you should have known better. We're working on our target alliances of people using home computers or trusted systems. However, if your company is actually deploying the kiosk, then there's an additional risk and you have an obligation to make sure that it works within your kiosk environment. So if some of you attended Black Hat, White Hat Security did a presentation on how to use cross-site scripting to be able to do and map attacks, to be able to establish URLs of site. It's visited, how to capture keystrokes, etc. None of these use traditional browser exploits. This was all using an existing functionality within the browser. JavaScript is a programming language which has security imposed upon it by the browser. So there's a lot you can do with just existing JavaScript functionality. Some of the people I talked to, they thought, well, yeah. But if somebody clicks on it, it's not going to work. It's going to close the browser or it shuts down the machine and it all goes away and you'd have to sit there for a while in order for some of this stuff to work, to go through all the unmapped ports. And so it seems fairly esoteric. However, in a kiosk environment, it's not as esoteric. The person who is controlling the browser is you. Therefore you will sit there as long as you need to in order to collect the information that you want. And you won't close the browser. And you'll... Allow their tools to be able to go through and connect to all the different ports and start to do an attack. And the best thing for you is if the machine actually does wipe the cache after you walk away, they've just wiped away all the evidence. Most of the attack was happening in process memory, so there's a very small footprint involved. You don't need to install a machine on the code. All you need to be able to do is use a cross-site scripting attack to redirect to a website which has their tool in place. So document location works just as well as having the location bar physically present within the environment. Another scenario that people don't look into is unplanned functionality. They don't necessarily integrate the kiosk into their QA of their website, because the developers aren't necessarily aware of it or they're not... They just haven't thought to actually include it within the environment. So this is a story I got off of security. It's a security focus where somebody broke into the application by accident. This web application, what it allowed you to do is configure a URL to go to after you click log out. So you click log out and if you wanted to go to news.google.com, it would send you to news.google.com. The problem here was they didn't think about how that would affect a kiosk environment. So here what the person did was they had that configured, they went in, they used the kiosk. The application tried to redirect them, they got a prompt, it came up and said, you're not allowed to do that. He went, okay, but it still sent them there anyway. Most of the Windows environments I've tested all tell me I can't do something and then allow me to do it anyway. So he was able to go out to the external location. Then he got a little more curious about where he could go and he also discovered that he could find the internal website fairly easily just by going through 1010 addresses. So, I'm going to show you a couple of examples. This is an example of developers not thinking about how their application works in a kiosk environment. One other example of not thinking about how your environment works with kiosks. This is the Amazon sign-off policy for how you log out. I recently went to Amazon, bought something off of Amazon and I was looking for the log out button. I couldn't find the log out button. So I went clicking through their fax and I found this. This is an example of developers not thinking about how their application works in a kiosk environment. So here's how they log out. As I told you there's three steps to this. One of them is to enter in blank information. The third step is to close the browser and if you're in a kiosk environment you're not allowed to close the browser. So that creates a scenario, right? Amazon went through all of their engineering with the one click purchase and is still working on the one click logout. so so there's all sorts of Internet Explorer risks right it's tied into everything sometimes you can abuse multimedia plugins to get to places within the environment sometimes you can use control keys if they're non terminated sessions then somebody could walk up and take over somebody's session once they walk away from the application they could potentially get file system access etc one of the things that Internet Explorer allows you to do is you can actually run Internet Explorer in kiosk mode this is standard install for Windows XP so wrong Internet Explorer if you're running kiosk mode it just looks like this it's essentially full screen mode without any of the buttons there are some downsides to this one of which is you can still open up locations and none of the control keys are going to be in the same location as the other control keys are limited off of there and all you need to do to launch it is type iExplorer.exe-k now launch in the kiosk mode so for the early when I when I mentioned you can change the command shell you log into what a lot of people who use that registry key do is they substitute this command line in for the shell and then when the application logs in it immediately launches Internet Explorer in full screen mode so while it does prevent people from being able to get to certain spots there are limits control keys still work frames with JavaScript navigation would still work etc so you still have to go through the process of locking down in ie and if you're going to do that one of the ways you can do that is the Internet Explorer administration kit this is fairly flexible gives you most of the controls you need it's published by Microsoft you can download it they have documentation that explains all the different group policy settings the third set way of going about it this is what a lot of commercial off-the-shelf applications do is they put a wrapper around Internet Explorer so they'll use a container object model and what they'll do is embed Internet Explorer into the application that prevents you from having direct access to the to Internet Explorer their application captures all the keystrokes first and then feeds it into Internet Explorer as needed this is a fairly successful way for most people to lock down their applications but you still need to go through and go through a penetration test to make sure that the controls within Internet Explorer are still secure because a cross-site scripting attack would still work potentially in this scenario as well if you're going to lock down on ie the manual way this is just a small list of some of the things that you wouldn't want to lock down I'm not going to go through each of them some of the more important ones are things such as file which disabling a file protocol so you can't get local drive access if you're using Mozilla instead there are things that you want to be able to lock down there as well such as about config in terms of being able to protect the environment you need to make sure that you have all of your security settings in place etc you have to keep in mind that there are multiple multiple ways to get to the Internet Explorer security settings for instance if you have a mobile device you can get there from going to the privacy report so if you go into ie and you select privacy report from the pull down menu from there you can get into the settings you can get to those settings through using Windows media player so if the site has Windows media player and you're right-clicking around in there you can get to those settings so you need to make assume that somebody's going to be able to get there in most in most cases if you're a host operating system admin you need to assume that the person is going to break out of the application you need to start from that assumption and then secure your box from there other control Internet Explorer navigation keys again you're probably familiar with most of these one thing that administrators tend to overlook is control l also current traits and open dialog box as well as control o just a few more shortcut keys there are a lot of keys you have to lock down this is part of the reason why people use the customized keyboards it's just too much of a pain to go back and remap a lot of these keys as far as application security controls there's a lot of different things that you can do one of the things that you can do is you can reboot the application after a period of inactivity so if nothing's happened within the application within 10 minutes 15 minutes go ahead and reboot the application that way it forces a clear the cached should be cleared and causes personal information to be able to be to log log If you don't want to reboot the application, you can also use wiper software. Just be careful you don't actually wipe the logs. You might need those later. Another thing that some people do, which is actually worthwhile, especially if you're fairly kiosk heavy, is come up with a custom website. If your normal website links off to third parties, you may go through all the trouble of getting cross-site scripting eliminated from your environment, but you have no control over what the third party site does, and you're probably not keeping up with what the third party is utilizing in their environment. So what some people do is they set up a custom website. That way there are no links to third parties, and they can limit the functionality that the person can interact with to make sure they don't do more with the account than they really should. As far as utilizing a custom application, there are several commercial solutions. If you go on the source forage or fresh meat, you can find some entry-level ones which range from $80 to $250. These will mostly go through and set your group policy settings for you. Some of these other ones are just some of the bigger names in the field. NetKey is fairly popular in terms of setting up environments and doing custom environments for you and doing custom applications, but again you have to keep in mind they're not considering your website a lot of times when they're designing these solutions. As far as open source solutions go, there are several open source solutions available. One is OpenKDE Kiosk. This is of course Linux-based, but what it allows you to do is lock down the KDE environment using name-value pairs. That can get a little bit tedious. They also have a kiosk administration tool so you can go in and do check boxes for it. I haven't taken a complete look at it, but if you're more of a Linux person and you prefer Linux, that's one solution. There is a custom Chrome for Mozilla. I took a look at it and it does the job it needs to do, however the code is a little bit kludgy. In terms of customizing it for your particular environment, it's not necessarily the strongest code base to work off of. Then there are also bootable CDs. Another approach that many people take is they will say, okay, I'm not going to do the hard drive, I'm not going to do the install, I'm not going to take the risk of them writing to disk. What I'm going to use is a customized CD. There's Instant Kiosk, Kiosk CD, BoothBase. BoothBase is fairly popular. It runs off of a customized Linux kernel called damn small Linux, so limited Linux kernel. It's an okay solution, but one of the things you also have to keep in mind when you do these CD solutions is that patch management for a CD only solution is difficult. If you want to upgrade because there's a Mozilla browser exploit out there, you have to go and re-burn a whole bunch of CDs and mail them all to your retail locations. Then have somebody go in and switch out the CD that's being used. It's not necessarily practical for a lot of businesses, which is why sometimes I go with a full operating system install. The URL I provided at the bottom, this is a charity which takes old machines and creates public web stations. For instance, the people affected by Katrina, you could send them your old hardware. They throw in a BoothBox CD and they set up public web stations for people who are affected in the Gulf Coast region. One of the last things I wanted to go through in terms of security is also operation security. Most of the time when I've gone to environments, no one ever asked me what I'm doing. No one asked me why I was taking photos of the kiosks for the slide show. For clients that have actually had me go in and try to affect an environment without warning the employees first just to see what we could do. How long we could stand there. In most cases, we could stand there for a really long time and infect the environment. Employee education can also be important in terms of warning people that someone may try to alter these environments. If it's a Target kiosk or a similar setup, they may try to put one of the card readers over the top of the existing card reader. People need to be able to be on the lookout for that. . If you're thinking about actually walking out of here and starting to test some of the kiosks, one of the things that you should probably think of is that casinos tend to have better video monitoring than your average retail store. Also if you break out of the kiosk and you think, well I'll break out, see where I can get to and then put it back, you can't always get it back the way you found it. Or so I've heard. . Then you've got to go find somebody and say, stupid computer, broke. . If you're designing web applications you need to make sure that the kiosk is integrated in your software development life cycle. That your web developers are aware of the kiosk scenario and they're designing their cookies to be temporary only or they're designing a specialized website or they're considering how the functionality is going to affect the kiosk. So if it's going to redirect you, like the example I found, something that needs to be considered with these kiosks. . It also needs to be integrated into incident response programs, which I will get to shortly. And of course you can always have somebody review the deployment of the kiosk. As far as kiosk security and headlines, this was actually a public access terminal, but it was interesting enough that I thought I would mention it. Basically what somebody did is they went into kiosk and they implanted a sniffing program called Invisible Key Logger Stealth, it was kind of popular a while back, at 13 kiosk stores sprinkled around Manhattan. This occurred over a period of two years. The guy just kept going back in there and installing it. And it's not positive whether it was like this at this time, but one of Kinko's solutions was to completely re-image their kiosks on a weekly basis. That way if you installed a keystroke logger, it would be wiped away. It was apparently worth this guy's time to keep coming back anyway, and keep stealing public information. And I've got the URL if you want to see the full story. This also created a problem too when the FBI was going after a terrorist a while back. Terrorist was using Kinko's to go out and communicate with other terrorists. The fact that Kinko's completely re-imaged their kiosks actually put a gum in the works, and they were able to get away. Because along with completely re-imaging the OS, they also re-imaged all the logs. So the FBI was somewhat stuck there in terms of being able to figure out what this guy could do. In general, if you're thinking about deploying kiosks, they are fairly popular. Most of the people I've talked to have either deployed a kiosk themselves, or are in the process of deploying them, or have broken into them for fun. But there are major security risks. They're very hard to lock down. Usually, it doesn't take a really qualified hacker to break into these things. They're very simple. I didn't release any ODays or tools with this because you don't need them. In most cases, you're using existing functionality, or you're using a simple attack such as cross-site scripting in order to get into the environment. Also it requires security at every level. The environments that we've looked at in the past, they tend to have the skilled security model. So once you break into the kiosk, you are able to get everywhere else you think you might need to go. You also need to think about your web applications. If you're going to point your browser at these web applications, what does that mean to your environment? What do cross-site scripting vulnerabilities mean to your environment? What do permanent cookies mean to your environment? SSL versus HTTP, how does that work within the environment? How does that work within a kiosk? How well do you have the browser itself locked down against several common attacks? I finished a little bit earlier than I expected. Are there any questions? Yeah? Male audience member 2. The point with that is the implementation within the environment. If you have a skilled security environment. The question was, what was the point of disabling SSL v2 in the environment? One of the threats would be the internal attacker who's sniffing the environment. Most people are using the kiosk. It's not their personal computer. They will probably just go ahead and click OK, pass any security warning messages. Also in terms of monitoring and knowing when somebody's going to do something, when somebody's going to go to a site, it's much more likely in a kiosk scenario that they would know when that's going to happen. Because you can physically see the person doing it within the environment. Male audience member 3. Male audience member 4. How do you like the use of Windows XP embedded for this application? And whether you have any specific suggestions how to secure Windows XP embedded systems? Male audience member 5. I only heard part of that. Specific recommendations of Windows XP and what? Male audience member 6. I'm talking about the Windows XP embedded edition. Male audience member 7. Okay. Male audience member 8. I'm talking about Windows XP embedded for Windows XP embedded, which is a lot more suitable for actual kiosk designs since you can disable most of the stuff right at the OS level. And why are people not using it? Male audience member 9. Why are people not using it? Um, different reasons. Some people believe they can go all in alone and just design their own kiosk. There are environments which do use the Windows XP embedded environment. Like I mentioned earlier, there was a Windows. I found the Windows CE blog where the guy said they've got a lot of stuff embedded in tried to deploy Windows CE in multiple environments and there's just too diverse of in this situation for it so embedded systems sometimes will work in terms of limiting the number of attacks also proprietary operating systems will work in terms of limiting the type of attacks what I found the interesting thing I found about Windows XP embedded because I was kind of curious about one kiosk project it's basically a full copy of Windows XP professional mm-hmm except that you get to be able to customize every aspect of the OS and still be able to apply a standard source pack against it that's about as close as you get to custom windows in fact I'm considering deploying Windows XP embedded as a desktop OS rather than a general-purpose desktop OS at this point yeah patching patching can be critical for these environments and difficult to do given the network segmentation also in terms of predicting downtime and things like that next what about touchscreen terminals with no keyboard what sort of spice there might be to you know then that some touchscreen terminals still have environments or things that you can do within the environment it depends on what type of buttons they have in place I know one person I was talking to said that they were able to get down to the shell because they knew that with the touchscreen environment like if you touch the two corners in the bottom and then you touch touch the two corners and the top, it would kill the application and get you to the desktop. They are much, they can be safer. It depends also on the software you're deploying. For instance, I believe NetKey, they provide touch screen environments but they still use JavaScript and VBScript and they still process the original home page. So it depends on the vendor in terms of how you're doing the touch screen environment. But that would be the next step up from not provide, from just providing a keyboard with limited keys. But the only sort of exploit type of things would be that touching the screens and getting out of the application type of stuff. There isn't some other way around that. Well, once you get to the desktop, sometimes the touch screens will also allow you to move the mouse. Yeah. So... Yeah, you have that, sure. So from there, it depends on where you could get to in terms of clicking within the environment. But it is much more limited in those scenarios. Thanks. All right. Next question. I had a question. Do they make, I saw earlier you showed a list of like kiosk applications. Do they make like an application that can go in and say like intercept the keyboard and the mouse functions and pipe it through it before allowing it through? Essentially putting the operating system sort of asleep in the background and then everything, you know, as far as input and output goes is filtered entirely through the application that's been written dedicated to the kiosk application. Yeah. Do you have anything for the guys in the audience? Yeah, thanks. Yes. That is actually one of the solutions that they do in terms of around customized browsers is that they will write a wrapper application so that you're not directly interfacing with the software. So you would launch that application as the shell environment and then all the keystrokes and all the events would go to that application. That application can choose whether or not to honor those. Okay. So there are applications that do that. I believe NetKey does that to a certain extent. Yeah. although they're a little bit more browser-based. I believe KISS and KeyAware do that, but my memory's a little bit vague in terms of the differences between some of these. I was going to say to the guy that previously asked the question who was talking about the touchscreen thing, I was going to say I do remember a hack at a college where you could actually take a key and rub it in the corner of the screen and actually cause the taskbar to kick up. Yeah, there are different shortcuts for different vendors. It's a security through obscurity thing. For instance, the person I was talking to who knew the combination in terms of the two keys, the corners and the tops, that was because they also deployed the same kiosk, so they knew how to get out of it. Most of the kiosk vendors don't necessarily publicly give a lot of information in terms of how their kiosks work, because I tried to go in, I was trying to figure out how to get out of it, and try and see what some of them do. So there is a little bit of security through obscurity, but still, that's probably just a phone call away to the tech support if you need to ask a question. Just say you lost the manual and ask them what you need to need. Okay. All right, thanks. Any other questions? Okay. Thank you, everyone, for coming. If you have any questions, there's my email address. And I'll be happy to talk to you about this afterwards. Thank you.