Hacker Curriculum

Posted in Education and Training by Dragan Pleskonjic @ Oct 31, 2007

Source: ACM TechNews and IEEE Distributed Systems Online.

IEEE Distributed Systems Online

The hacker community has devised effective methods for the analysis, reverse engineering, testing, and modification of software and hardware, and it behooves leaders in industry and academia to understand this culture and be cognizant of its values, unique strengths, and weaknesses, writes Dartmouth College’s Sergey Bratus. He observes that many quirks of the hacker culture are rooted in frustration with certain industry and academic trends (pressure to follow standard solutions, a limited perspective of the API, a dearth of tools for studying the state of a system, etc.), which he believes contribute to the current abundance of software vulnerabilities. This in turn fuels the hacker culture’s impetus to fully comprehend underlying standards and systems, which largely formalize hackers’ learning and work ethic. Among the sources hackers tap to acquire skills are classic textbooks highly rated by fellow hackers, electronic magazines, online forums dedicated to specific technical areas, source code from released tools, talks and private communications at hacker conventions, and IRC communities. Hackers have a tendency to adopt a cross-layer approach that tracks data through multiple tiers of interfaces, in accordance with three guiding principles. Bratus lists these principles as inspecting the system state or network on all levels down to the bit level; injecting arbitrary data into the system or network; and identifying and second-guessing deployment peculiarities. The author concludes that in many respects, hacker culture “produces impressive results that enrich other computing cultures, and its influence and exchange of ideas with these other cultures are growing. So, understanding the hacker learning experience and approaches is becoming more important day by day.”

Full article is here.

Sphere: Related Content

The Most Secure Operating Systems Family is?

Posted in Operating Systems and Application Security, Polls, Security by Dragan Pleskonjic @ Oct 30, 2007

OS Cube Design by MASSVision.

I found cool plugin for WordPress that gives possibility to have polls in blog. If you want this plugin for your blog, you can find it here. Plugin is very easy for use and I put my first question just as an experiment. Question is “The most secure operating systems family is: and possible answers are:

  • MS Windows
  • Mac OS X
  • Linux
  • Solaris
  • BSD UNIX

Hopefully you will like it and vote. After voting you can see results of this pool. In future I will think about some more interesting and intricate questions for pools. This is just an experiment. If you have good ideas for future pools, feel free to leave comment.

Sphere: Related Content

Symbian Hacked?

Posted in Mobile / Cellular / Bluetooth by Dragan Pleskonjic @ Oct 28, 2007

Gábor Török, senior mobile software engineer who has been involved in S60 platform development since 2000, posted interesting article on his blog. Title of this post is “Symbian Platform Security - hacked?” and it links to another couple blogs and Web pages with related resources.

With couple of not so complex steps (if you are familiar with programming and Symbian), you can change firmware and flash your phone. Then you have such a phone (software) that allows you to give so powerful rights to any 3rd party application that they can do basically anything on the device. It uses great S60 program, Y-Browser with added AllFiles capability to the program so that he could explore the entire file system, which he hadn’t been able to do until then.

Gábor says that it is not clear why did Symbian publish such a confidential information that is useful solely for phone manufacturers? Also he says that the documentation of Software Installation Policy is a very internal thing. You can see that it’s enough if one talented person stumbles upon that documentation and uses it. Also, why is a firmware package in such a format that anyone can edit it?

There is also interesting article at Antony’s Mobile Blog. It confirms that hack solution works. Manko from Symbaali has demonstrated how he can access protected folders on the phone. Antony believes that Symbian or Nokia will come with a counter-hack pretty soon. It is going to be very interesting to watch next steps.

Hopefully, this will be fixed with another firmware update that we will not wait too long. Also, this shows that mobile phones and other PDA devices is new arena for security battles.

Remark: Thanks to Robert B. for pointing me to this excellent article.

Sphere: Related Content

What When DEP Shuts Down Windows Explorer?

Posted in Operating Systems and Application Security by Dragan Pleskonjic @ Oct 28, 2007

Microsoft introduced Data Execution Prevention (DEP). DEP is a security feature that can help prevent damage to your computer from viruses and other security threats. DEP can help protect your computer by monitoring programs to make sure they use system memory safely. If a program tries running (also known as executing) code from memory in an incorrect way, DEP closes the program.

Sometimes DEP closes innocent programs considering them dangerous or infected. In some occasions it closes regular Windows programs and services. I grabbed screenshot of DEP closing Windows Explorer.

DEP Windows Explorer

In next screen it offers to send error report to Microsoft or you can chose to debug.

Error report

And after that you will be offered possibility to see what will be sent to Microsoft and what is privacy policy in this situation.

How to know if these system programs are infected and what to do?

First, if you are not an expert for operating systems and computers in general, it is good idea to contact one. Second, I guess you probably had this problem and looked for some resource on Internet. If you haven’t someone around to help you with issue, you may try this path:

  • Have up to date antivirus software on your computer. Check if that software has updated definitions. Scan your computer. If you are not sure, you can scan with various antivirus tools even online. Remember that most of companies who produce antivirus (antimalware) software offer online scanning but not cleaning. Anyway, this is good possibility to be surer if your computer is not infected.
  • Have up to date antispyware software. Check also if that software has updated definitions. Scan your computer. Do it in similar way as with antivirus.
  • Have Windows firewall enabled and properly configured or buy separate firewall software. Check its logs from time to time.

Bad news is that, even properly set, you are never absolutely secure. Hackers are very inventive people.

If you want to tell to DEP that program it keeps shutting down is program that you trust, you should, first, see if a DEP-compatible version of the program is available by visiting the software publisher’s website. If the publisher has not released an updated, DEP-compatible version of the program, you can turn off DEP for the program that was closed. You will be able to use the program, but it might be vulnerable to an attack that could spread to your other programs and files.

If you choose to turn off DEP for a program, it’s a good idea to check frequently for an updated version of the program and, after you update it, to turn on DEP again. To turn off DEP for a program, see how to change Data Execution Prevention settings here.

Again, remember that this might make it vulnerable to an attack.

Microsoft, in its DEP FAQ section says:

What should I do if DEP is closing a program that’s part of Windows, such as svchost.exe or explorer.exe?

The svchost.exe and explorer.exe programs are parts of the Windows operating system. If DEP closes them or other Windows services, the cause could be smaller programs, such as extensions, that are created by other software publishers and that operate inside Windows. If you have recently installed a program and notice DEP closing Windows-based programs, check with the software publisher to see if there is an updated, DEP-compatible version available, or try uninstalling the program.

Sphere: Related Content

Dilbert on Security

Posted in Fun by Dragan Pleskonjic @ Oct 27, 2007

Scott Adams and Dilbert have very good strips on security: 

Funny stuff. Enjoy.

Sphere: Related Content

Tighter Visa Restrictions Dramatically Decreased Research Capability in USA

Posted in General, Security, Security Research by Dragan Pleskonjic @ Oct 23, 2007

Foreign-born researchers are significant contributors to U.S. science and technology endeavors.  In fact, between 1990 and 2004, more than one-third of all Nobel prizes in the United States have gone to foreign-born recipients.  The success of many U.S. universities and research institutions depends on attracting the best and brightest students both at home and abroad.  After tighter visa restrictions were enforced following the Sept. 11 attacks, international student enrollment decreased dramatically.  Although some visa restrictions have been lifted and foreign enrollment is again on the rise, the visa clearance process should continue to be monitored, the report says. Report: Science and Security in a Post 9/11 World: A Report Based on Regional Discussions Between the Science and Security Communities.

To strengthen the essential role that science and technology play in maintaining national and economic security, the United States should ensure the open exchange of unclassified research despite the small risk that it could be misused for harm by terrorists or rogue nations, says a new report by the National Research Council.  Because science and technology are truly global pursuits, U.S. universities and research institutions must continue to welcome foreign-born science and engineering students, said the committee of former national security leaders and senior university researchers and administrators that wrote the report.

Sphere: Related Content

My Books at Belgrade Book Fair

Posted in Books, Magazines and Journals, Security by Dragan Pleskonjic @ Oct 21, 2007

The 52nd International Belgrade Book Fair will take place on October 22 – 28, 2007, in Belgrade. The International Belgrade Book Fair will gather numerous local and foreign exhibitors. About 800 local and foreign publishers will feature their editions.

This year, at Belgrade Fair, the participants will be publishers from Italy, Canada, the USA, Greece, Japan, the UK, France, Brazil, Portugal, Angola, Iran, Switzerland, Poland, Croatia, Bosnia and Herzegovina, and Montenegro.

The topic of the 52nd International Belgrade Book Fair is Dositej Obradović, on the occasion of the anniversary of his arrival to Serbia, his importance for profiling of Serbian education, as well as his importance for the Serbian/Italian cultural and literary relations.

The Guest of Honor Country of the 52nd International Belgrade Book Fair will be Italy. In addition to many programs at the Italian National Stand, the Belgrade Book Fair guests will be Claudio Magris, Fleur Jaeggy, Sergio Romano, Angela Nanetti, Pino Boero, Arnaldo Colasanti, Dante Maffia and Predrag Matvejevic.

My book “Sigurnost računarskih sistema i mreža” (English translation “Security of Computer Systems and Networks”) and published by Mikro knjiga, will be presented at Belgrade book fair.  You also can see and buy there the book “Operativni sistemi: teorija, praksa i rešeni zadaci” (in English “Operating Systems: Theory, Practice and Solved Problems”).

52th Belgrade Book Fair Sigurnost računarskih sistema i mreža Operativni sistemi: teorija, praksa i rešeni zadaci

Sphere: Related Content

Why Worry About Infected Routers?

Posted in Fun, Internet Security by Dragan Pleskonjic @ Oct 18, 2007

“If your router is infected, it can take you anywhere… independently of what you type in the address bar, and you will think that you got to where you wanted to go.”

See funny but educational cartoon about pharming and its consequences on SecurityCartoon.com. There are some five slides with good explanation of pharming. There are many interesting cartoons there and also geek dictionary.

Enjoy and learn something in the same time!

Sphere: Related Content

Computer Security Video Wins Award

Posted in Security by Dragan Pleskonjic @ Oct 17, 2007

The University of Virginia’s Office of Information Technology and Communications won the first-place award from ACM’s Special Internet Group for University and College Computing Services for a video on how excessive, inappropriate personal information on the Web can be damaging. The 70-second video shows a job applicant trying to explain the contents of his personal blog and a picture of himself on a photo sharing site to a hiring committee. The applicant is unable to come up with an appropriate answer and is embarrassed by the situation. The video ends with the warning, “What happens on the Web, Stays on the Web,” with an emphasis that it will be there permanently for all to see. The video was one of the university’s contributions to the “Who’s Watching Charlottesville?,” a cross-sector community initiative campaign to create greater cyber awareness in the Charlottesville-Albemarle area and help residents learn to protect themselves online. “We created this video to get our message across to students in a humorous to-the-point way,” says Scott Crittenden, a systems analyst in the Information Technology and Communications office and director of the video. “It’s a gratifying culmination of our efforts to be recognized by SIGUCCS for a national award.”

Read full article: U.Va. Computer Security Video Wins Award. Source: ACM TechNews.

Sphere: Related Content

Browsers as Nests for Malware

Posted in Internet Security, Privacy, Security by Dragan Pleskonjic @ Oct 17, 2007

Hackers target browsers as possible nests for attack to user systems. Having in mind average Internet users and surfers and their (our) lack of caution while surfing and visiting various Web sites, there are very good chances and possibility for various exploits.

Interesting article about Adobe Reader which affects Windows XP SP2 with IE7 and Adobe Reader 8.1, 8.0 and 7 appeared at ZDNet blog. Petko D. Petkov wrote very interesting article browser rootkits at GNUCITIZEN. Joanna Rutkowska also wrote article about this problem on her blog. Joanna’s article has been inspired by Petkov’s.

I will quote here some of Petko D. Petkov’s ideas.

The rootkit author can take on many different strategies. The following listing shows some of the things that are possible:

  • Obscure browser extensions - the most common place a rootkit may exploit. The extension will be visible to the system and the user but at the same time will remain hidden by tricking the user into believing that it is an important browser component.
  • Hidden browser extensions - rootkits masters can hide the presence of malicious extensions from the user. This is the default behavior of Internet Explorer components. Firefox extensions can also be made hidden by suppling a special field with the value of true in the Install manifest file.
  • Backdoored install base - the rootkit can simply infect common browser components that are already in place. Firefox, for example, is shipped with browser.jar located in the application folder. This JAR archive contains the default Firefox GUI interface and all basic components, all written in XUL and JavaScript. Rootkit masters can simply smuggle their own JavaScript into browser.xul part of browser.jar and as such root the default GUI.
  • 3rd-party rootkits - browsers are complicated piece of software which interacts with many 3td-party components such as Adobe PDF and Flash. These technologies can be easily rooted as well. In terms of Adobe Reader and Acrobat, the rootkit master can simply copy a simple JavaScript file inside the PDF script auto run folder. Every time the victim opens a PDF, the rootkit will execute which, as a result, will grant control to the attacker. In terms of Adobe Flash, the rootkit master can weaken the Flash settings to allow certain external sites to perform restricted operations circumventing the plugin security policies. Let’s not forget that rootkit masters can simply register additional browser plugins which will hook on important browser hooks.
  • Extension of an extension rootkits - these types of rootkits take a form of an extension for a browser extension (i.e. userscripts for Greasemonkey). They can be trivially installed and can hook on external XSS proxies from where they can be controlled. 

Joanna says:

Petko in his post gives several ideas of how browser-based malware could be created and I’m sure that we will see more and more such malware in the near future (I would actually be surprised if it didn’t exist already). His main argument for creating “Browser Rootkits” is that they would be “closer to the data”, which is, of course, undisputable.

The other argument is the complexity of a typical browser like e.g. Firefox or Internet Explorer. It seems like we have a very similar situation here to what we have with “classic” operating systems like e.g. Windows. Windows is so complex that nobody (including Microsoft) can really spot all the sensitive places in the kernel where a rootkit might “hook” – thus it’s not possible to effectively monitor all those places. We have a similar problem with Firefox and IE because of their extensible architecture (think about all those plugins, add-ons, etc) – although we could examine the whole memory of firefox.exe process, we still would not be able to decide whether something bad is there or not.

Nice reading for those interesting in Internet security and privacy. It is likely that much more is to come on this topic very soon.

Sphere: Related Content