The BASHandSlash.com Feed

BASH Webcasts

Showing posts with label BASH 911. Show all posts
Showing posts with label BASH 911. Show all posts

Wednesday, June 27, 2007

Alert: Dark.net bot strikes CoD community

Sparks, from the Rise of the Resistance website posted this unhappy news on their forums last night:


Forum/Site Breach

Tally's other site [Tallys-World] as well as this one [Rise of the Resistance] got hacked/breached.

{EDIT}

Forum will be restored sometime Wednesday/Thursday when Tally returns from his trip to Infinity Ward.

Any questions, concerns, or comments... drop me a private message.

Sorry for the inconvenience and we hope to have the forum up and running again shortly.

Production has not ceased or slowed down.

- Alex "Sparks"
What we do know

BASH has learned other sites have also been affected aside from Tally's and RoTR's. Apparently, there is some indication that this is a world-wide problem affecting PHP Nuke sites. Hackers may have detected some vulnerability in these sites and are attacking them systematically.

Interestingly, the Devil-Dogz site was recently attacked by bots (automated scripts) attempting to write (gibberish) into its forums - at least that was what everyone saw on the surface. Security measures were upgraded and it seems the server survived the attacks (however the software it uses is not PHP Nuke).

If you have noticed such activity on your site, you might want to review your own security procedures (oh...and make backups!!). And make sure you have applied all the patches to your systems - not just OS patches, but 3rd party software as well!

There is current suspicion within the CoD community that the bot doing the damage is called:

"Dark.net"

The attacks have been going on for some weeks now. Apparently, 25 June 2007 was a "trigger" date for the bot activation.

According to those in the know, in order for the dark.net bot to work it "would have had to compromise your site and attach itself to it as a user". The lethality of the bot is clearly high and fortunately the American federal government is now involved.

BASHIE award winning RoTR

We are all looking forward to RoTR being restored again to what it was ... a BASHIE award winning website. I hope the culprits are caught and dispensed with.

Friday, June 8, 2007

CoD Client vulnerabilities on the internet

Luigi Auriemma, the software guru whose prolific bug-hunting prowess brought us news of a potential server side exploit (see related topics), has written us again here at BASH to confirm that the vulnerability talked about the other day affects servers only - not clients. So players need not worry.

Having said that, he pointed out another bug, this one in Quake 3 - one which, may have been ported over to CoD2 (Quake 3 engine powers the CoD2 game - albeit in a modified form).

In this bug, the client (player) is vulnerable to a security exploit if they find themselves playing CoD2 multiplayer while linked to a server run by a "black hat" (i.e. hacker) admin.

He has a nice write up of it here:


Here's a quick description of what this issue is all about:
A) File Overwriting through Automatic Downloading

The Quake 3 engine supports an option called "Automatic Downloading" which allows the clients to automatically download PK3 files (maps
and mods) available on the server but not locally.

This option is disabled by default for security reasons...this check can be bypassed through the ...bug described in this advisory, so an attacker can overwrite any file in any disk of the computer in which Quake 3 is running.

B) cvar overwrite with possible info stealing

In short, Luigi is saying that it is possible to overwrite or create any client cvar, even those that are write protected!

Fixes

Bug A) Turn off "Automatic Downloading" feature - unless you are on a trusted server.
Bug B) No fix is available for bug B.

The latter depressing news is not too bad as long as you stay on "trusted" servers. "Black hat" server admins however may be able to create a viable security breach on your computer based on B, but as Luigi, comfortingly, says:

...they are difficult to exploit.


Related topics:

CoD2 Server Vulnerability

Wednesday, June 6, 2007

ATTENTION: CoD2 Server vulnerability found (Map Vote)

If you are an online CoD2 administrator, you need to pay careful attention to this.

I recently came across a website by a prolific Internet security expert who seems to specialize in online game software. His name is Luigi Auriemma, from Milan Italy.

He runs a site dedicated to finding security flaws in games:

http://aluigi.altervista.org/

Signore Auriemma has told me that Call of Duty 2 has a software bug that can lead to an exploit (you'll know what all that means if you have been listening to the Malware series on my webcast).

Not unsurprisingly, the Internet security exploit revolves around the improper handling of user input during Call of Duty 2's map voting. All it requires is for a user to type a very large string into the callmapvote subroutine during voting.

Here is a quote from his site:

http://aluigi.altervista.org/adv/codmapbof-adv.txt
Callvote is the command used by the clients asking the server to start a voting poll for the selection of a new map, for kicking someone and so on. Voting is enabled by default on the server.

The "callvote map MAP" string is handled by a function of the server which takes the MAP parameter and copies it (memcpy) in a local buffer of 64 bytes.
Mr. Auriemma also offers a patch to fix this string handling error in the code and thus prevent any possible exploit. He also has a little test if your server is susceptible.

http://aluigi.altervista.org/patches/codmapboffix.lpatch

download the code here:

http://aluigi.altervista.org/mytoolz/lpatch.zip

Note, that any firewall your server would have would be circumvented with a vulnerability like this. This is a known bug and it might be interesting for players to ask their server administrators whether they are aware of this exploit.

The bug has been confirmed by RaDioAcTivE over on the extremecod.com forums. Here's what RaDioAcTivE said:

I helped Luigi come up with this patch. The exploit was reported to him along with the VA buffer overrun exploit and we worked with him to come up with a patch. Happy to say that both work well and it stopped our servers from being crashed.

He went out of his way to spend a couple of weeks going back and forth with me until he came up with a working patch when no one else would. At the time it was mainly for v1.0 servers since that's where the ******** were hanging out that were crashing the servers. It was mainly one group of people. We managed to get the leader of these idiots ISP yanked along with their main web site and myspace accounts.

Luigi also helped to stop a couple other exploits for UO for us as well.

Monday, June 4, 2007

BASH 911: CVAR out of range

I received the following email from bf, a BASH reader:

I came across your blog "BASH" and wonder if you could help me out. On certain COD2 servers I'm now getting kicked off because my CVAR=10,000 (or something like that). I would never use any type of cheat for online play (vs. just the computer I have, but not COD). How do I fix my CVAR range, whatever that is, so that I no longer get kicked off by Punkbuster?
I'll try and tell you what I think and I welcome any readers to chime-in and suggest their thoughts:

1. Try and remember what the exact CVAR error message is. Your error message sounds a bit vague.

2. Note that when PunkBuster can't determine that a player's gaming environment is functioning properly and/or has not been altered, an Integrity violation is raised. This also involves the detection of modified game or PunkBuster files. These violation numbers are between 10000 and 29999.

http://www.punkbuster.com/publications/d3-pl/index.htm


It's possible that if it's a PunkBuster 10000 code one of their game files was corrupted. Reinstall PunkBuster.

3. Having said that, could it have been this one?

VIOLATION (CVAR) #9001: Cvar cg_hudObjectiveMaxRange = 10000

If this is the one, open your console, (type ~ to open it)

Then type:

/cg_hudobjectivemaxrange 2048

followed by Enter.

CVAR's are client side variables known as console variables and can be changed in the config_mp.cfg file:

C:\Program Files\Activision\Call of Duty 2\main\players\yourname

One of the lines in this file should read:

seta cg_hudObjectiveMaxRange "2048"

Variables in these files can be changed by the user. You may have accidentally overwritten one of the variables. Possibly a CoD2 modification may have done something to alter this number. I am not sure right now. Possibly someone reading this might know more.

Does changing a line in the config_mp.cfg file constitute cheating? In my opinion, no it does not. Not unless, the server your on expressly forbids you from using a value outside a given range.

4. If this happens again, you can always type the name of the variable in the console, like

"/cg_hudobjectivemaxrange"

The console will tell you the current value of the parameter and it's maximum possible value. In this case it is 2048.