Sunday, August 10. 2008Port Scanning the Internet
Today fyodor/nmap gave a talk at defcon ("Nmap: Scanning the Internet"). It was one of the better if not the best presentation at defcon for me. Fyodor presents his research with a lot of charm, fun and motivation.
Nmap can now be used to scan the entire Internet. Before joining THC I was doing research for Team-Teso. In 2000 one of our problems at Teso was that many script kiddies entered the arena and started setting up DDoS hosts and owning like mad. Hacking became mainstream. At Teso we did not like script kiddies and we abhorred those doing DDoS. A small group of Teso and some friends reverse engineered the backdoors and started scanning for them. Our objective was to discourage script kiddies and stop DDoS attacks (by removing the DDoS agents). Techniques We developed a new scanner (called 'bscan', not published but a handful of people had it) that was capable of scanning the internet. The main features of bscan were: - Raw SYN scanner. Full TCP/IP stack in userland. - Using ghost IP and ghost MAC (untraceable) - Modular. We developed loadable modules for telnet handshake, bind, http (HEAD / HTTP/1.0), ... - Sending out 50.000 or more syn packets per second. - Running on linux, sunos/solaris and bsd. In short the scanner was capable of scanning the entire Internet (0.0.0.0 - 239.255.255.255). The scanner retrieved all Web Server versions or telnet banners within hours. Fyodor's nmap was developed for a different reason. The features of nmap are far superior to bscan. Bscan was a tool and nmap is a professional application. Results All this is history now and I think that 7 years after the development the time has come to share some of the stuff that we learned while scanning the Internet:
The scanner was usually started on 5-10 Internet hosts in parallel. A big thanks at this point to the IT Administrators of the various universities in Germany who let us use their hosts for scanning (legally!). A typical TCP port scan of the Internet took between 8-16 hours. Stories There was a nice side effect of cleaning the internet from script kiddies and their backdoors: Teso had a full list of all server versions of all hosts on the Internet. No longer had team teso to scan for vulnerable hosts. We just looked them up in our log files. One day one of the German hackers who helped Teso came home drunk and decided to start another scan for a script kiddie backdoor that was running on TCP port 33645. He initiated a scan and set source port to 443 and destination port to 33645. The morning after (and being sober again) he saw that various security mailing lists discussed a new 0-day vulnerability against HTTPS (port 443). Apparently someone was scanning with massive speed the HTTPS ports on the Internet. He looked again of what scan he started the night before: He mistakenly swapped source and destination port while drunk and scanned for port 443 instead for port 33465. These mails can still be found on the archives of various mailing lists around xmas 2002. Lesson learned: Do not drink & hack. We were not the only ones who scanned the Internet. We heart of an Israeli research group who did it in 1998. In 2002/2003 Dan Kaminsky published another tool called scanrand. His tool is public. Try it. Final Notes These days bscan is old and not up to date anymore. Whatever you do make sure it's legal and does not cause trouble to other people. regards, someone Wednesday, April 16. 2008GSM Researcher stopped at Heathrow Airport by UK government officials
I was leaving today from the United Kingdom/Heathrow airport. I am about to speak at the HITB IT security conference about GSM security and the USRP (gnu-radio project).
I was searched by British authorities while waiting at the Gate and reading a newspaper. A UK Government employee flipped his badge and said "Let's talk. Come over here". They detained my USRP (Software Defined Radio), my mobile phone and my personal SIM card. I informed them about my work and any possible risk in January before I was giving a talk about GSM security at Blackhat/Washington DC. They knew who I am, where i live, which day I speak at the conference and who I work for. I'm involved in the GSM software project where we also developed a new attack against the GSM encryption A51. We published our research in February at the Blackhat security conference in Washington DC. I understand that the government wanted to make sure that I'm not exporting any cryptanalytic device. I did not. I will not. The USRP is a radio. My mobile phone is a normal nokia 3310 phone and my SIM card is a sim card. They said they do not know what the USRP is and that I can not take it until they have checked it in the lab. This can take 14 days (1/2 month). So be it. They have it for 14 days. Guys, enjoy the device! It's fun playing around with it! I'm uneasy that they took my mobile phone and my sim card. Having a pregnant wife at home and not being reachable complicates my situation. Is this common practice? Are they allowed to do this? Any tips how I can get my mobile phone and my sim card back quicker? Our project: http://wiki.thc.org/gsm The USRP is available from http://www.ettus.com The GNU RADIO project: http://www.gnu.org/software/gnuradio stunning, THC --- Appendix: Surprisingly they did not detain my laptop or my paperwork which would be the most likely place to store any information related to cracking A51. They were also not interested in my 160GB harddrive which would have been the obvious place for storing the rainbow tables. Neither were they interested in the high performance FPGA chip. Instead they took all equipment that could have been used for demonstrating that GSM signals can be received with publicly available hardware for 700 USD. It does not appear that they were after cryptanalytic information. I received a yellow paper about my detained goods. They left the field blank that reads "The goods specified below are detained for the following reason:". What reason? --- UPDATE 2008-04-18 Arrived back at Heathrow. Airplane crew announced "All passengers please have your passport ready. There is a passport check while leaving the airplane. Passenger Steve Mueller please make yourself noticeable to the crew. Steve Mueller please." They told me at the gate that I can get my equipment back. I had a chat with them and they answered many of my questions. They did not answer who requested that I should be searched when I left the country. I'm happy that I got my equipment back and I appreciate that they had it checked out quickly. I'm still not sure why they took exactly the radio receiver parts. I had to change my presentation for the conference and was not able to demonstrate the USRP/gnu-radio.
« previous page
(Page 1 of 1, totaling 2 entries)
next page »
|
Calendar
QuicksearchArchivesCategoriesSyndicate This BlogBlog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
