Trinity DDoS Discovered
BulletValentine writes "ZDNet is reporting that approximately 400 machines have been found to be running Trinity v3, a DDoS attack program. Supposedly Trinity can set up to eight different types of flood attacks. ZDNet referred readers to Internet Security Solutions for more information about the attack and precautions to take."
-Denor
The thought that someone could remotely tell an infected box to DoS a box is unreal. It's so simple, yet brilliant, yet scary. Does anyone know how this gets distributed to a box? Does someone purposefully have to install it or is it a Trojan Horse?
"Evil beware: I'm armed to the teeth and packing a hampster!"
Lex orandi, lex credendi.
Open source is great because, although this bug has been overlooked, somebody now has the opportunity to track it down and fix it in a few hours. Try that with closed source programs...you'd have to wait until the vendor shipped a patch.
I'm hanging out in #b3eblebr0x. You know, because this way I can keep an eye on the little buggers.
Hey...where'd all my bandwidth go?
-------------------
But I do appreciate earlyish warnings like this.
It can keep me from having the campus getting whacked later. I just monitor for inbound connections to that port. (Or look in IRC sessions for the appropriate channels.) and have our security people follow up. MUCH better than them running around CLEANING up.
I love you... Ok I love you AND the UNIX operating system, but then I've know it longer.
As alread noted, they haven't indicated how this gets transmitted, but they also don't say where the figure of 400 hosts comes from.
:-)
It looks like they wanted to be the first to break the story and didn't care about what they had to leave out to gt there first.
Bloody first posters!
FatPhil
Also FatPhil on SoylentNews, id 863
I found that part to be particularly amusing, for some strange reason. I know, it's an evil app, but I have to admire the interface. Might be a useful thing to use in legitimate administration systems - like maintaining a render farm, etc.
:)
Maybe it's just me, but IRC seems like a cool way to go about doing that...
Having your own channel to issue commands to your compromised minions of systems, really really feels like something out of SnowCrash, or maybe even BatMan...
; -- the corruption of government starts with its secrets. a truly free people keep no secrets. --
There is a much better article at http://xforce.iss.net/alerts/advise59.php .
-------
Synopsis: A new Distributed Denial of Service tool, "Trinity v3", has been discovered in the wild. There have been reports of up to 400 hosts running the Trinity agent. In one Internet Relay Chat (IRC) channel on the Undernet network, there are 50 compromised hosts with Trinity running, with new hosts appearing every day. It is not known how many different versions of Trinity are in the wild.
The flooding commands have this format: , where flood is the type of flood, password is the agent's password, victim is the victim's IP address, and time is the length of time to flood the agent, in seconds. The available flood types are the following:
tudp: "udpflood"
tfrag: "fragmentflood"
tsyn: "synflood"
trst: "rstflood"
trnd: "randomflagsflood"
tack: "ackflood"
testab: "establishflood"
tnull: "nullflood"
Other available commands include:
ping: Ping each client. The client will respond with "(trinity) someone
needs a miracle..." size : Set the packet size for the flood, 0 for random.
port : Set which port to hit, 0 for random.
ver?: Get the agent's version. The agent X-Force is analyzing replies with " trinity v3 by self (an idle mind is the devil's playground)"
-------------
-Pete
Soccer Goal Plans
Follow the white rabbit!
:-) = I am happy
:^) = I am happy with my big nose
C:\> = I am happy with my OS
it's really quite beautiful. I mean, send out a program, have it connect to a channel, and send it instructions through the channel. That's just plain cool.
While I know cracking is a bad thing, I think some of these guys should get an award for creative thinking. And to see a *real* cracker break into a system with definite, calculated measures... it's just... wow.
Sorry, I know they shouldn't be given extra reason to do this stuff, but I stand impressed.
I'm really interested to find out how this was distributed though...
Let me get this straight. There's a trojan floating around which requires some libraries be installed in secure locations, which requires root permissions. So the article goes on about how the trojan works, but gives not one indication of how the thing gets installed. Not to worry though, they have a product that will plug the hole for you.
Why do I smell old fish? It sounds to me that there is an attempt to sell a product by scare-mongering. How can an IRC chat session install files in a directory that requires root permissions? If someone is chatting in IRC as root and allows unchecked software to be installed from a remote server, aren't they getting what they deserve in the same way that I would get my just deserts from driving my car without motor oil? Open-source does not equate to security in spite of stupidity!!
Aah, change is good. -- Rafiki
Yeah, but it ain't easy. -- Simba
the same Trinity from the Matrix? You know, the one who haxx0red the IRS code?
Your day can only be going so well, when you're quoting Keanu Reeves.
Posting this story may not be such a good idea. The uninformed reading this story are getting information then their interest will end. On the other hand, script kiddies are going to read this story and not stop when the /. article ends - they're going to look for and d/l Trinity v3. Kind of a catch-22, let news of this DoS incident get out, or supress it so it doesn't start more problems, hmmmm.
-- Sirius
I am so tired of hearing of these kinds of exploits. MS and Mac use these actions as an excuse to say the Unices are security hazards. Either these kiddies need to grow up or we must keep up our watch for these tools. Of course, I don't need to say this to most of you, but it is those that are lax in maintaining their machines that put others at risk.
nahtanoj
"Trinity." Too funny. The same name given to the first US nuclear bomb project. ;>
Is it just me, or do *all* the DDoS tools seem to arise from IRC? I am not saying this as anything bad against IRC. I personally use IRC quite a bit and find it to be an excellent tool for communication. What really bothers me is the little "hax0r kiddiez" who have nothing better to do than attempt to take over channels and brag to each other how 1337 they are (*not*).
Honestly, this was probably conceived of so somebody could flood an irc server and get it to split from the rest of the network. Especially if it is using irc as a control interface.
I find this kind of thing quite prevalent in many places. I was speaking to a kid (he's only 15) the other day who "created" a local ls exploit just for fun. This kind of thing freaks me out.
Software like this gets put on servers either through social engineering (convincing the admin to install it) or even more commonly by finding systems with security holes that have been well documented, "rooting" the system, and installing anything the attacker deems neccessary. It is fairly simple to do this.
Use nmap to scan an ip range. Keep details on what OS/daemons it is running. Search all your favorite script kiddie sites for exploits on those systems. Use exploit. Get root. Install DDoS daemon. Flood IRC server.
Look how '1337 you are now (*not*)!!!
wolf31o2 Developer, Gentoo Linux Games Team
I always thought Trinity was a guy.
If tits were wings it'd be flying around.
---
Internet Security Systems not Internet Security Solutions, tho that is what they provide.
------ Curiosity killed the cat. {satisfaction brought it back | it didn't die ignorant | lack of it is killing mankind
Give me a break!
I guess this is kinda repetitive but you have to actually have something called root rights to install not only a library but a server that listens in port something...
Trinity (someone needs a miracle, very funny...) is just a symptom, not a illness.
If someone get rights to install a root shell server controlled by IRC (very creative)then the DDoS part is just an application. Today DDoS, tommorrow....who knows....
So, we have not only 1 but 400 admins out there who actually got Trinity installed in their systems somehow...does any of them have actually a clue of how this happened???!!!
He is hiding behind the refrigerator in #b3eblebr0x.
Now if only I could find his missing hat in the picture...
------
Let me give you the lowdown
X-Force
X-Force Home
Alerts
Serious Fun
Mail Lists
Security Library
Protoworx
Submissions
Feedback
Advanced Search
Alerts
Back to Alert List
Internet Security Systems Security Alert
September 5, 2000
Trinity v3 Distributed Denial of Service tool
Synopsis:
A new Distributed Denial of Service tool, "Trinity v3", has been
discovered in the wild. There have been reports of up to 400 hosts running
the Trinity agent. In one Internet Relay Chat (IRC) channel on the
Undernet network, there are 50 compromised hosts with Trinity running,
with new hosts appearing every day. It is not known how many different
versions of Trinity are in the wild.
Impact:
Distributed Denial of Service attacks can bring down a network by flooding
target machines with large amounts of traffic. In February of this year,
several of the Internet's biggest websites, including Yahoo, Amazon.com,
Ebay and Buy.com were taken down for extended periods of time by tools
similar to Trinity.
Description:
Trinity is a Distributed Denial of Service tool that is controlled by IRC.
In the version that the X-Force has been analyzing, the agent binary is
installed on a Linux system at
it connects to an Undernet IRC server on port 6667. There is a list of
servers in the binary:
204.127.145.17
216.24.134.10
208.51.158.10
199.170.91.114
207.173.16.33
207.96.122.250
205.252.46.98
216.225.7.155
205.188.149.3
207.69.200.131
207.114.4.35
When Trinity connects, it sets its nickname to the first 6 characters of
the host name of the affected machine, plus 3 random letters or numbers.
For example, the computer named machine.example.com would connect and set
its nickname to machinabc, where abc is 3 random letters or numbers. If
there is a period in the first 6 characters of the host name, the period
is replaced by an underscore. In our copy of Trinity, it joins the IRC
channel #b3eblebr0x using a special key. Once it's in the channel, the
agent will wait for commands. Commands can be sent to individual Trinity
agents, or sent to the channel and all agents will process the command.
The flooding commands have this format:
, where flood is the type of flood, password is the agent's
password, victim is the victim's IP address, and time is the length of
time to flood the agent, in seconds. The available flood types are the
following:
tudp: "udpflood"
tfrag: "fragmentflood"
tsyn: "synflood"
trst: "rstflood"
trnd: "randomflagsflood"
tack: "ackflood"
testab: "establishflood"
tnull: "nullflood"
Other available commands include:
ping: Ping each client. The client will respond with "(trinity) someone
needs a miracle..."
size : Set the packet size for the flood, 0 for random.
port : Set which port to hit, 0 for random.
ver?: Get the agent's version. The agent X-Force is analyzing replies with
" trinity v3 by self (an idle mind is the devil's playground)"
Another binary found on affected systems is
binary is not to be confused with the real "uucico", which resides in
/usr/sbin, or other default locations such as
simple backdoor program that listens on TCP port 33270 for connections.
When a connection is established, the attacker sends a password to get a
root shell. The password in the binaries that we have analyzed is "!@#".
When the uucico binary is executed it changes its name to "fsflush".
Recommendations:
Scan all systems for port 33270 connections. If any connections are found,
telnet to that port and type "!@#". A system has been compromised if there
is a root shell present after a successful connection to port 33270.
Use "ps" and "lsof" in the following manner to identify a port-shell
installed by Trinity:
#
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
uucico 6862 root 3u IPv4 11199 TCP *:33270 (LISTEN)
#
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
uucico 6862 root cwd DIR 8,1 4096 306099
uucico 6862 root rtd DIR 8,1 4096 2 /
uucico 6862 root txt REG 8,1 4312 306589
uucico 6862 root mem REG 8,1 344890 416837
uucico 6862 root mem REG 8,1 4118299 416844
uucico 6862 root 0u CHR 136,2 4
uucico 6862 root 1u CHR 136,2 4
uucico 6862 root 2u CHR 136,2 4
uucico 6862 root 3u IPv4 11199 TCP *:33270 (LISTEN)
# ps 6862
PID TTY STAT TIME COMMAND
6862 pts/2 S 0:00 fsflush
Since the Trinity v3 agent does not listen on any ports, it may be
difficult to detect unless you are watching for suspicious IRC traffic. If
a machine that has a Trinity agent installed is found, it may have been
completely compromised. The operating system must be completely
reinstalled along with any available security patches.
Public chat systems can pose a legitimate security risk. It is up to each
user's discretion to protect from malicious content distributed via these
networks.
ISS RealSecure already contains functionality that may aid in detection of
Trinity. Enable the IRC_Nick, IRC_Msg, and IRC_Join decodes via the
RealSecure console to help track IRC activity. These decodes can detect
joins to the IRC channel #b3eblebr0x, as well as behavior associated with
Trinity. In addition, security administrators may choose to enable a
connection event for TCP port 33270 to detect connections to the portshell
that Trinity is installed on.
ISS Internet Scanner can be configured to scan machines on your
network with the TCP Port Scanner turned on. The TCP Port Scanner can be
enabled by selecting it under the Services category in the Policy Editor.
The TCP Port Scanner should be configured to scan port 33270. If machines
are found to be listening on this port, they may have the Trinity
portshell installed.
The ISS X-Force will provide additional functionality to detect these
vulnerabilities in upcoming X-Press Updates for Internet Scanner,
RealSecure, and System Scanner.
Additional Information:
This information has been researched by Jon Larimer of
the Internet Security Systems X-Force.
______
About Internet Security Systems (ISS)
Internet Security Systems (ISS) is a leading global provider of security
management solutions for the Internet. By providing industry-leading
SAFEsuite security software, remote managed security services, and
strategic consulting and education offerings, ISS is a trusted security
provider to its customers, protecting digital assets and ensuring safe
and uninterrupted e-business. ISS' security management solutions protect
more than 5,500 customers worldwide including 21 of the 25 largest U.S.
commercial banks, 10 of the largest telecommunications companies and
over 35 government agencies. Founded in 1994, ISS is headquartered in
Atlanta, GA, with additional offices throughout North America and
international operations in Asia, Australia, Europe, Latin America and
the Middle East. For more information, visit the Internet Security
Systems web site at www.iss.net or call 888-901-7477.
Copyright (c) 2000 by Internet Security Systems, Inc.
Permission is hereby granted for the redistribution of this Alert
electronically. It is not to be edited in any way without express
consent of the X-Force. If you wish to reprint the whole or any part of
this Alert in any other medium excluding electronic medium, please
e-mail xforce@iss.net for permission.
Disclaimer
The information within this paper may change without notice. Use of this
information constitutes acceptance for use in an AS IS condition. There
are NO warranties with regard to this information. In no event shall the
author be liable for any damages whatsoever arising out of or in
connection with the use or spread of this information. Any use of this
information is at the user's own risk.
X-Force PGP Key available at: http://xforce.iss.net/sensitive.php as well
as on MIT's PGP key server and PGP.com's key server.
Please send suggestions, updates, and comments to: X-Force
xforce@iss.net of Internet Security Systems, Inc.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
iQCVAwUBORMoMTRfJiV99eG9AQH4uQP9FJlj+quxhqRM8Nd
EvtueaGc7dnI08EUgiUCUERjpYCtI8CnL2Gw4kETkmk6wWe
dB4iDKv+NjutECNH3SS71n7D6wkJlNUSk/rJ+WHyHhlwmDH
TLzqCqcKos0=
=kZmQ
-----END PGP SIGNATURE-----
Copyright ©1994-2000 Internet Security Systems, Inc.
All Rights Reserved. Sales Inquiries: sales@iss.net
Hahahahaa.
Ah? ha! ha Ha Ha hahA AhA hA hA.
U ALL R FFFFFFUKED!!
->mafiaboy
->mafiaboy
don't confuse political expression with vandalism
Wasn't id Software working on some secret project called Trinity? Maybe that's why Carmack hasn't been heard from in a while....
MashPotato - Mobile Array of Support Helpers for Potato
-- "I can't tell the future, I just work there." -- The Doctor
Here's some info on why and how this phenomenon occurs.
(If you're already irc savvy, then you likely won't get anything out of the article).
http://theorygroup.com/Theory/irc.html
About a week ago, I had received a couple interesting replies from ACs on a post I made on the Microsoft ApacheFP vulnerability. Apparently, my machine is owned. Perhaps...
There's no excuse for ignoring your systems once they're up, and, some basic detection software should be mandated for future distros of any *n*x. Admins should read up on services that want to launch on start-up, as well, and, I'd also love to see a linux box come with a good set of firewall rules in the startup scripts by default.
I've had quite a few servers scanned over the past month for the rpc services, and the machines have acted appropriately. Including responding to the AC who "owns me" and who proceeded to scan 3 of my boxes. He/she may be correct and own my box. Truth is, I haven't heard from him/her since the scans. And, before anyone mentions it: I get CERT alerts; Security Focus is a daily stop.
Might seem off-topic. But, they're getting in through the rpc services. Firewall them. Then we won't hear a bunch of FUD about how insecure Linux is.....
Linux rocks!!! www.dedserius.com
www.dedserius.com
VB != VisualBasic
Even better, a polymorphic /usr/lib and /usr/bin system! That way, only the local user (and maybe root on a /dev/tty) would be able to change things, as this is the way it should be.
One offtopic thing, but I need to fix a NT4 system: Is there a way to get to the recovery console/command line? I need to replace \WINNT\System32\shlwapi.dll because of a checksum error (eek.)
"Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
"There is skill and dedication involved here, even if it's not to the level of those who author the tools. I think by trying to belittle the perpetrators, people are really just trying to make the problem seem much less severe than it actually is, and thereby make themselves feel better."
VERY well said. If all teenagers were smart enough to run DoS attacks, this would be such a different world as to be unrecognizable.
Hackers do us a favor by showing the security holes, the things that need fixing.
The root problem is social: 1) Women have babies that they do not have the psychological and financial resources to care for. 2) Children who aren't cared for become people who have a lot of inner conflict. 3) Some people with inner conflict choose to make their conflict a problem for others. 4) People who haven't been cared for often have children who also aren't cared for, causing the social process to repeat.
Bush's education improvements were
ya'll know what's true. I be dropping da shizznit..
I've been involved in the MUSH/MUX scene for several years now and have not heard of ANYONE who has had their machine hacked as a result. Not one. Quite simply, these centralised systems (which never get these 'splits' either) treat stuff like your IP address as privileged information and as such only the system admin can see it.
-- Soruk
What scares me is the number of remote exploits that have been found over the years in Linux-based utilities, and the difficulty of securing current Linux distributions in the face of all of these potential exploits. I have come to the conclusion that Linux is safe on the Internet only when configured as a single-purpose device with all other software removed. Thus I have an old Cyrix P150 now serving as a firewall doing nothing but IP masquerading and (internal) name resolution (it is not listening on the external network). The only service port open is OpenSSH. I have the thing wired to detect and counter all sorts of attacks, but I'm not going to go into that because one of those programs opens me up to a rather insidious Denial of Service attack that's harder to trace than the typical ping flood or smurf.
Does that make me secure? No. If it wasn't for the need to run CIPE, I would dump Linux on my firewall and run OpenBSD there.
BTW, if anybody wants a root kit, I saved the one the script kiddies left for me :-). Very interesting work. Obviously a derivative of one that I encountered in 1997 or so, but with some interesting twists. I especially liked the sweet little hack of 'ssh' that sits on a high port and gives instant root access to the attacker connecting to that port with the right private key. There's a couple of things I would do, if I were the author of this kit, to make it harder to detect though... I won't go into details here though, for obvious reasons. In any event, this particular kit is easily detectable by anybody who routinely examines the contents of their /var/log directory... and if you type 'locate t0rn' you'll see some files that 'ls' says don't exist... 'nuff said. If you're running Linux and you're connected to the Internet, you'd best go check 'locate' results now :-).
-E
Send mail here if you want to reach me.
There are some tools to detect that 'netstat' and 'ps' are no longer reporting the same stuff as what's being reported in /proc, but these tools do not come with the typical Linux distribution and could easily be hacked themselves if they became common. I won't mention particular tools 'cause I don't want to give the kiddies an idea what they're facing when they go against my system :-}.
-E
Send mail here if you want to reach me.
Unfortunately, no current Linux distribution comes with intrusion detection tools installed, running, or even mentioned in the documentation. They should. Especially given Linux's lousy record in this area (yes, problems are fixed quickly, but there are so MANY of them...).
-E
Send mail here if you want to reach me.
Here's how it ends!
instead of fixing the problem.
It's really kind of rank how everyone who considers him/herself a *n?x geek blames everyone's security problems on stupidity. So because I didn't spend a year or two reading Linux manuals and experimenting before hooking up to the Internet, *I* am to be blamed for the fact that 90% of the default *n?x installs are full of gaping holes? That's like a car manufacturer blaming the consumer for not knowing his car leaked gasoline, thus fixing it before he drove it anywhere. "What do you mean you didn't know it was leaking, stupid? It's not our problem it blew up! Everyone knows that cars leak gas and have to be fixed before use! Sheesh. Idiot."
Knowledge should be used responsibly. When you hand out an insecure product to a mass of people that you *know* aren't going to understand how to secure it, that's just inexcusably irresponsible. The more you say, "Those stupid users, it's all their fault!!" the more you blind yourself to the fact that the real problem is at the source, and security problems like this will just continue. Until the people who hand out the software decide to take responsibility and secure their products *before* they get to the user, things will only get worse. Expecting each user to not only become a *n?x expert, but to be one before receiving the software , is simply unfeasible.
Or, to put it another way, it's just plain stupid.
MSFT burned its way into the history books with operating systems so full of holes that today they have to be protected from approximately 47,000 different viruses (at least that's what Norton Antivirus tells me, I take it with a grain of salt). Why the free software community seems to be bent on replacing them as the newest totally insecure product, is beyond me. They seem to be doing a damn good job of it though. If they followed an OpenBSD-like philosophy, we'd have a lot fewer problems.
=============================================
I think you can have a server running on any port > 1024. I guess your passwordless or passwordweak accounts are vulnerable too. Of course it would be obvious that the server is running, but you could rename it to "telnet" or "less".
I'm still trying to figure out what people mean by 'social skills' here.
Name one occasion where you can recall Apple or a Mac user in general saying that "the Unices are security hazards". Come on, name one. You can't, can you? That's because it's a MicroTakeItInTheAss tactic, not an Apple one! Apple has been a good supporter of Linux in the past (although we could use some help right now with the new Cube and dual-G4s..).
Check out sometime the capabilities of the SubSeven windows trojan. It can phone home on IRC, ICQ, or AOL IM. Since I installed my cable modem 2 weeks ago, SubSeven connection attempts have been coming in at the rate of about 2-3/day, (with floods as high as 5/hour) easily making it the most frequent suspicious probe. (not counting the hundreds of UDP port 137 UDP port 137 traffic that goes by - I don't have time to sort all of that stuff into suspicious vs. "normal".
(off topic)
I've tried to set up a little mini-honeypot to see what these SubSeven probers would try after finding a machine with that port open, but only one has actually tried anything; maybe I need to work out more of the protocol to fake it better. (And I would appreciate any pointers on that, especially on what the "UFU" command means - for some reason, SubSeven's source code isn't available)