View Single Post
Old 02-13-2004, 07:46 AM   #1 (permalink)
kel
WARNING: FLAMMABLE
 
Location: Ask Acetylene
Leaked MS sourcecode found to be littered with profanity

http://news.bbc.co.uk/2/hi/technology/3485545.stm
Quote:
Q&A: Microsoft source code leaked

Microsoft has admitted that some of the source code for its widely used operating systems have been leaked on to the internet. BBC News Online explains what has happened and what the consequences will be.






The leak of Windows code is a huge embarassment


What has happened?

Some of the core computer code for Microsoft's Windows NT 4 and Windows 2000 products has been found circulating online. The files are reportedly proving very popular on file-sharing networks such as Kazaa and chat nets such as IRC.

What is source code?

It is the raw computer language written by programmers as they put together an application. When a program is compiled to become a working program this code is scrambled and becomes unreadable.

Commercial software firms guard source code for their products very carefully because rivals that get access to it could find out how their products work and copy them. A software company's source code is the equivalent to Coke's recipe for its fizzy drink.

What has been leaked?

So far there are only details about the leak of source code for Windows 2000, even though Microsoft has said that some of the code for NT4 is also online.

The Windows 2000 code is a 203MB chunk that expands to about 600MB - enough to fill one CD.

Microsoft has said that this represents about 15% of the total source code for the operating system. It is not enough to recreate the operating system.

The leaked chunk contains library and text files, scripts, executable programs and raw computer code. It seems to date from 25 July 2000.

Why is this a problem for Microsoft?





Code for Windows 2000 and NT4 has been leaked


For several reasons.

Firstly, it is yet another security lapse during a month that has seen the appearance of the fastest spreading virus ever as well as the discovery of yet another critical vulnerability in the Windows operating system.

Secondly, Microsoft's growth has come about because of its tight control of its intellectual property - the source code of its products. This has helped it maintain a stranglehold on the desktop computer market. That hold has been demonstrably loosened now. Rivals could use it to get a better idea of how Windows works and help them compete against Microsoft.

Thirdly, it might be the last straw for people tired of the security headaches that Windows creates.

Fourthly, for Microsoft to have this code paraded in public is hugely embarrassing. Not least because the code is littered with profanity and might show that many Microsoft programmers do not do a very good job.

In the past independent programmers that have deconstructed other Microsoft applications have been shocked at what they found within the code. Rivals and critics will be able to see exactly how Microsoft staff do their work.

Is this going to mean more security problems for Microsoft products?

It is too soon to say. Certainly knowing exactly how something works will be useful to anyone that wants to attack it, but few malicious hackers need an intimate knowledge of Windows to create havoc. Many of the viruses doing the rounds are simply copycat versions of older pernicious programs.

Virus writers tend to be lazy and build on the efforts of others. Few are likely to trawl through the millions of lines of code and go to the trouble of working out where new vulnerabilities can be found.

However, it just takes one dedicated vandal to do the work and the tools will be available to all

Microsoft has said it is more an intellectual property problem than it is a security issue.

Who has access to Windows source code?





Windows XP builds on the leaked code


Lots of people in thousands of organisations. Microsoft runs the Shared Source Initiative that lets researchers and key customers and business partners get a look at the basic code for many of its products. Up to 90% of the source code for Windows products has been shared over the years.

The only parts that Microsoft does not let anyone see are the bits dealing with product activation, its use of cryptography and code from other firms it cannot license directly.

This initiative was started to counter the success of the open source movement which is based around the freedom to inspect and play with the source code of computer programs.

Is this the first time this has happened?

It is the first leak of Windows source code though early releases of the various versions of Windows regularly circulate before they are official unveiled.

This leak is not thought to be related to the hack attack on Microsoft's corporate network that took place in October 2000.

Also, years ago code to version 6.22 of DOS was leaked online but no-one cared because it was so old.
So am I the only one who includes profanity in his code?

When I am writing the development versions and I want to trace output I usually put profane statements in so I can see the sequence and repetition of things. Am I the only one?
When I had to implement red-black trees things got quite messy, when I go final I always do a replaceall of the output statements to put them in comments.

But they stay in the source code because I might need to debug later...
__________________
"It better be funny"
kel is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360