|
The Hacker Factor BlogTools, Techniques, and Tangents |
Home Blog |
Stereotyping DoS and Don'tsSaturday, March 31. 2007
While nobody likes to be stereotyped, there is some truth behind the generic, nationality-based profiles. For example, I was recently in Australia as part of a necessary trip. I was waiting with a small crowd of people outside a grocery store, waiting for it to open. I could instantly separate the tourists from the locals. There was a large set of people standing by the door. They didn't move; if it weren't for the occasional breath, I would have thought they were statues. They were the local Aussies. They were patiently waiting for the doors to open.
A minority of the people were more anxious. They would shuffle their feet, constantly look around for a place to sit (benches are a rarity outside of tourist areas), and check and recheck their watches. They were the tourists. The grocery store was supposed to open at 7:00am. At 6:59 and 28 seconds, a trio came down the escalator. They never checked their watches and never looked for a clock, yet they appeared concerned that the store was not open. I knew their nationality even before they spoke: punctual to the second, knowing the time without a watch? German. All of this makes me wonder... could stereotyping by nationality act as a first-pass for identifying some cybercrimes, such as denial-of-service attacks? For example:
Using these generic and empirical profiles, we can start guestimating who is behind some known attacks. For example:
Stereotyping and profiling is commonly criticized for its inaccuracy. Not every American is fat, self-absorbed, and eats doughnuts for breakfast. Similarly, there is fuzziness since people may not be located in their influencing country. For example, a Brazilian who is married to a German and living in Canada may appear as any one of the stereotypes, or as a combination. (Then again, a Brazilian married to a German and living in Canada is probably not stereotypical.) However, profiling can be used to organize information before wasting time in an exhaustive search for a likely suspect. It will take time to develop this profile method from empirical to practical. And it leaves me wondering: can stereotyping network attacks be turned into something more definitive? Thanks to the Internet Storm Center for their feedback and valuable comments. Death by CockatooThursday, March 29. 2007
I got bit by a wild cockatoo. It was a white, sulfur-crested cockatoo. It seems, they have learned to eat out of people's hands -- so I (and most other people on the tour bus) were feeding them. A few of the birds learned that if they bite or scratch the hand that feeds them, then the other hand will drop all of the food it is holding.
![]() One bird scratched my hand (didn't break the skin, but it did startle me and I dropped food). Another bird began stalking me. Every time I tried to feed anyone else, he was there. He ended up biting my thumb -- more like a 1/2 inch paper cut. However, I didn't drop the food for him. Net result? Bird drew blood and didn't get seeds. And I learned that the antiseptic liquid in wet-wipes burns like hell. How does this relate to computer security? Many organized crime gangs use hostile tactics such as DDoS to blackmail companies into handing over money. And on a smaller scale, I know a half dozen users without any ethical or social values who use impersonation and deceitful tactics to intimidate honest netizens. Like the wild cockatoo, don't give in to these threats or they will only be encouraged, continuing their abuses on other people and escalating from scratches to bites. An Ounce of Prevention...Sunday, March 25. 2007
I manage a heterogeneous network of computers. They range from an old (but necessary) OS/2 box to various Windows and Linux releases, as well as Mac, HP-UX, and Solaris. Knowing how to repair the system is always critical, since you will eventually do something stupid and hose the system. And "reinstall" is usually not a desirable option, and I consider restoring from backups to be a final course of action when there are no other options.
Each operating system has its own recovery method. In most cases, if I can get to a command-prompt, then I can repair or recover anything.
However, I recently screwed up my Macintosh system (running 10.3). I was trying to optimize it and followed some bad advice from a newsgroup. You see, there is a program called /usr/sbin/lookupd that performs caching of things like DNS requests. Since I don't need the system to cache DNS data, I disabled lookupd. Big mistake; Don't do this! Without lookupd, you cannot run su or sudo in order to become root and undo the change. Furthermore, if you reboot then the login screen will hang.If you screw up the system (like I did), then you have few options. Knoppix cannot write to the HFS journaling file system (the default OS X install) so you cannot undo the mistake via a Linux system. While, I did find a few solutions that work, all require you to have a second Mac handy. Some of the solutions:
The CD is definitely not optimized; you could hear the drive thrashing as it went seeking sectors. However, after a few minutes it did boot! The Terminal application was in the toolbar and opened to a root prompt. The dead hard drive was already mounted at /Volumes/Macintosh HD (use df to see where it is mounted). I was quickly able to fix lookupd (Yes, all of this just so I could run chmod a+x lookupd.) One more reboot off the fixed hard drive and the system was back to normal.If you happen to have a Mac running 10.1, 10.2, or 10.3, I strongly recommend using BootCD to create a Live CD before you need it. With any luck, you will never need to use this disk. But when you screw up, you will be glad you have it. (Unfortunately, BootCD does not work with 10.4. I suspect that you can create a 10.3 CD and use it for repairing 10.4 systems.) All of the tools that create Live CDs for the Mac require a running operating system. For this reason, people do not distribute live CD images. Doing so would violate Apple's copyright on their operating system since you would be distributing Apple's code. A Matter of TrustSaturday, March 10. 2007
It always amazes me when people blindly trust ubiquitous sources. Take Google as an example. The word "Google" has become so universal that the word is understood in all languages; "Google" in English has the same meaning as "Google" in German, Hindi, and Japanese! In fact, the word "Google" it has been added to the English dictionary.
Since Google is widely known, people assume that they can trust it. In 2004, the local TV news (yes, it was the FOX affiliate), reported on phishing. The reporter said that you should use Google to search for your credit card number in order to see if it is found in any online lists. Don't do this! This was the recommendation of the reporter, and not my suggestion. Some search engines have features like "view recent searches" where you can see what other people are searching for. If you use one of these search engines, then you have no idea who will see your credit card number. While the Google search engine does not have this feature, Google does collect searches. If you search for your credit card number, then Google will store the number indefinitely. Occasionally we hear about governments requesting copies of Google searches. Some of the requests have been successful, while others have been denied. While these governments are requesting specific types of information, it demonstrates that anything stored at Google could be handed out with the correct legal request. As long as there is data storage, there is also the risk of data leakage. In 2006, AOL released the search information for over 600,000 people. Many of the searches were unique enough to identify the individuals. Another area of controversy concerns Google Earth. This service uses very high resolution pictures -- down to 6 inches (15 cm) per pixel. Governments have been requesting some sensitive buildings, military bases, and other areas to be blurred or blanked out. Most recently, India has requested the blurring of some strategic military locations. The problem again seems to be misdirected trust. While it is bad to give your enemies high resolution images of sensitive installations, there is another problem: Google now hold a master list of all sensitive areas from multiple countries. If one hacker or disgruntled insider gains access to this information, then the attacker can certainly sell it for a significant profit or use it to help overthrow governments. With all of this information at hand, I must wonder about the security and practices used by Google. Is it really a good idea to put all your valuable information in one place? And in particular, in the hands of a publicly traded company? Time will tell...Sunday, March 4. 2007
Many of the papers I write are directed toward identifying technical problems. The goal is to raise awareness with the hope that people will recognize the issues and make changes to reconcile the problems. While I sometimes list resolution methods, I usually stay away from telling programmers how to do their job. (As a software engineer, I know my code better than anyone else. If you tell me about a problem, I am capable enough to create a solution. By not providing solutions in my papers, I extend this same courtesy to other programmers.)
It always gives me a warm feeling when papers that I write end up leading to significant changes. For example, in April 2006 I wrote a paper titled Point-of-Sale Vulnerabilities. This white paper details many of the fundamental design flaws in the point-of-sale architecture for credit card processing. Although there are a few explicit exploits mentioned as examples, the majority of the text covers high-level attack vectors. The specifics may differ by vendor, but the attack vectors remain the same. While I have not released this paper publicly, I know that it has been received by many of the right people. Things that have happened since the limited, non-public release of this paper:
Even though I know that high-level management at Visa have received the paper, I find it ironic that nobody from Visa (or MasterCard or any other credit card) has ever contacted me. The reason I mention all of this concerns a recent paper of mine. In Laptop Losses and Phishing Fruit Salad, I pointed out many of the floating statistics that are designed to give us concern yet have no basis for measuring risks. In this paper, I used the APWG as an example. Basically, they don't describe what they collect, how they collect it, or details of their analysis methods and information biases. It seems that this paper has hit its mark; Dave Jevans, the Chairman of Anti-Phishing Working Group, wrote:
Let's hope that future numbers from the APWG will paint a clearer picture for evaluating the risks. Let's also hope that other organizations will elaborate on their collection and analysis methods.
(Page 1 of 1, totaling 5 entries)
|
SearchCalendarArchivesCategoriesPopular PostsLinksSecurity
Internet Storm Center Security Focus CyberSpeak Happy as a Monkey Cybercrime Images Photoshop Disasters Food In Real Life Worth1000 CG Society Awkward Family Photos Media Stinky Journalism Unnecessary "Quotes" Oh No They Didn't Obama Conspiracies Barackryphal Blogs Fergie's Tech Blog Xenon's Isotopia James Carrion Mark Shuttleworth |
