News for hackers. Stuff that matters.
Re:Flame: Massive cyber-attack discovered, researchers say by swatkat on Monday May 28, 2012 @11:00AM (#4033634)
Re:Flame: Massive cyber-attack discovered, researchers say by gaius on Monday May 28, 2012 @12:00PM (#4033892)
Aren't these the guys who wigged out because they thought Duqu was written in an entirely new custom virus language? And it was actually Visual C++? The second most common compiler on the planet? (after GCC) I would take their analysis with a big pinch of salt.
Re:Flame: Massive cyber-attack discovered, researchers say by swordswinger12 on Monday May 28, 2012 @01:46PM (#4034300)
Give them some credit. Duqu was written using a nonstandard C extension for OO and it was pretty heavily obfuscated iirc.
Re:Flame: Massive cyber-attack discovered, researchers say by gaius on Monday May 28, 2012 @03:15PM (#4034593)
Not really; they just did OO with C structs and function pointers, this is actually how it used to be done in high- performance code like computer graphics before C++ got fast enough. And the " obfuscation" was passing the -O flag to the compiler...
Re:Flame: Massive cyber-attack discovered, researchers say by __alexs on Tuesday May 29, 2012 @02:46AM (#4036255)
s/used to be done/is/

Also, the Linux kernel, and any other half decent large C program.

Re:Flame: Massive cyber-attack discovered, researchers say by forgotusername on Monday May 28, 2012 @03:37PM (#4034662)
Any group of reverse engineers who notice C calling conventions and conclude the function parameters are so uniform that it must absolutely be a deadly new HACKER LANGUAGE need to be taken out back and shot, but I doubt any actual engineers were responsible for that announcement.
Re:Flame: Massive cyber-attack discovered, researchers say by dbh937 on Monday May 28, 2012 @09:49PM (#4035596)
From the official blog post: >There are however some links which could indicate that the creators of Flame had access to technology used in the Stuxnet project - such as use of the “autorun.inf” infection method If I'm not mistaken, you can find youtube videos on how to exploit autorun.inf to make a prank virus. I'm with you on these guys missing easy stuff.
Re:Flame: Massive cyber-attack discovered, researchers say by est on Monday May 28, 2012 @09:58PM (#4035611)
> technology used in the Stuxnet project - such as use of the “autorun.inf” infection method

Can't tell if you are trolling or ...

Re:Flame: Massive cyber-attack discovered, researchers say by klt0825 on Monday May 28, 2012 @06:42PM (#4035230)
That was actually my first thought as well. To be fair, it was C with Simple Object Orientation so not quite as terrible as misidentifying C++ straight up though it was still a bit of a fiasco.

From their perspective, I'm sure (over)hyping everything new they analyze as the next 'big deal' helps business even if they are wrong about the details on occasion.

Re:Flame: Massive cyber-attack discovered, researchers say by gaius on Tuesday May 29, 2012 @03:22AM (#4036358)
The InfoSec industry unfortunately is 99% scaremongers and wannabe spies.
Re:Flame: Massive cyber-attack discovered, researchers say by LiquidSummer on Monday May 28, 2012 @11:26AM (#4033748)
>At the moment, we haven’t seen use of any 0-days; however, the worm is known to have infected fully-patched Windows 7 systems through the network, which might indicate the presence of a high risk 0-day.

I really want to know what that 0day is, I can't comprehend how hard it would be to find a 0day remote execution on a Windows system

Re:Flame: Massive cyber-attack discovered, researchers say by btipling on Monday May 28, 2012 @11:44AM (#4033829)
The exploit might not be part of the package. It could be that the exploit installs flame and then uninstalls or removes traces of itself. 0days are very valuable, it makes sense to remove it if it has served its purpose.

Some exploits like those delivered via browsers attempt to execute code in privileged contexts without any file i/o. There might never have been anything to remove.

Re:Flame: Massive cyber-attack discovered, researchers say by mkr-hn on Monday May 28, 2012 @11:13AM (#4033688)
The LUA makes me wonder if the creator could be identified by their coding style.
Re:Flame: Massive cyber-attack discovered, researchers say by pjin on Monday May 28, 2012 @11:52AM (#4033862)
From the Kaspersky article, Flame ships with a Lua VM, sqlite3, zlib, libbz2, and an SSL library (probably OpenSSL?), and these and more apparently result in its unusually large size (almost 20 MB).

Sounds almost like "lean malware" written by a relatively small team using easily available tools and libraries.

Re:Flame: Massive cyber-attack discovered, researchers say by spritrig on Monday May 28, 2012 @10:13PM (#4035637)
FLAME isn't a virus, it is software from Brazil, just like LUA is from Brazil.

"Tool prototyping in the FLAME platform is based on the Lua scripting language. Lua is adopted in FLAME as an extension language: its interpreter is embedded as a library into the measurement agents. On the one hand, the Lua interpreter gives to the scripts running in the agents access to active measurement primitives through a high-level, minimalist API. On the other hand, the measurement agents and the measurement API are implemented in C, preventing significant overheads in the measurement results due to the execution of Lua scripts." http://martin.lncc.br/main-software-flame

Re:Flame: Massive cyber-attack discovered, researchers say by josephkern on Tuesday May 29, 2012 @02:37AM (#4036225)
Thank you for doing ten-minutes of research. Your investigative style of journalism is apparently better than both Kaspersky and the BBC.
Re:Flame: Massive cyber-attack discovered, researchers say by makomk on Tuesday May 29, 2012 @03:55PM (#4039412)
Looks like that link's since been updated to make it clear that this is a completely unrelated piece of software called Flame that just happened to use LUA too, with it being very unlikely that any code could be shared between the two. Basically, the name's just a coincidence.
Re:Flame: Massive cyber-attack discovered, researchers say by fidotron on Monday May 28, 2012 @12:23PM (#4033986)
Yes, this almost looks like they've created a sort of malware toolkit which has all the hard parts and exploits in C, but can be scripted quickly for purpose.

Even better if the scripts can then be updated remotely as well.

All things considered, this is the kind of thing you'd do if you were going to do this long term.

Re:Flame: Massive cyber-attack discovered, researchers say by raverbashing on Monday May 28, 2012 @03:36PM (#4034659)
Yeah, I mean, sqlite3? In a 'virus'?

What's next? Shipping the JVM and MariaDB

Re:Flame: Massive cyber-attack discovered, researchers say by duaneb on Tuesday May 29, 2012 @01:01AM (#4036045)
The original virus may have only been a few hundred KB, which then bootstrapped the rest of the program. Just because you're writing malware doesn't mean you have to sacrifice good tools.
Re:Flame: Massive cyber-attack discovered, researchers say by gregholmberg on Monday May 28, 2012 @04:21PM (#4034797)
The Lua [0] functions are an interesting read.

CamelCase is mingled with upper and lower case VERBOSE_DEFINITIONS separated_by_underscores. This lack of a clear coding style may be visually annoying, but can be added during a final obfuscation step. The unstyled code may not be present in the unobfuscated repo, and does not necessarily indicate the presence of conflicting coding styles on the malware team.

The properties table called flame_props is created and populated inside of a deeply nested if-statement. Are all other branches of this function forced to operate without a valid properties table? This is not an obvious design choice for any programmer who values harmony in a team working on a shared codebase. Perhaps the Lua coder worked alone. Also, this kind of wtf_logic is difficult to insert later as obfuscation.

On lines 2 and 4 of the example, the Flame Lua supervisor appears to be loading text from an external source and eval'ing it as code. Lua distributions have long offered an entire API for managing and loading modules. Breaking a large project into modules is a standard practice. Reinventing a module loading tool, then, is probably not a path to reliability. The module loading code in Lua is a time-tested grab bag of platform-specific heuristics and yet is still a frequent topic of discussion on the mailing list. Given the multi-platform operating requirements of the program, reinventing it doesn't seem like the most robust design decision.

Similarly, the flame_props table is initialized with strings that looks like the names of entries in property tables of other modules. Why is there not a central way to create and populate these tables? Requiring conversion of "string dot string" into a clean table reference before use seems to unnecessarily add danger to the setup code.

Although I keep referring to a possible obfuscation step, I don't see strong evidence for one. The code uses variable names like SUCCESSFUL_INTERNET_TIMES_CONFIG next to l_1_0 and l_1_1. The short names are quite likely to cause new bugs due to typos, yet the long is very descriptive, almost self-documenting. I have seen code like this before -- it came from neglect bordering on malice, not from deliberate obfuscation.

There is plenty more in there.

[0] "What's in a name?" http://www.lua.org/about.html#name

Re:Flame: Massive cyber-attack discovered, researchers say by haberman on Monday May 28, 2012 @03:38PM (#4034663)
The reason why Flame is [20MB] is because it includes many different libraries, such as for compression (zlib, libbz2, ppmd) and database manipulation (sqlite3), together with a LUA virtual machine.

SQLite is 500kB, Lua is 150kb, zlib is 80kB, libbz2 is 60kB. Together this comes to less than 1MB, not 20MB. You would need an awful lot of libraries like this to get anywhere close to 20MB.

Re:Flame: Massive cyber-attack discovered, researchers say by timdorr on Monday May 28, 2012 @04:31PM (#4034831)
They're likely skipping over a ton of libraries for brevity's sake. It captures data from audio, video, bluetooth, and other sources. A full BT stack is going to be pretty sizable. If there's any compression being done on that audio or video, that could also add to the bulk.
Re:Flame: Massive cyber-attack discovered, researchers say by runjake on Monday May 28, 2012 @11:41PM (#4035840)
I don't get the point of your comment. Are you saying you doubt it's 20MB? Or that it doesn't include a lot of libraries?

What point are you trying to make exactly?

Re:Flame: Massive cyber-attack discovered, researchers say by fusiongyro on Tuesday May 29, 2012 @01:06AM (#4036048)
He's pointing out that the explanation for the size given in the article isn't adequate because the facts don't bear it out.
Re:Flame: Massive cyber-attack discovered, researchers say by haberman on Tuesday May 29, 2012 @01:56AM (#4036141)
Exactly. I particularly wanted to mention that it's entirely possible to ship software that uses libraries like this but isn't 20MB large. But maybe there are a lot more libraries included than are mentioned here (as another poster suggested).
Re:Flame: Massive cyber-attack discovered, researchers say by thursley on Monday May 28, 2012 @11:19AM (#4033719)
More technical details (pdf) on: http://www.crysys.hu/skywiper/skywiper.pdf

Although the naming differs it has been noted on several blogs that it is the same malware.

Re:Flame: Massive cyber-attack discovered, researchers say by LiquidSummer on Monday May 28, 2012 @11:38AM (#4033804)
I always hesitate a little bit when I open a pdf, specially when it is one on malware
Re:Flame: Massive cyber-attack discovered, researchers say by FreakLegion on Monday May 28, 2012 @04:39PM (#4034855)
Note that while the exploit is in the PDF, the vulnerability is in the PDF reader. In practice, Adobe's software is the only attack surface anyone ever exploits, so you can read exploit-laden PDFs worry-free by using a less popular alternative. The same is true with Word/Excel files, etc.

You should still have some kind of comprehensive security solution in place, particularly for a business environment, but use of non-standard software is an effective fail-safe for when your "real" security craps out on you (as it inevitably will).

Re:Flame: Massive cyber-attack discovered, researchers say by makomk on Tuesday May 29, 2012 @03:58PM (#4039433)
I've no idea why everyone only exploits Adobe's software though. For instance, pretty much all the open source PDF readers are based on a single PDF library called Poppler with a history of security vulnerabilities - exploit that and you should be able exploit all of them in one fell swoop.
Re:Flame: Massive cyber-attack discovered, researchers say by missing_cipher on Monday May 28, 2012 @12:05PM (#4033909)
Would opening a pdf via Chrome for example provide any extra protection? From what I understand most of the exploits are because of embedded media, no?
Re:Flame: Massive cyber-attack discovered, researchers say by LiquidSummer on Monday May 28, 2012 @12:20PM (#4033973)
Extra protection as opposed to opening it in adobe reader, yes, much likely. Chrome has a sandbox for pdfs as far as I'm aware, they also provide a lot of big bug bounties to people who find any remote execution bugs in Chrome. So, in conclusion, yes, chrome provides relatively more security than other software when opening PDFs.
Re:Flame: Massive cyber-attack discovered, researchers say by Danieru on Monday May 28, 2012 @01:17PM (#4034157)
Even better would be firefox's javascript based pdf reader.
Re:Flame: Massive cyber-attack discovered, researchers say by rbanffy on Monday May 28, 2012 @01:23PM (#4034184)
You can always open it inside a throwaway VM. I keep a couple ;-)
Re:Flame: Massive cyber-attack discovered, researchers say by rbanffy on Monday May 28, 2012 @01:19PM (#4034171)
It depends: will you render it using Adobe's software?
Re:Flame: Massive cyber-attack discovered, researchers say by swatkat on Monday May 28, 2012 @02:32PM (#4034454)
IIRC, both Adobe Reader "Protected Mode"[1] and Chromium "sandbox"[2] are built on Windows user-mode sandbox framework[3]. Basically, things like principle of least privilege and disable writes etc.

[1]http://blogs.adobe.com/asset/2010/10/inside-adobe-reader-pro...

[2]http://dev.chromium.org/developers/design-documents/sandbox

[3]http://blogs.msdn.com/b/david_leblanc/archive/2007/07/27/pra...

Re:Flame: Massive cyber-attack discovered, researchers say by acdha on Monday May 28, 2012 @10:16PM (#4035648)
Security is all about execution: Chrome has an enviable track record; Adobe has an embarrassing one. They could change that but it's unclear that they're motivated to build up serious security competency (if they were, the manager in charge of their update process would be fired for cause)
Re:Flame: Massive cyber-attack discovered, researchers say by duaneb on Tuesday May 29, 2012 @01:19AM (#4036070)
Use chrome! It's probably more secure than downloading the PDF and opening it with Adobe software.
Re:Flame: Massive cyber-attack discovered, researchers say by josephkern on Tuesday May 29, 2012 @02:38AM (#4036234)
Adobe Reader X actually has a decent sandbox ... but you're generally correct, I would trust chrome more.
Re:Flame: Massive cyber-attack discovered, researchers say by duaneb on Tuesday May 29, 2012 @03:31AM (#4036381)
Wow, I take back my statement. I have more respect for Adobe now.
Re:Flame: Massive cyber-attack discovered, researchers say by jsz0 on Tuesday May 29, 2012 @12:32AM (#4035973)
For what it's worth if you're using OSX Lion Preview is sandboxed.
Re:Flame: Massive cyber-attack discovered, researchers say by rhdoenges on Monday May 28, 2012 @02:34PM (#4034459)
> sKyWIper may have been active for as long as five to eight years

spooky.

Re:Flame: Massive cyber-attack discovered, researchers say by radagaisus on Monday May 28, 2012 @12:16PM (#4033955)
>> Our estimation of development ‘cost’ in LUA is over 3000 lines of code, which for an average developer should take about a month to create and debug.

They should do project estimation instead of Security Analysis.

Re:Flame: Massive cyber-attack discovered, researchers say by munin on Monday May 28, 2012 @01:33PM (#4034232)
"It’s easier to hide a small file than a larger module." my mind is blown. small files are not like small rocks. it's a computer!
Re:Flame: Massive cyber-attack discovered, researchers say by gue5t on Monday May 28, 2012 @03:25PM (#4034622)
Assuming fairly dense formats (no .wavs or .bmp images), large files necessarily mean more than small files, so they draw more attention to themselves. "Why is /foo/bar using 300MB of disk?" is a much more likely avenue of inquiry than "Why is /foo/bar using 50KB of disk?".
Re:Flame: Massive cyber-attack discovered, researchers say by moe on Monday May 28, 2012 @05:00PM (#4034905)
Except the last time when 20MB was "large" was in the early 1990s. Today, even if someone goes to clean out their harddrive, a 20MB file is unlikely to even appear on the radar.
Re:Flame: Massive cyber-attack discovered, researchers say by cstejerean on Monday May 28, 2012 @11:02PM (#4035749)
Unless you're dealing with most corporate mail systems.
Re:Flame: Massive cyber-attack discovered, researchers say by duaneb on Tuesday May 29, 2012 @01:11AM (#4036054)
I don't quite understand what you mean - the 20MB file would stand out on a mail server? I find that unlikely, unless they're running OpenBSD. Is the 20MB file attached to mail messages? That also seems unlikely, if only because that's a really stupid way to design a virus.
Re:Flame: Massive cyber-attack discovered, researchers say by Travis on Tuesday May 29, 2012 @02:03PM (#4038816)
The reason it's a stupid way to design a virus currently is because that was one of the primary attack vectors in the past. Yes, most decent mail systems will protect against this. But some might not -- might as well use what's worked in the past as well as other options.

Also, what if the mail component were used to hide/archive the virus? Hide a virus attachment from someone to themself, then have some bootstrap code (Outlook/email client exploit, perhaps) that loads the email archived virus back onto the comp.

Re:Flame: Massive cyber-attack discovered, researchers say by count on Monday May 28, 2012 @10:59AM (#4033629)
Didn't Sub7 do all of that back in the 90s?
Re:Flame: Massive cyber-attack discovered, researchers say by TheCapn on Monday May 28, 2012 @11:05AM (#4033658)
BBC won't provide the technical details that we hackers would require to differentiate the two. If it shares the likes of Stuxnet then it would have some pretty clever 0-days inside to help with infection and spreading.
Re:Flame: Massive cyber-attack discovered, researchers say by hippich on Monday May 28, 2012 @12:54PM (#4034091)
right. and it was NOT developed by state.
Re:Flame: Massive cyber-attack discovered, researchers say by makomk on Tuesday May 29, 2012 @04:02PM (#4039466)
I think hobbyist development of exploits of the kind that lead to Sub7 has mostly fallen out of fashion, to be honest. Most of the stuff out there these days seems to be commercially-driven scamware and phishing and its developers don't have the same incentive to make their code as 1337 as possible. So 90s-style exploit kits and RATs are quite unusual in 2012.
Re:Flame: Massive cyber-attack discovered, researchers say by tomrod on Monday May 28, 2012 @11:01AM (#4033643)
Man, I love hearing the nitty-gritty security details. More like this, please!
Re:Flame: Massive cyber-attack discovered, researchers say by vecinu on Monday May 28, 2012 @11:06AM (#4033665)
I assume we are going to see a complicated and interesting dissection a la Stuxnet? The Stuxnet TED talk [0] was really interesting, I ended up giving a talk to my department at work afterwards.

[0] - http://www.youtube.com/watch?v=CS01Hmjv1pQ

Re:Flame: Massive cyber-attack discovered, researchers say by jacquesgt on Monday May 28, 2012 @11:59AM (#4033890)
Here's a much deeper and more technical presentation Ralph Langner gave on Stuxnet.

http://vimeopro.com/s42012/s4-2012/video/35806770

Re:Flame: Massive cyber-attack discovered, researchers say by mikegirouard on Monday May 28, 2012 @03:59PM (#4034728)
> "Currently there are three known classes of players who develop malware and spyware: hacktivists, cybercriminals and nation states."

Surely that can't be all-inclusive… is it?

Re:Flame: Massive cyber-attack discovered, researchers say by dfc on Monday May 28, 2012 @04:04PM (#4034739)
How could it not be? That is a very broad group. Who else has the motivation to develop and maintain large scale malware/spyware? If you want to be pedantic about it cybercriminal is probably broad enough to be all inclusive.

I guess you could include companies like Sony but they were probably excluded for not having the same malicious intent.

Re:Flame: Massive cyber-attack discovered, researchers say by tlack on Monday May 28, 2012 @11:14AM (#4033690)
I'd love to know more about the command and control servers. If any of them involve paid hosting that might help to out the guilty party.
Re:Flame: Massive cyber-attack discovered, researchers say by LiquidSummer on Monday May 28, 2012 @11:21AM (#4033732)
Highly unlikely that that will happen, simply because even the smaller virus writers take precaution when buying servers, they usually do it using stolen credit cards that are not hard to acquire. In addition, the it also depends whether the hosting companies are willing to assist people with the investigation.
Re:Flame: Massive cyber-attack discovered, researchers say by hippich on Monday May 28, 2012 @12:55PM (#4034094)
if I would invest that much time into writing software, I would add TOR or i2p connectivity and would connect to hidden service
Re:Flame: Massive cyber-attack discovered, researchers say by duaneb on Tuesday May 29, 2012 @01:19AM (#4036067)
I would love to see the binary, even if it means waiting until vulnerabilities are patched.
Re:Flame: Massive cyber-attack discovered, researchers say by josephkern on Tuesday May 29, 2012 @02:39AM (#4036237)
At 20MB I would be suprised if it didn't patch itself with new exploits.
Re:Flame: Massive cyber-attack discovered, researchers say by duaneb on Tuesday May 29, 2012 @03:31AM (#4036385)
Hopefully the infected would not only patch but perform quarantines.
Re:Flame: Massive cyber-attack discovered, researchers say by LiquidSummer on Monday May 28, 2012 @11:10AM (#4033679)
I'm fed up by these technically lacking stories that don't give you the details but tell you that its "complex". While I realise that the BBC website is aimed towards the general public I think that it would be beneficial to include at least some technical details.
Re:Flame: Massive cyber-attack discovered, researchers say by davidandgoliath on Monday May 28, 2012 @11:18AM (#4033716)
If you're fed up with that, avoid the mainstream media & delve into the blog post linked up above :)
Re:Flame: Massive cyber-attack discovered, researchers say by LiquidSummer on Monday May 28, 2012 @11:23AM (#4033737)
Haha! yeah I just finished reading the kinda-more-informative analysis (http://www.securelist.com/en/blog/208193522/The_Flame_Questi...). Seems very interesting. I wish that they would share the samples so other hobbyists could also see what it is like
Re:Flame: Massive cyber-attack discovered, researchers say by zby on Monday May 28, 2012 @11:20AM (#4033725)
Or links to sources - this is the web for god's sake!
Re:Flame: Massive cyber-attack discovered, researchers say by NelsonMinar on Monday May 28, 2012 @06:37PM (#4035218)
The Wired ThreatLevel article is a good alternative summary to the BBC article. http://www.wired.com/threatlevel/2012/05/flame/
Re:Flame: Massive cyber-attack discovered, researchers say by DrummerHead on Monday May 28, 2012 @10:33PM (#4035691)
Those paragraphs are so short that it makes me angry.
Re:Flame: Massive cyber-attack discovered, researchers say by gcb on Monday May 28, 2012 @01:45PM (#4034291)
Their conclusion that because it doesn't steal money it can't belong to cybercriminals is bogus and show how little they understand of the industry.

I've heard of researchers from one company dumpster diving the competition. A worm (as amateur as a 20mb one ) could easily be the work of those kind. But i think it gets less press than "evil country" "omg world cyber war" ...not that it may not be happening anyway.

Re:Flame: Massive cyber-attack discovered, researchers say by fishcakes on Monday May 28, 2012 @12:08PM (#4033921)
We should just convert the comments to a poll. Who is behind this?
Re:Flame: Massive cyber-attack discovered, researchers say by maayank on Monday May 28, 2012 @01:10PM (#4034145)
How would we keep track of scores? would you keep editing your post to reflect changes in voting?

(this is besides the point if it is a good or bad idea. In any case, it is certainly seems novel to me)

Re:Flame: Massive cyber-attack discovered, researchers say by fishcakes on Monday May 28, 2012 @12:09PM (#4033924)
US
Re:Flame: Massive cyber-attack discovered, researchers say by dylanhassinger on Monday May 28, 2012 @06:44PM (#4035237)
Weyland-Yutani
Re:Flame: Massive cyber-attack discovered, researchers say by fishcakes on Monday May 28, 2012 @12:09PM (#4033926)
Isreal
Re:Flame: Massive cyber-attack discovered, researchers say by fishcakes on Monday May 28, 2012 @12:09PM (#4033927)
non-state actor
Re:Flame: Massive cyber-attack discovered, researchers say by codesuela on Monday May 28, 2012 @01:05PM (#4034131)
North Korea
Re:Flame: Massive cyber-attack discovered, researchers say by fishcakes on Monday May 28, 2012 @12:08PM (#4033923)
China
Re:Flame: Massive cyber-attack discovered, researchers say by ktizo on Monday May 28, 2012 @08:53PM (#4035513)
CotDC (only saying this because the list of features reminds me of an article I read years ago about MS Back Orifice)