Internet Auditing Project Results
The Internet Auditing Project has returned with some pretty grim results. From Jan 99, they tried to crack 36 million servers, and found that a huge amount of the machines, and some you would think aren't, are open. They've also made the program they used Bulk Auditing Security Scanner availible for download. Pretty disturbing results though-well worth reading.
Yes.
I try to be at least a little paranoid on any system I set up for public access. Installing ssh, disabling telnet, allowing connections only from hosts with intended users, yadda yadda...
There's no way in hell I'd catch that.
My machine could be cracked right now, and I wouldn't know it.
That scares the sh*t out of me.
> If someone runs a lame box like that, LET them get cracked, and LET them learn the hard way.
Yes, and what if someone on that EZ box uses SSH to connect to your "secure" system?
Sheesh, evil *and* a jerk. -- Jade
Why would they have an account?
Only the dead have seen the end of war.
Picture the common man, living some western society. Blissfully assured that "the government" will seriously prosecute anyone who dares crack his machine, he doesn't keep his guard up and leaves his system vulnerable. "Oh it's just an obscure web server, there's nothing important there." Famous Last Words. Meanwhile his machine is used to crack a dozen other machines. Or millions.
Also, with the Internet being international you'll never succeed in getting all nations to agree on your common set of laws, either. Too many conflicts of interest.
Your solution will never work, and even if it did there's a better way. Build on the Internet's long tradition of selfless cooperation.
Don't be so sure about noticing reboot.
I think it's theoretically possible to reboot a system, replace the kernel, and bring back all of the processes as if nothing has happened. This of course requires grabbing images of the processes and their state before rebooting. Really, if you can replace the kernel, you can do practically anything.
Heck, on most servers it would probably be sufficient to reboot the machine in the middle of the night and then fiddle with the system uptime and processes' run time to make it look like the uptime was still 200+ days.
So, when using securelevels it is important to make sure that everything involved in the boot process is locked down.
Believe me, those companies where employees have got their own modems make me cringe (e.g.). It does not help either though to install software and not knowing how to interpret the results (to be seen more often than not).
I consider what was done there as a kind of security spam though and there just is no one size fits all solution and to track down all possible expolits ... you are not going to have much of a life anymore. One last point, I still believe many people, although aware of the topic, are lost if it happens and this is the worst.
Regarding providers, sure ... but with quite a lot of people who want it all free, what can one expect ? Regarding crackers ... the professionals know how to deal with them, it's mom & pop who get hurt in the end and we all have to pay for them in one way or another. It's about time for an change of attitude, say cracking is not fun or funny and who tries deserves some kicks into the lower back. It might do more for security, in the long run. They are not Robin Hood's of the Internet and they do not make anyone aware of anything. I damned know that my lock can be broken but I cannot afford a bunch of bulldogs and body guards, so I have to live with that.
There is a lot of insecurity, not technically, regarding security for sure. I guess it would make for a good book or two, something like "Security for laymen" to make people aware what is real and what is just crap. No just black and white view of things here, really and I've always done my best to keep the jerks at bay.
READ THE FUCKING SOURCE!
DES Khaddafi KGB genetic jihad Uzi Rule Psix Qaddafi cryptographic Peking Mossad Legion of Doom Albanian Serbian Saddam
- I already exempted systems programming. You may as well bring up assembly language too.
- bzzt! thanks for playing. Many other languages such as Ada and Eiffel are "bootstrapped" from C into a subset compiler, and then fully rewritten in their own programming language and used to compile themselves. You obviously know zero about compiler technology. I suggest taking a course or reading the Dragon book.
So? The point it it's safeER, not completely safe. With a fully debugged string/buffer/collections library with assertions and bounds checking, less programmers will "reinvent" them and there will be less bugs.The facts are, stronger typed languages produce less bugs, period. Years of study by the military and NASA (do a google search) bear this out.
Assertions help by giving the compiler even more information besides just the "size" of objects. It introduces three more concepts:
The obvious benefit of assertions (used all the time in C code), is that in Eiffel, they add a self-documenting ability to the code like JavaDoc, a *contract* if you will that the code must adhere to, and which the compiler enforces.
Assertions can be compiled out, but most of the time, the compiler can optimize them away.
WRONG! In many if not most of the cases, the compiler has sufficiently enough information to *PROVE* that an invalid array access can't occur, and hence can remove bounds checking code altogether. This occurs for example, when variable is incremented monotonically, like most iteration code which accounts for most loops.The bounds checking code is removed in the same way that loop strength reduction is performed by C compilers. In higher level programming languages, it works even better. in Eiffel or Java, there is more info available to the compiler and they can do an even better job. A good Eiffel compiler can determine if many assertions can ever be false, and just remove the dead code. etc.
No it isn't. I don't know what your experience is, maybe games or scientific apps, but the vast majority of applications out there are not CPU bound, period. That's why increasing the CPU doesn't do as good a job as increasing RAM, for instance, for most apps.Web Apps in particular are a perfect example. Their performance is easily bounded by network, disk, memory, and database performance long before CPU even matters. The CPU spends most of its time waiting for I/O to complete.
Any book on scalability will tell you this. And, when it comes down to CPU bound apps, 80-90% of the CPU time is spent in 10% of the code, so it makes sense to concentrate your risky optimized bounds-check free code there.
I'm simply amazed at the number of so-called programmer geeks on slashdot that don't understand Knuth's Law or Amdahl's Law. People who have orgasms over Mhz ratings, and then wonder why some code on a 90Mhz sun will rock their 300Mhz pentium application.
I'm sorry, but C simply isn't the right tool for every job. It has it's place in systems programming, much like Perl is great at text processing. It sucks for everything else, and I speak as someone with 13 years C experience. I guess, I decided that it is better to know and use multiple programming languages than to rely on only one.
################
# First draft.
################
-----------------
Disclaimer: The information provided in this text should be used at your own risk
of losing your ISP account, legal ramifications, and possibly other consequences.
This _can_ be a legal practice if you have consented the person you are accessing's
server, and his server has authentication, or you are running your own server at
home and would like to gain access to your ISP's news server.
-----------------
Introduction
Why would anyone want to "tunnel" USENET through a proxy on a different domain?
Simply put, you will have access to that domain's USENET/NNTP server resources. The
majority of USENET servers provided by ISPs are IP-checked - that is, they only
allow connections from customers within their domain. Next, you could use that IP
address you are tunneling through to anonymously post messages to USENET (note: see
disclaimer). Both of these are legitimate uses if not abused.
----------------
First off, if your newsreader (i.e., MS Outlook Express) does not directly support
SOCKS compatible proxies, you need to download SocksCap from
. Second, you should gather (or compile
yourself) a list of insecure (or secure) proxies to tunnel through. I am not going
to give out a list of this nature, but I can assure you there are webpages out there
on the Internet that have lists of Wingates and insecure proxies to use.
The first thing you should do is choose a proxy to tunnel through. Now remember,
the purpose of this HOWTO is for tunneling USENET through a different domain so that
you can gain access to that domain's USENET resources. Try and find a proxy that is
in the same domain as (or has access to) one of the top 50 USENET feeds in the world
which all currently have USENET feed weights of > 3.00 (personally, I don't know
exactly what is meant by "weight", but > 3 means a relatively good newsfeed by world
standards). Looking at Freenix's July 1999 list, we see:
Rank weight name
============================
1 20.12 news.maxwell.syr.edu
2 14.82 news.gtei.net
3 12.83 newsfeed.cwix.com
4 11.16 howland.erols.net
5 10.52 dispose.news.demon.net
6 9.67 newsfeed.berkeley.edu
7 8.74 newsfeed.gamma.ru
8 7.51 nntp.primenet.com
9 7.29 newspeer.monmouth.com
10 7.02 newsfeed.tli.de
11 6.62 newspeer.sol.net
12 6.51 nntp.gctr.net
13 6.50 cyberspam
14 6.35 news.execpc.com
15 6.25 supernews.com
16 6.14 news-spur1.maxwell.syr.edu
17 6.12 remarq.com
18 5.80 uunet
19 5.76 news-peer.gip.net
20 5.70 nntp.abs.net
21 5.54 logbridge.uoregon.edu
22 5.39 extra.newsguy.com
23 5.32 newsfeed.nacamar.de
24 5.23 ffx.uu.net
25 4.88 cpk-news-hub1.bbnplanet.com
26 4.87 newspump.sol.net
27 4.79 bofh.vszbr.cz
28 4.40 lotsanews.com
29 4.38 news-out.visi.com
30 4.36 news-feed.inet.tele.dk
31 4.36 newsfeed.icl.net
32 4.28 hermes.visi.com
33 4.23 srcc
34 4.19 su-news-hub1.bbnplanet.com
35 4.19 news.noc.cabal.int
36 4.15 newsfeed.direct.ca
37 3.99 netnews.com
38 3.85 newshub.northeast.verio.net
39 3.75 rcn
40 3.72 feed1.news.rcn.net
41 3.53 news.home.com
42 3.50 f400.n5020
43 3.44 ddt.demos.su
44 3.37 news.idt.net
45 3.24 sol.net
46 3.22 remarq73
47 3.18 adiron
48 3.13 diablo.theplanet.net
49 3.09 newshub2.home.com
50 3.05 colt.net
Let's say we find an insecure proxy on cx864000-q.elcjn1.sdca.home.com (not a real
host, but used for example purposes). The first thing we need to do is figure out
how that host would access USENET. If we ask @Home technical support or are
basically familiar with how the @Home cable modem network works, we would find out
that it is "news" or more appropriately "news.elcjn1.sdca.home.com". Now we need to
configure SocksCap to use that proxy, and add the newsreader application to the list
of "socksified" apps (SocksCap will intercept all network calls in the "socksified"
application and tunnel them through the specified proxy). In this example, we'll
use Microsoft Outlook Express. Go to your desktop or start menu in Windows 9x/NT
and right click on the Outlook Express icon and select 'properties' and click the
'Shortcut' tab, then copy what is in the "Target:" field and set that as your
'Command Line:' for your "socksified" app. Now run Outlook Express through SocksCap
by clicking the "Run!" icon. Now add "news.elcjn1.sdca.home.com" to your list of
news servers, and it will download the list of groups. Congratulations, you now
have access to @Home's USENET feed even though you're not an @Home subscriber!
Conclusion:
This is a sample of how you could access someone's insecure proxy on the Internet
and gain access to that ISP's newsfeed. It is by no means a legally right thing to
do, but can be useful to see how other feeds/newsgroups are compared to the newsfeed
run by your ISP. You could also run a _secure_ (with authentication) proxy on your
home machine while you're at work and use this to access your home ISP's USENET
feed.
What about the legal/moral implications?
If the SOCKS server has logging turned on (which most do other than old versions of
Wingate), the person running that machine could e-mail your ISP and complain that
you were accessing his proxy without consent. (IMO, it's his fault he didn't secure
his proxy in the first place though.) If you post something "bad" on USENET such as
spam, offensive material / flame-bait, etc, that could get the person's ISP account
cancelled. ('Do not do unto others what you dont want done to yourself...') Just
remember, think before you act.
--------------
Additional resources (these do not necessarily apply to this HOWTO):
Top 1000 Usenet sites
WinGate Firewall and Security Information
SocksCap Info
Internet Auditing Project
IP-in-IP Tunneling Over Road Runner With Linux:
--------------------
written by anonymous
################
# First draft.
################
-----------------
Disclaimer: The information provided in this text should be used at your own risk
of losing your ISP account, legal ramifications, and possibly other consequences.
This _can_ be a legal practice if you have consented the person you are accessing's
server, and his server has authentication, or you are running your own server at
home and would like to gain access to your ISP's news server.
-----------------
Introduction
Why would anyone want to "tunnel" USENET through a proxy on a different domain?
Simply put, you will have access to that domain's USENET/NNTP server resources. The
majority of USENET servers provided by ISPs are IP-checked - that is, they only
allow connections from customers within their domain. Next, you could use that IP
address you are tunneling through to anonymously post messages to USENET (note: see
disclaimer). Both of these are legitimate uses if not abused.
----------------
First off, if your newsreader (i.e., MS Outlook Express) does not directly support
SOCKS compatible proxies, you need to download SocksCap from
. Second, you should gather (or compile
yourself) a list of insecure (or secure) proxies to tunnel through. I am not going
to give out a list of this nature, but I can assure you there are webpages out there
on the Internet that have lists of Wingates and insecure proxies to use.
The first thing you should do is choose a proxy to tunnel through. Now remember,
the purpose of this HOWTO is for tunneling USENET through a different domain so that
you can gain access to that domain's USENET resources. Try and find a proxy that is
in the same domain as (or has access to) one of the top 50 USENET feeds in the world
which all currently have USENET feed weights of > 3.00 (personally, I don't know
exactly what is meant by "weight", but > 3 means a relatively good newsfeed by world
standards). Looking at Freenix's July 1999 list, we see:
Rank weight name
============================
1 20.12 news.maxwell.syr.edu
2 14.82 news.gtei.net
3 12.83 newsfeed.cwix.com
4 11.16 howland.erols.net
5 10.52 dispose.news.demon.net
6 9.67 newsfeed.berkeley.edu
7 8.74 newsfeed.gamma.ru
8 7.51 nntp.primenet.com
9 7.29 newspeer.monmouth.com
10 7.02 newsfeed.tli.de
11 6.62 newspeer.sol.net
12 6.51 nntp.gctr.net
13 6.50 cyberspam
14 6.35 news.execpc.com
15 6.25 supernews.com
16 6.14 news-spur1.maxwell.syr.edu
17 6.12 remarq.com
18 5.80 uunet
19 5.76 news-peer.gip.net
20 5.70 nntp.abs.net
21 5.54 logbridge.uoregon.edu
22 5.39 extra.newsguy.com
23 5.32 newsfeed.nacamar.de
24 5.23 ffx.uu.net
25 4.88 cpk-news-hub1.bbnplanet.com
26 4.87 newspump.sol.net
27 4.79 bofh.vszbr.cz
28 4.40 lotsanews.com
29 4.38 news-out.visi.com
30 4.36 news-feed.inet.tele.dk
31 4.36 newsfeed.icl.net
32 4.28 hermes.visi.com
33 4.23 srcc
34 4.19 su-news-hub1.bbnplanet.com
35 4.19 news.noc.cabal.int
36 4.15 newsfeed.direct.ca
37 3.99 netnews.com
38 3.85 newshub.northeast.verio.net
39 3.75 rcn
40 3.72 feed1.news.rcn.net
41 3.53 news.home.com
42 3.50 f400.n5020
43 3.44 ddt.demos.su
44 3.37 news.idt.net
45 3.24 sol.net
46 3.22 remarq73
47 3.18 adiron
48 3.13 diablo.theplanet.net
49 3.09 newshub2.home.com
50 3.05 colt.net
Let's say we find an insecure proxy on cx864000-q.elcjn1.sdca.home.com (not a real
host, but used for example purposes). The first thing we need to do is figure out
how that host would access USENET. If we ask @Home technical support or are
basically familiar with how the @Home cable modem network works, we would find out
that it is "news" or more appropriately "news.elcjn1.sdca.home.com". Now we need to
configure SocksCap to use that proxy, and add the newsreader application to the list
of "socksified" apps (SocksCap will intercept all network calls in the "socksified"
application and tunnel them through the specified proxy). In this example, we'll
use Microsoft Outlook Express. Go to your desktop or start menu in Windows 9x/NT
and right click on the Outlook Express icon and select 'properties' and click the
'Shortcut' tab, then copy what is in the "Target:" field and set that as your
'Command Line:' for your "socksified" app. Now run Outlook Express through SocksCap
by clicking the "Run!" icon. Now add "news.elcjn1.sdca.home.com" to your list of
news servers, and it will download the list of groups. Congratulations, you now
have access to @Home's USENET feed even though you're not an @Home subscriber!
Conclusion:
This is a sample of how you could access someone's insecure proxy on the Internet
and gain access to that ISP's newsfeed. It is by no means a legally right thing to
do, but can be useful to see how other feeds/newsgroups are compared to the newsfeed
run by your ISP. You could also run a _secure_ (with authentication) proxy on your
home machine while you're at work and use this to access your home ISP's USENET
feed.
What about the legal/moral implications?
If the SOCKS server has logging turned on (which most do other than old versions of
Wingate), the person running that machine could e-mail your ISP and complain that
you were accessing his proxy without consent. (IMO, it's his fault he didn't secure
his proxy in the first place though.) If you post something "bad" on USENET such as
spam, offensive material / flame-bait, etc, that could get the person's ISP account
cancelled. ('Do not do unto others what you dont want done to yourself...') Just
remember, think before you act.
--------------
Additional resources (these do not necessarily apply to this HOWTO):
Top 1000 Usenet sites
WinGate Firewall and Security Information
SocksCap Info
Internet Auditing Project
IP-in-IP Tunneling Over Road Runner With Linux:
--------------------
written by anonymous
It's you that didn't get my point.
About the double-self-encrypting code, nothing prevents me from grabing a copy of it, hacking it, and putting the (now modified) copy of it there. Tripiwire won't scream because (a) it's not on the NT machine anyway and (b) the kernel was patched to hide the modification from tools like it, and that patch could easily be changed to hide a full executable text change, like the one that would happen in this case. The idea is, if you own the kernel, you can do anything.
And about the tunnel, well... It was not an overseas connection, it was an overseas PHONE CALL. It had the same IP since it was the same account in the same modem pool.
And finally you show you didn't even read the article. The SSH password wasn't saved anywhere, the SSH program was modified to SEND the password to a hidden box WHEN THE USER TYPED IT. Besides, he wouldn't be able to use telnet, since it was probably disabled (too easy to sniff).
What if that "someone" with a lame box is your ISP? What if it's the company you work for, your government? What if it's the Debian FTP servers (for example) and the intruders start introducing subtley-designed backdoors into packages that *you* download and install because *you* trust the server?
As they said in the report, we don't live in isolation on the Internet. If any host is insecure then there's usually a knock-on effect which could affect any one of us.
Rob Wilderspin
That the Linux kernel could be modified on-the-fly via a module is a serious security hole. That really needs to be fixed, urgently, IMHO.
Well, if you're that paranoid you can compile a kernel without module support. (you may have some difficulty with newer hardware, PnP devices and stuff though..that's a problem. Maybe sort-of modules..compile it like a module but load it into the kernel at bootup, just delay its activation and don't allow later loading of modules)
Loadable module support is always going to leave you vulnerable to this sort of thing, though.
Daniel
Hurry up and jump on the individualist bandwagon!
@LL H41L B1FF, B-CUZ HE'S 4 R33L K3WL D00D & 4N 31337 H@XX0R. U @LL SUXXXXXX. B1FF RULEZZZZZ!!!!!*&%$/!??$&%!!!!
Earlier this year there was a long article linked to by Linux Weekly News about the US army and the use of open source. It was some kind of report written by someone in the army. It (very) recently resurfaced, and I saw it mentioned on linuxtoday sometime in the last week or two. Try starting with the (long) reference list in that?
Anyone else having problems getting it running under Linux? My new binary just core dumps...
; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
Incorrect, in a recent DoD journal they announced that of 86,000 nonclassified military installations tested for actual penetration, almost 2,000 systems were successfully entered, of those, only a couple hundred actually took measures at the time of intrusion and of the remaining, less than 1000 sites actually noticed the intrusion at all... That leaves a considerable amount of systems maintained by less astute administrators.
Norway.
> ...so the weakness was less in Linux itself than in NT.
...and connections refused from anything other than the correct end-point.
Oh yeah, and Linux got r00ted anyway. It wasn't only NT.
> programs should be able to detect if they've been modified.
Then we modify the modification-detection routine. Get a clue.
>
And then he'd use the same overseas dialup he used before to do his 8sec. attack.
> Thirdly, how did they get hold of the ISP password?
He probably used the password-saving feature of the dialup software. It's easy to get it this way (since the dialer needs the plaintext password to do the dialing)
> That the Linux kernel could be modified on-the-fly via a module is a serious security hole.
The modules are part of the kernel. He got the permissions to modify the modules. This means he had enough permissions to modify the kernel in the memory on the fly.
Modifying a program is normally used to bypass any anti-piracy check the programmer put in (like asking for a line in the manual, or checking the machine's configuration, or even trying to read a specially-misformated disk that comes with the program). Thus simply copying a piracy-protected program won't make it work; you'd have to change it to disable any builtin checks.
Besides, the alarms were cracked too. And the poster you are replying to is confusing two attacks: the cracked copy of SSH (on a NT machine, no alarms) and the cracked binary on the Linux box (lots of alarms, kernel patched to make it invisible).
Hmm... why not just modify calls to wtmp, utmp, various syslogd to copy logs to a separate, unknown file? Maybe even a file on another machine? Unless the cracker is aware or straces's around he will have no idea that this is happening. bleh.
i read this on friday when it was posted to bugtraq and the story of their .jp box getting cracked should be enough to scare most slashdot readers i think.
Pardon me if I'm wrong here, but what good does blocking the probe from happening again from the same ip do? If someone finds a bug, it isn't exactly impossible to try again from a different ip is it? I fail to understand how making sure that someone doesn't hack you from the same adress twice does much good.
I hardly consider 450,000 hosts out of 36 million to be a huge amount. In fact, it comes to 1.25% of the hosts. I thought this odd when I read the original BugTraq/Security Focus article on this subject. A big deal was made of the fact that 450 thousand hosts where vulnerable to common exploits, but nobody bothered to note that this was less than 2% of the tested hosts.
I think it was a neat project, I was very interested in the "super hack" that occurred on one of the participating scan servers, and I think the groups recommendation for an IDDN is a worthwhile project.
But I still am actually reassured, not scared, by the fact that less than 2% of the hosts in their fairly sizable test group were "wide open" (as I would consider any host that is vulnerable to a common exploit)
-Count Zero-
Join the Air Force. It has a much greater interest and use in computer systems than any of the other services.
One word: bravo! If this one ever comes up, I'll gladly put away RC5 and SETI@Home to work on this. It's important that the Net be a secure place, and we need some kind of thing to ensure that holes are found and stamped out. While IDDN wasn't quite what I had in mind, it's definitely a winner.
Of course, law enforcement will hate IDDN; after all if there are no more security vulnerabilities how are they going to snoop on us^H^H^H^H^H^H^H^H^H^H^H^Hprotect us from evil terrorists?
Isn't it illegal to try and crack 36 million servers? They should all go to jail!!!
f2
Puhlease.. This ranks right up there with "Scientists Discover Doors Make Homes Vulnerable To Intrusion." Lets see some real studies.. You know, NOT one meant to push a product?
Bowie J. Poag
Bowie J. Poag
.. product? where?
The window manager does NOT listen for connections in the X model.
# On Solaris you'll need to add *at least* these linker flags:
# -lnsl -lsocket -lresolv -lrpc (is that how the rpc library is called?)
#
# On Irix you'll need to... Hmmm...
#
# Forget it! I'm not going to fight Unix. Here's a nickel kid, go buy yourself
# a Linux distribution.
Or they could just run the _freely available auditing tool_ themselves.
How we know is more important than what we know.
I *have* to know whether *my box* is vulnerable. Since I use dialup, it's probably not there, but I use other boxen in the net that might be insecure as well.
BTW, is slashdot.org secure?
Check If Hackers Were Smart at Hacker News Network . It expands a bit on the issue (mostly in the end of the article, but to understand you have to read everything).
In fact, if "them" can get into any box in the net, they could change our systems in a way we wouldn't be able to notice (read "Reflections on Trusting Trust"). Then any system we made from any of our systems would be compromissed too. "They" would have backdoors to any computer in the world, and there would be no way we could find out except out of sheer luck ("this system is acting strange, the foo feature is not working as the source says it should...").
See also Worst Nightmares Come Alive .
I believe securelevel won't prevent loading a module (we don't need no memory devices to load a module). So this also won't work.
Aside from the criticly bad spelling and the grandiosity -- Seven hundred thousand vulnerabilities, gaping holes, wounds in the skin of our present and future information infrastructures, our dream for a free nexus of knowledge, a prosperous digital economy, where we learn, work, play and live our lives. -- I mean, puh-LEEZE . . . still, some interesting results.
Notice which vulnerabilities are the most common:
tooltalk 26.1%
bind 18.1%
wu_imapd 15.5% (hel-LOO! anyone hoooome??)
qpopper 12.4%
wwwcount 11.8%
rpc_mountd 10.8%
This was right before the big wave of tooltalk advisories came out so it may be somewhat less now.
What is instructive is that, face it, TCP/IP and all the associated dependencies are way too complex but we can't roll this back so get used to it. No reason to give up on tightening things, of course.
For an interesting view from another level, read Stephen Northcutt's new book Network Intrusion Detection (New Riders Publishing).
-------
Bill Gates Is My Evil Twin.
In FreeBSD you can do something to the effects of 'options NO_KLM' (afaik) in the kernel configration and disable loadable modules anyway, after a requisite kernel recompile.
Three Step Plan:
1. Take over the world.
2. Get a lot of cookies.
3. Eat the cookies.
1.I already exempted systems programming. You may as well bring up assembly language too.
Then what kind of applications are you talking about? Buffer overflow in a program that never uses anything but the data it produced before, can't compromise the system anyway. And if a program is a mailreader, text editor or web server, the same rules as for "system" software apply.
2.bzzt! thanks for playing. Many other languages such as Ada and Eiffel are "bootstrapped" from C into a subset compiler, and then fully rewritten in their own programming language and used to compile themselves. You obviously know zero about compiler technology. I suggest taking a course or reading the Dragon book.
I am familiar with that. The point still stands -- implementation does not necessarily works correctly, nothing gives a hard proof that combination of generated code plus system libraries plus OS still follow the rules that were supposed to be implemented.
So? The point it it's safeER, not completely safe. With a fully debugged string/buffer/collections library with assertions and bounds checking, less programmers will "reinvent" them and there will be less bugs.
This has nothing to do with language -- only with libraries. And "standard" libraries that come with C++ can help only with extremely dumb cases of buffer overflows, so "increase" of safety exists only if a programmer doesn't think at all. To eliminate the theoretical possibility of buffer overflows one has to eliminate pointers, and this can't keep system simple and efficient enough to be implemented well -- look at Java.
The facts are, stronger typed languages produce less bugs, period. Years of study by the military and NASA (do a google search) bear this out.
Why should I trust them? Military pushed Ada for ages and achieved nothing -- they have to "justify" their wasted time somehow.
WRONG! In many if not most of the cases, the compiler has sufficiently enough information to *PROVE* that an invalid array access can't occur, and hence can remove bounds checking code altogether. This occurs for example, when variable is incremented monotonically, like most iteration code which accounts for most loops.
Problems start when functions are being called, and cross-dependencies between data structures in them (not necessarily even data structures that exist at the same time and definitely ones that didn't exist when libraries were compiled) come into play.
Web Apps in particular are a perfect example. Their performance is easily bounded by network, disk, memory, and database performance long before CPU even matters. The CPU spends most of its time waiting for I/O to complete.
This only applies to primitive applications that do nothing but wait for database to give result, then do something trivial to represent it. "Web application" that performs complex calculation on its own or its backend application that keeps track of various parameters that are not stored in database will be still CPU-bound. If a lot of amateurs manage to stick database and high-latency access to it everywhere where it doesn't belong, it doesn't mean that this is correct or even sane way to solve those problems.
Any book on scalability will tell you this. And, when it comes down to CPU bound apps, 80-90% of the CPU time is spent in 10% of the code, so it makes sense to concentrate your risky optimized bounds-check free code there.
This won't improve security because in most of cases exactly the same code is most likely to contain buffer overflows, and in various conditions distribution of time spend in different pieces of code may change thus opening an easy DoS vulnerability (ex: almost all routers DoS).
I'm simply amazed at the number of so-called programmer geeks on slashdot that don't understand Knuth's Law or Amdahl's Law. People who have orgasms over Mhz ratings, and then wonder why some code on a 90Mhz sun will rock their 300Mhz pentium application.
How is it relevant? You still can't take already implemented and optimized application and make its equivalent on the same hardware with the same performance if you will reimplement every part of it in less efficient way.
I'm sorry, but C simply isn't the right tool for every job. It has it's place in systems programming, much like Perl is great at text processing. It sucks for everything else, and I speak as someone with 13 years C experience. I guess, I decided that it is better to know and use multiple programming languages than to rely on only one.
Most of things still can't be implemented in inefficient language and be expected to remain usable. If one is afraid of buffer overflows, he should get more benefit from buffer-overflow protection tricks in function calls, nonexecutable stack, etc. -- and even that is considered too expensive in the terms of performance in most of cases. And if someone claims that his language can eliminate all possible, or even most of classes of security bugs, he is lying, and Java is the best example of this so far.
Contrary to the popular belief, there indeed is no God.
Of course not, this is too much script kiddish. It was a stealth attack, meaning that at the moment they attacked the machine there was no way to trace them (because their computer was on the other end of a untraceable oversea phone line), and the attack only lasted several seconds.
BO on the Linux box would almost instantly been detected ("why is someone connecting to our baox that has only apache/ssh" or "why is our box connected to some site, for two days"). BO is for amateurs.
IIRC you need root perms to tamper with /dev/kmem.
/proc support or even patch your kernel to get rid of /proc/kmem.
IIRC you can turn off
IIRC there is *no* way to write to a write-protected floppy through software.
If someone rooted your machine then you're fucked anyway. I always thought the trick was to make your machine either impossible (yeah right) or very difficult to root.
something I've been working on... use hardware-asissted OTP. a pair of Keeloq devices, one on your serial port, one on the server's. The server's password doesn't increment until a valid password has been used.
when you SSH in the password is passed and the indexed incremented. Use the same thing for su. PAM would be wonderful here.
Any thoughts?
I just left the Air Force. My advice is don't enlist. Very, very, very few enlisted ever get to code much of anything. More enlisted (but still relatively few) do system and/or network administration. The Air Force has the most IS/IT opportunities, the Navy has the least. You'll need a lot of luck to get the job you want. Recruiters usually aren't able to guarantee that you'll get a certain career field. Some will tell you anything you want to hear to get you in. Enlisted pay sucks. You'll do much better money wise in the commercial world. The military does offer some advantages that you won't find in the commercial world; typically job satisfaction is high, the people are a close knit group that looks out for eachother, occasionally you'll get to play with neat shit, and some overseas tours in nice places. My advice to you is: 1) If you are going to enlist, don't go into the U.S. Navy. There are fewer IS/IT opportunities available in the USN and the rank structure is more rigid and traditional - I think a bright young computer oriented person would find it stifling. You'll have a better chance of doing what you want in the USAF, unless you really want to be on a ship or sub. 2) Get a college degree. Obviously a BS in computer science is going to be best, but even an AS degree will open a lot of job opportunities for you. If you can get a BS degree and are still interested in the military, get into a ROTC program.
I just left the Air Force. My advice is don't enlist.
Very, very, very few enlisted ever get to code much of anything. More enlisted (but still relatively few) do system and/or network administration. The Air Force has the most IS/IT opportunities, the Navy has the least. You'll need a lot of luck to get the job you want. Recruiters usually aren't able to guarantee that you'll get a certain career field. Some will tell you anything you want to hear to get you in.
Enlisted pay sucks. You'll do much better money wise in the commercial world. The military does offer some advantages that you won't find in the commercial world; typically job satisfaction is high, the people are a close knit group that looks out for eachother, occasionally you'll get to play with neat shit, and some overseas tours in nice places.
My advice to you is:
1) If you are going to enlist, don't go into the U.S. Navy. There are fewer IS/IT opportunities available in the USN and the rank structure is more rigid and traditional - I think a bright young computer oriented person would find it stifling. You'll have a better chance of doing what you want in the USAF, unless you really want to be on a ship or sub.
2) Get a college degree. Obviously a BS in computer science is going to be best, but even an AS degree will open a lot of job opportunities for you. If you can get a BS degree and are still interested in the military, get into a ROTC program.
It doesn't help with serious attacks, but it helps discourage the kiddies.
The specific security measures taken are site dependent. Some installations have better security than others. Also, it depends on what INFOCON level you are at. INFOCON levels are the cyber equivalent of DEFCON (national defense readiness) and THREATCON (anti-terrorism) levels. Installations are supposed to implement different security measures and different levels of monitoring depending on the INFOCON level.
I take it Livermore wasn't on the security list then?
"The crack was via an NT box, so the weakness was less in Linux itself than in NT. (NT has more holes than swiss cheese.)"
2: This is only an hypothesis, but is strongly supported by the fact that the entire attack only lasted an incredible 8 seconds! During which the attacker manages to log on (over an employee's SSH account, no less), gain root privileges, backdoor the system, remove any (standard) traces of it's activity and log off.
3: Further investigation shows that this employee's personal NT box, connected over a dynamic dailup connection, had been cracked into 4 days earlier.
It appears that the crack was due to an NT box, not via it. The actual intrusion came in at the Japanese ISP, and the intruder already knew the username and password for both the ISP and SSH. Note that the phone call to the ISP is from an "untraceable overseas" number.
"The second vulnerability was SSH. Someone altered the SSH client to act as a trojan. This should not be possible - programs should be able to detect if they've been modified. Failing that, a virus scanner should be able to detect modifications."
They were using scanning and file comparator software. Even when the backdoor was identified and manually examined, they "could not detect any odd behavior"! Impressive.
"Thirdly, how did they get hold of the ISP password? The article said SSH was cracked, but not that the dial-in software was. "
There's no specific quote I can use here, but knowing the NT box was compromised leads me to believe that the ISP account was compromised shortly thereafter. I've tried L0phtCrack, it's an impressive program. If I can 'script kiddie' almost every NT machine I've ever worked on like this, getting the ISP account info out of the registry isn't much of a stretch.
I want to know how they ID'd the NT box in the first place. I don't know how they did that, and I can't even start to guess...
"...America's great minds of today, teaching America's great minds of tomorrow. Poor bastards." -- A Beautiful Min
I shall ignore NT ;-) but 4 ssh ... nothing new either but yep, fair enough. But let me tell what one of the security experts in my former company told me : "If people tell you they have never been cracked, then they are either liers or haven't got a clue". In short there is no such thing as total security, as there is no such thing as bug free software. It is not about not getting cracked but about how long does it take "you" to detect that and how can "you" limit the possible damage. In so far a seemingly insecure system can be better than one that, seemingly, is secure. The first one might be one taken care of, the second one might be one where the admin feels happy about having installed the latest security software that does the it all itself. This is the reason I am not impressed as what those guys did was not even lightyears near to a security audit. It was fun for sure; sort of as they ate up a lot of resources and kept quite some people busy who have got better things to do, but that is all. Once you've read the paper that describes how tcp_wrapper came to life you know what *real* trouble means 8-}
is their tty camera thing - sounded neato. anyone have something similar ??
Thanks!
"...America's great minds of today, teaching America's great minds of tomorrow. Poor bastards." -- A Beautiful Min
What if you drive to work on Monday and have an accident, okay, do not use a car anymore. You can fall out of your bed and break your neck, sleep on the floor. The ceiling does not look good, more like it is going to come down, sleep outside. Oh rats, there might a meteor come down right where you are, dig a hole deep enough ...
go to college. Join the AF. Move to Kelly AFB (San Antonio, TX) and attempt to be assigned to the various computer security groups (fair amount of black ops) run by the Air Intelligence Agency. Stay in 4 - 6yrs. Get the heck out and make 2 or 3x military pay.
This is the crux of the problem and this is plain wrong. Only 3% of the applications are rewritten because of a performance problem. Also you seem to think that everything other than C leads to something like a x100 penalty. Sorry but it is not the case. For a statically typed language it can be 10%, 2x or 3x at worse. Just find the Java MPEG decoder on the WWW, run it on Microsoft JVM, and prepare to be amazed.
Sure... if you want to refer to marketing as a "conspiracy". And that's not too far from the concept. Marketing IS selling. Selling is getting people to do what you want them to do. It's just that marketdroids are so much less exciting than gunmen on grassy knolls.
Clue: they scanned 36 million addresses. They were only looking for vulnerabilities on Unix hosts. Now, how many of those 36 million hosts were running Unix?
Be scared. Be very scared.
-russ
Don't piss off The Angry Economist
This project suggests the obvious answer. Government agencies, themselves, are using NT as a trojan horse. As long as NT is used worldwide, people such as NSA can get access to anything they desire; and NT will be used worldwide if PHB's see Government departments all using NT.
All a typical Spook Agency has to do is to go fishing for usernames/passwords on any NT box and then go from there to no-matter-how-secure a computer in the same organization and fish for what they please.
Remember that just because you are paranoid, doesn't mean that they are not out to get you.
A global fury of half a billion packets, digital signals zipping back and force across the planet at the speed of light. Above the Earth, across the land, under the sea, over satellite microwave, copper wiring, fiberoptics, wireless and undersea cable. Probing cyberspace.
... all is not well.
... but the proud people of the free world stand strong (led by Harrison Ford, no doubt).
In the world of tomorrow...
Seven hundred thousand vulnerabilities, gaping holes, wounds in the skin of our present and future information infrastructures, our dream for a free nexus of knowledge, a prosperous digital economy, where we learn, work, play and live our lives. Easy pickings, at the fingerprints of anyone who follows in our footsteps, friend or foe.
Struggles for power in the digital domain could very well develop into the world's first real information war, with the very future of the Internet as a free unregulated supernetwork caught in the cross fire.
The stakes are huge, the weapons deadly...
The only thing necessary for the triumph of evil is for good men to do nothing. Wake up fellow countrymen. Let's get to work.
Coming August 14th to your local cinema.
Whoever wrote that article has some pretty big delusions of greatness there. The same applies to the "IDNN" project. First, they seem to have forgotten that scanning systems for vulnerabilities is very much illegal in many countries. I don't know the specifics, but I'd guess that it's illegal in much of North America and western Europe, which also happen to be the homes of most Internet users. That might kind of hurt any effort of this type. People are also not going to like being on the receiving end of regular scans. It would certainly make it difficult to tell the difference between a "friendly scan" and an attempted (or maybe realized) crack. Finally, I'm sure that someone would manage to subvert that system if it ever came into being. This isn't like hacking a distributed.net client; subverting the system would allow you to gain access to many computers.
And in the final analysis, the numbers aren't all that bad. Under 2% of the servers on the Internet is not a huge number. I'm sure many of those boxes are relatively unimportant boxes that are probably just personal machines. That 2% may be composed of forgotten boxes in university/corporate offices. Also, this is purely theoretical; I doubt that all those boxes could just be cracked into in seconds.
Oh, one more thing: someone tell this guy what "How discrete" means!
man you suck.
How we know is more important than what we know.
No No No.. It doesn't matter if you are a small one man operation or not. If you are on the net and people are talking to you, you need to have some sort of basic security. If you are insecure, you open the doorway for crackers to get to anyone you touch. Lets say I'm a one man software writing business. I have a "free trail" on my web page.. I don't need to be secure, after all, I don't take credit card orders or anything. But, if a cracker penetrates my host, my free trail can be patched to open a few ports on their box. Oh, but no-one with anything to keep secure would download a free trail and just run it? Maybe not, but one of their employee's might, on his home pc.. "It's my pc, I'll install what I like".. then he ssh's into work.
How we know is more important than what we know.
Doesn't this just SCREAM for a "flamebait" tag? :)
Welcome to the real world. It's populated by lots of generally cool, intelligent people. It's also chock-full of people with malicious intent. That's why we have people who make it their profession to protect those who hire them.
The dynamics are the same online as offline. Most people already know this. Perhapse its new to you? In any case, either produce some Good Ideas on how to fix the situation or take your sabre-rattling elsewhere. On the off chance that this is humor... work on your delivery.
(note to moderators: aren't these kinds of notes simply missing the point?)
I took a look at your website, and the only possible conclusion is that you have a professional interest in the continued existence of an anarchic and lawless Internet. You make your living by providing "security audits" to the poor suckers who can't defend themselves against the criminal hordes of the net. That's like paying the Mafia or some paramilitary group to protect me. It's easy to come up with a scenario where rivaling groups will hack each other's customers to prove that the other group's service is insufficient. You even acknowledge to "dabble in the dark side".
Thanks, but no thanks.
I have a strong political interest in anarchy. My business model reflects that.
How we know is more important than what we know.
Seems to be three camps here. 1. Stupid thing to do, go find someone to work for.
2. Cool project. I make comments but do nothing.
3. I posted first!
Look. Back in the old days we used to call up BBSs and down load the latest t-file from the cDc. It called for action "Go out! Save yourself! Do something!" I'm only 23. But, back then I went to school and didn't think about guns. I thought about Nukes. Now suddenly, people shooting eachother left and right. People get pissed and say we should do something, but nothing is done. Or, people just think it doesn't happen around here.
Well, let me offer you a clue. Nukes = got enough money go get one. Guns = that kid Kip in Springfield, I dated his sister -- I cooked dinner in his house.
This guy scanning is like Paul Revere. One if by land, two if by sea, three if by fiber. China is getting pissed and our whole economy is running off the net right now.
If you don't smell the smoke you won't get burned right?
Linux is a counter-culture. Once you have a mascot you just sit back and watch the game. Slashdot and freshmeat are your cheerleaders, but won't it be funny when you find out that's the idea. Keep em occupied and they will obey. Stop reading these half-thought, rant things and look around. Look at a gas station, see that dish? Look at the supermarket see that veriphone.
Seems to be three camps here.
1. Stupid thing to do, go find someone to work for.
2. Cool project. I make comments but do nothing.
3. I posted first!
Look. Back in the old days we used to call up BBSs and down load the latest t-file from the cDc. It called for action "Go out! Save yourself! Do something!" I'm only 23. But, back then I went to school and didn't think about guns. I thought about Nukes. Now suddenly, people shooting eachother left and right. People get pissed and say we should do something, but nothing is done. Or, people just think it doesn't happen around here.
Well, let me offer you a clue. Nukes = got enough money go get one. Guns = that kid Kip in Springfield, I dated his sister -- I cooked dinner in his house.
This guy scanning is like Paul Revere. One if by land, two if by sea, three if by fiber. China is getting pissed and our whole economy is running off the net right now.
If you don't smell the smoke you won't get burned right?
Linux is a counter-culture. Once you have a mascot you just sit back and watch the game. Slashdot and freshmeat are your cheerleaders, but won't it be funny when you find out that's the idea.
Keep em occupied and they will obey.
Stop reading these half-thought, rant things and look around.
Look at a gas station, see that dish? Look at the supermarket see that veriphone. Can you say rations, food coupons, etc.
Isn't it about time to get rid of it when you're not using it for kernel/device programming? For all the macho C hacks out there who claim to write nice, maintainable, object-oriented C code that is safe from buffer overflows, I'll show you a million monkeys who don't. This if anything is a wake up call for adoption of safer programming languages on Linux Even C++ would be a step in a better direction. Eiffel, Ada, Java, and Dylan would be even better. Besides just the script-kiddies, there should be universal condemnation for all the lame shitty C code showing up on freshmeat everyday, infested with buffer overflows, memory leaks, and poor code quality. Someone should ship a secure Linux distro like OpenBSD with all of the crappy utilities and bloated amateur code weeded out.
Granted they could have been more open and aboveboard, but for what was done it was at least following a principle of least damage. What impresses me the most is the open and meticulous documentation of the project; the report was quite nice to read especially considering that the author noted English is not their native tongue. Hopefully the distributed BASS can be implemented ASAP, and convince more people to A) use transparent encryption where possible, and B) think about the issues and their relevance to themselves (of course, expecting most people to think is a chore in and of itself).
Fuck Slashdot
why don't you just..
*gasp*
actually read the article, download the scanner that they used in their survey, and scan all the computers that you're wondering about
not too hard now is it?
btw, it compiled fine for me.
...
Bitchslapped? Give Rob a bitchslap from bitchslapped.com.
Window managers run as the user, and do not listen over the network. As such, a buffer overrun in a window manager would not gain an attacker anything. X on the other hand, runs as root (and by default listens on port 6000). block port 6000 at the firewall, and tunnel X through ssh. If you're hyper-paranoid, boot off a write protected floppy, and run tripwire (binary and database) on a burned CDROM. make sure that tripwire is statically linked! Might want to put ssh on that CD too.
Oh, maybe we should all just install "FED-watch" and leave it to the "Internet Protection Agency" to keep us all secure. We're in an anarchy here, we can either embrace that or we can try to build up authoritarian governments to destroy it. IDDN is an idea that very quickly leads to the libertarian argument (as told by Robert Nozick in "Anarch, State and Utopia"): When living in an anarchy we will sometimes come to disagreements. Sometimes these disagreements will need brute force to resolve (Nozick doesn't beleive that people can resolve conflicts without resorting to violence) and we can't allow anyone to just attack anyone they like.. this leads to feuding, because people will sometimes over-punish those who wrong them, which will lead them to seek retaliation. So, we say, form a group (or a union) who agree that if one person needs backup, we'll all pop up and go and help them. This gets real tired, real quick, so we ask "isn't there someone I can just pay to do this" and someone stands up and says "yer.. I'll protect you if you pay me".. so we have these protection agencies that stake out certain territories and get people to pay them. Now, eventually someone from one territory has a gripe with someone from another territory and the protection agencies go to war. Some time in the future, they decide it would make sense to come up with some way of deciding who is right and who is wrong in this silly argument. They apply these rules and form a sort of "Federation" of protection agencies. However, there is always the man who doesn't want to pay a protection agency. What happens when someone, who is in a protection agency, wrongs him? He goes out seeking retribution and meets up with a wall of resistance. The man defending himself decides that he can't live without protection from the federation of protection agencies. So he signs up.. before long, everyone is expected to pay the protection fee, and the protection agencies start saying "no one has a right to perform acts of violence except us". This is the night watchman of the libertarian state.
From there we move on to people complaining that there arn't enough "public goods". So they start to form welfare societies and opera groups. These slowly get bigger and have trouble managing their money collecting, so they turn to the people who already have a good system of collecting cash - the state. Welfare and opera become another thing that everyone must pay for, and the "protection fee" becomes a "tax".
The alternative is to refute any form of authoritarianism.. because we know where it leads, to an all powerful state who spends billions of dollars on war planes when half the world is starving.
How we know is more important than what we know.
So we should stop trying to make cars safer? Obviously there are risks in anything, but if we can control them, we should take steps to reduce them. Obviously, there are some risks we have no control over. Computer security is not one of them.
If you are refering to the people who did that scan has hackers or common criinals you are a complete ignorant person. They are computer security professionals doing a survey of the internets computer security. Companies do this kind of thing all the time and charge thousands for the results, they just did it free. Lets start arresting every demographics and market research company as well. And what about the company that surveys what web servers are used on the net, are they criminals? If you were not referring to the people who did that scan, then well, ignore everything I said.
Jeff Knox
With the speed and intimate knowlege shown by the intruder from Week 3, one name comes up.. Erwin!
;-)
I suppose after Columbia Internet got hit with the probe, Erwin took it personally. After having NT on it's drives before, I imagine it knew exactly how to get into the NT box and play around with everything to get the SSH going and eventually onto the Linux box.
It makes perfect sense =) That's what we get for messing around with an AI of that caliber
You might be blinded by the 200 year old concept of laws in this country, but don't ignore the insight to be gained from this. They are not criminals if they operated outside legal jurisdictions, and shouldn't go to jail for helping the ignorant see the light. What price are you paying exactly from this? education? Alot of history's greatest minds who made contributions to society, were also labeled as petty criminals by ignorants like yourself. be more scared of your neighbor's ability to go to a gun store and purchase an assault rifle to blow your head off.
--------- The universe as we currently understand it: First there was nothing
I just love comming off IRC and repeating the same conversation on slashdot.. Even if you disable kernel modules you can always use /dev/kmem tekniq to install stuff straight into the kernel (like STAOG, the world's first ELF infector).. so then someone says, "can't you checksum the kernel".. the answer is yes, but you could always just patch the checksum code.. if you have the time and the inclination. So then we said "why not reboot off a floppy to checksum your binaries?", and the work around that is old virus tekniq, change the CMOS to boot C: A:, password protect it, infect the mbr to check if a floppy is present and pretend to boot, patching the floppy's kernel on the fly.. and for the new skool: infect the flash memory on the motherboard.. oh the joys of reusing virus research.. the best idea is to pull the harddrive, plug it into a never-been-networked-pc and do your checksums there.. also a good idea to grab a disk editor and look through the sectors for the original logs and the crackers archive of scripts (as they did).
How we know is more important than what we know.
Now download that client and get cracking. ;-)
Ask them if they believe in the theory of gravity. Invite them to jump off a tall building. If they refuse, accuse them of not being open-minded.
My conclusion is the exclusion of Microsoft was meant to speak volumes. Or, "Win 98/NT is a known insecurity as a whole. As such, we won't devote resources to rediscover a known problem."
Perhaps Microsoft (if hell freezes over) will see what this means. Serious administrators concerned about security will/should shy away from using Win 95/98/NT for mission critical operations and networking where security is a concern. Then, when they are serious about beefing up security, they won't run windows2000test.com. Instead they'll allow independent and open review of their security system and network protocols. After all no one seems to trust an un publicly tested encryption algorhythm.
Only after Microsoft has taken the serious step to more secure networking, do I think they'd be worthy of the scanning effort.
--Humpty Dumpty was pushed!
Um, they didn't try to crack 45 million computers. All they did was probe for known exploits.
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
I'm proud of my Northern Tibetian Heritage
The article writer is correct when he suspects that military systems approved to process classified information must be specially audited and unconnected to the internet at large.
:)
As a point of caution to those about to grab this latest scanner and joyride, every military installation & network is monitored 24/7. I assure you, portscans are detected and the source IP recorded & blocked. (To be specific, for 15 days after the attack/intrusion; if it occurs again, further measures are taken.)
Of course, where I work, many of the CSSOs and TASSOs consider applying the latest patches/disabling the latest services to be rather a pain. But then, it's a research institution, and scientists don't like to sully their hands with such mundane matters.
Just wanted to reassure slashdotters that the military does take computer security very seriously. At some laboratories, you would have better luck sauntering in and sitting down at a computer physically, than messing around with network attacks.
The similarity I'm drawing on this is that these guys are, in effect, casing servers. Now the good or bad of the facts is something else.
I've come up with a few thoughts:
1) This seems to be beneficial information on the general state of security on the Net (poor)
2) Any sysadmin smart enough to check logs and not be lulled feeling secure should use this as a further wake-up call to review their services. Do they really need non SSH telnet services running? How are those firewall settings?
3) There are those out there who will always take things the wrong way.
I'm interested in seeing where this project ends up. With RC5 like support, or in jail like Mitnick.
--Humpty Dumpty was pushed!
[Now, a little more off topic...]
"...America's great minds of today, teaching America's great minds of tomorrow. Poor bastards." -- A Beautiful Min
Yes, it sent chills down my spine when I read it as well. I've known such things were possible but didn't think anyone had yet gone to the trouble.
There are things you can do about it, though.
Some Unixes, including Linux and the freeware BSDs (all BSDs since 4.4, I think), have the concept of "securelevels". Set files to be immutable (under *BSD the command is "chflags schg somefile") and raise the securelevel above zero. This prevents everyone, including root, from modifying the file. At securelevel 2, the disk and memory devices are also read-only, to prevent doctoring that way.
This doesn't stop intruders from gaining root, but it can prevent them from trojaning everything and going invisible, or at least make it a hell of a lot harder.
The only way around it is to go to the console and bring the system to single-user mode. If some files or directories used in the boot sequence before the securelevel is raised aren't set immutable, it's often possible to modify them such that the securelevel will not be raised during the next reboot, so it's important to know what you're doing. Other than that, the only way for an intruder to trojan the system is to discover a bug in the kernel itself. There have been bugs found in the past, but they are much less plentiful than root exploits.
the crackers got in via a KDE buffer overflow? why would kde listen for incoming connections? should I remove kde from my system?
The ability of a program to always be able to detect if it had been modified is the Holy Grail of the Software Anti-piracy world.
I have never seen an anti-piracy scheme that couldn't (read: hasn't) been cracked. There is no such thing.
werd.. we charge cash for what they just did.. If everyone scanned every box they came in contact with and sent a descreet email to the admin telling them it was ownable, we would have much better security.
How we know is more important than what we know.
Good luck. Unless the branch of service you're interested in has an opening in the exact field you're interested in, don't exect to do it. Assuming you DO find an opening, do NOT enlist unless you've been guarenteed that position on papper. Recruiters will play bait-and-switch and they will lie.
Having said that... it doesn't mean you can't find interesting, rewarding jobs in the military. You might even get to do what you want to do. But your happiness in your job involves a combination of carefull planning and luck (and maybe a willingness to accept your second or third choice of careers).
Whatever you do, don't go in under an "open enlistment" (that is - no specified career field / position).
Again... good luck.
I'm realizing that something stupid like an obscene message on one of my stupid little web servers will probably get me in more trouble than a stealthy download of confidential files. Lock it all down. Only the paranoid survive.
Monty
Perhaps the greatest injustice in the scan is that they were only interested in insecure unix machines. Agreed, it is way more interesting to probe unix and a lot easier, but there are a massive number of windoze boxes that are just obviously sploitable. A bigger threat than the splill-on effect of hack-sniff-hack attacks is the "secret weapon" attack. Spend two days in softice looking at tcp/ip code for win98 and you are almost guarenteed to find a DOS attack. Look for a week or more and you will probably find a local sploit.. try your luck at a month and you should be able to find a remote sploit that will get you access to every web surfin' spud's computer. Everything else is downhill from there. When have a sploit that no-one knows exists, you only have to worry about the folks who burn their tcpdump logs every day and only then when you screw up. If you want your network secure, don't use microsoft.. don't let your employee's use microsoft.. but who want's a secure network anyways?
How we know is more important than what we know.
The way the Internet works today is by making the individual bear the whole burden of his personal security and privacy. It's his duty to stay informed about the latest security exploits, and to endlessly reconfigure his system in order to keep up with the criminal plebs of the net.
This has got to change.
As an analogy, picture the common man living in some western society. If the real world worked like the Internet, he would be living in a world withough laws. He would have to organize his own defense, keep abreast with the latest developments in lock-picking technology and assault weaponry. He would have to stockpile firearms in his bedroom, fence his backyard with barbed wire and lay a minefield to his front porch.
But in real life, he doesn't care. The state provides him with a much better service than he could ever manage by himself: a refined body of laws and the muscle to enforce them - the executive branch.
What the Internet needs today is a common set of laws and an institution that yields enough power to enforce them. I want to be absolutely certain that if anyone manages to break into my private property, there will be an agency that perceives it as its holy duty to track down the perpetrator, capture him and punish him with a much greater efficiency than a personal vendetta could ever hope to achieve.
No more excuses. Crackers are criminals, and it's about time we treat them as such.
"I assure you, portscans are detected and the source IP recorded & blocked. (To be specific, for 15 days after the attack/intrusion; if it occurs again, further measures are taken.)"
Bullshit.
We got smurfed from an open US Navy smurf amplifier.
It took me almost a week to contact anyone who could fix the problem. And several days before the amplifier was closed after I notified them of the problem.
recorded and blocked, my ass.
denial of service attacks on private corporations are being conducted via your friendly US government, and your tax dollars are funding it.
enjoy.
Bigs words for someone who doesn't sign their name. The level of skill shown by the "super cracker" here only comes about through either diligent practice or structured training. To get either you have to be free from police intervention, so my conclusion is that this person is either so good that they don't fear police or they are trained by the government and considered above them. So yes, put up your hand (and sign your name) to the libertarian night watchman but understand that your taxes will be spent on people like this guy, exactly what you appear to dispise.
How we know is more important than what we know.
Japan has long been a hide-out for hackers and crackers. Japan has the odd habit of putting people who do things like unscramble flmask in jail while letting hackers trash security left and right. The language barrier alone is enough to keep overseas hacks comming back to cover tracks. NTT's InfoSphere and OCN networks were wholesale owned from the leaf nodes up to the NOCs (I still have a letter from InfoSphere apologizing for the compromise of their nationwide network). NTT techs that set up all those frame relay connections have a long and glorious history of not installing passwords on any of the boarder routers; cisco techs are so thin amoung the tech population the the majority of the cisco equiment installs are running hackable IOS). The extensive ISDN network is exceptionally vunerable to spoofing both internally and externally. One of the computer systems developed for on-demand tapping of phone calls (now legal in Japan) was hacked into the week after the legislation passed. So, if you know how, it's very easy to not only get someone's network traffic, but to tap the home and cell phones as well. Very easy... And the silly JPCERT's effort to put abuse detection systems at IXen and NOCs are easy defeated with simple, packet level encryption of previously rooted machines at whatever leaf end you're targeting. And don't even talk to me about the PHS network... even fscking OL amatures hack that net as an idle pasttime. Finding a non-owned network provider in Japan can sometimes be difficult. It was so bad at one point that major .ac's had their net access pulled because of the degree to which they were on auto pilot. Even after some sense of sanity was achieved, most of the major IXen filtered their packets. Fun and games, while policemen sleep in their kobans; detectives chase angokosai pimps, bozo-suzki and meth dealers.
These people call themselves hackers, but they're just common criminals.
Something needs to be done about this ASAP. It's unacceptable that people have to live in fear of a malicious attacked when they connect their computers to the Internet. Security conscious companies need to waste millions of dollars on security audits, machines need to be constantly reconfigured just because a new exploit has been mentioned on bugtraq.
A group of pre-adolescent petty criminals have declared the Internet a lawless zone and we're all paying the price.
(note to moderators: I'll repost this comment until you stop moderating it down)
With a securelevel of two (or even 1) you cannot read a module after the boot phase.
With a securelevel of two the kernel cannot be altered and even root cannot fiddle with disks and memory devices. Your are pretty sure your kernel is yours unless the machine is rebooted, but you could notice that. (Why the hell have I been disconnected ?)
Then people would just have to spoof email at night on ISPs, so that they know what boxes are unsecure, without too much work.
Of the 36 million addresses in their list many are unused, part of modem dialup pools, assigned to router ports, running NT, etc. The percentage of UNIX servers which are vulnerable would be much higher.
I wouldn't want begin to guess the percentage of vulnerable NT machines...
Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
Do it in 8 seconds??? That's Incredible! (TM that old 70s (80s?) show by the same name)
I learned a fair amount reading this article, most specifically:
- Don't run anything you don't
- absolutely need! Like X.
I know that'll make things sometimes slower, and less pretty, but look at the alternative! 8 Seconds... DAMN!"...America's great minds of today, teaching America's great minds of tomorrow. Poor bastards." -- A Beautiful Min
I want to find out if *my* ISP and the hosts I use were some of the open systems.
I can't spell or type, but that doesn't mean I'm unusually stupid.
Think it over. They did what they could without being sent to hell. Now finding a known hole, a possible one, does not imply automatically this system is insecure. In addition some domains, even .com, are often used by small to tiny one man companies who just have not a./o. cannot afford the necessary infrastructure. My second criticism is about something like CERT is, well, superfluous. Contrary to their nice try CERT reports *are* about *real* and problems. Any CERT report is more informative than this accumulation of numbers. In short IMHO it was a good PR show within the possible limits and they are for sure qualified enough to go farther if they want to but they have done nothing for security, so thanks for the party and let's shoot the lights.