Welcome to duststar theory
- random, casual, stray thoughts -
"Only a life lived for others is a life worth while." - Albert Einstein
Attack on Google Part 2: An insider coordinated attack?
Author duststar | 19.01.2010 | Category Cyber Security
Continuing from this post.
Google suspects it was an insider leak that provide the attackers their targets
Read more here. http://www.guardian.co.uk/technology/2010/jan/18/china-google-cyber-attack
And, we had more revealations on the trojan that was used in the recent attack.
The trojan was named Hydraq by the anti-virus vendors.
Symantec has released a summary and a technical detail on this.
http://www.symantec.com/connect/blogs/hydraq-attack-mythical-proportions
http://www.symantec.com/security_response/writeup.jsp?docid=2010-011114-1830-99&tabid=2
ThreatExpert has analysed the binaries and the report (technical) is provided in 2 parts:
http://blog.threatexpert.com/2010/01/trojanhydraq-exposed.html
http://blog.threatexpert.com/2010/01/trojanhydraq-part-ii.html
Some interesting observations
Part 1 (http://blog.threatexpert.com/2010/01/trojanhydraq-exposed.html)
1. It runs as a service through svchost.exe. This method generally “hides” the trojan process from showing up on the tasklist.
Firstly, the trojan registers itself as a system service RaS[4 random characters] by creating registry entries under the newly created key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RaS[4 random characters]
The “ImagePath” value of its service registry key is set to start svchost.exe, as shown below:
“ImagePath” = %SystemRoot%\system32\svchost.exe -k netsvcs
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RaS[4 random characters]
2. It make use of %TEMP% to copy itself to. Common place for malware to reside in because almost any other application also uses this system variable for file processing.
For instance, the trojan can create a copy of itself under a random filename in the %TEMP% directory, or it may create a copy of itself under the name %TEMP%\c_1758.nls.
Part 2 (http://blog.threatexpert.com/2010/01/trojanhydraq-part-ii.html)
1. Hinder reverse engineering efforts by increasing code complexity. Complexity equals more time required for tracing program execution flow.
It is also worth noting that the trojan’s code is very fragmented – it is deliberately split into small chunks with the size of a few instructions each, connected with the calls and jumps into a large maze: the code of Trojan.Hydraq contains 1,748 jumps and 922 calls – tracing it requires quite a bit of a patience.
2. Use of encryption to protect the C&C connection details. To defeat static analysis “String” search.
The trojan carries its C&C connection details (server, name, port, retry delay, etc.) inside the internal resource (name is 100, type is 243). The resource is 344 bytes in size, and it is encrypted.
3. Use of alternative DNS to resolve the C&C server IP addresses. To defeat DNS “sink-hole” defence.
It starts doing so by trying to resolve its host name first. If this attempt fails, the trojan makes a DNS query by crafting a TCP packet on port 53 of an alternative (legitimate) DNS server, also specified in its resource, in order to resolve the same host name. For example, the analysed sample has alternative DNS server 168.95.1.1 – this is dns.hinet.net server located in Taiwan.
4. Evade network detection by encoding its network packet through inverting its bytes.
If the connection to remote host on port 443 succeeds, the malware prepares a packet to send – it is 20 bytes in size:
00 00 00 00 00 00 FF FF 01 00 00 00 00 00 00 00 00 00 77 00
The packet is encoded by inverting its bytes:
FF FF FF FF FF FF 00 00 FE FF FF FF FF FF FF FF FF FF 88 FF
5. Evade network detection by encrypting response network packet from server using XOR. Network transport protection mechanism.
As soon as the packet is submitted to the live C&C server, it receives the response packet that is also 20 bytes in size. It is encrypted with the XOR 0xCC.
6. Self-updating to survive.
It may be assumed that upon successful connection to the remote C&C server (sl1.homelinux.org), the trojan was designed to be able to update itself. A new copy may have a different C&C server specified in its resource (e.g. yahooo.8866.org, 360.homeunix.com or as in the last seen sample – blog1.servebeer.com) in order to survive the shutdown of the old servers.
Recommended protection and detection strategy against such 0-day of similiar “style”
1. Sysem lock-down with minimal user privileges.
2. Deploy Host-based intrusion detection system that monitors for:
- Changes to registry esp. services modification, startup entries etc
- Creation of new services
- Creation of new child process from Internet Explorer, parent process (For this incident, this trojan was installed due to a remote code execution vulnerability in Internet Explorer.)
3. Deploy firewall at network perimeter to prevent out-going DNS access from client networks.
4. Deploy desktop firewall for clients and implement tight control over network access provisioning.
.duststar
MapleSEA Registry of Marriages Database is UP!
Author duststar | 18.01.2010 | Category MapleSEA
Following from this post. Belated update.
The user interface (UI) has been completed. Please let me know if there are bugs.
This project was started to maintain an archive of MapleSEA’s wedding gallery, and at the same time allowing users to perform searches of individual player’s records based on player’s IGN (in-game nick) or a specified date.
Why do we need this?
1. For fun!
2. Before you get married in game don’t you wish to know if your partner was married before (and how many times)?
3. Now you can find back your favourite wedding photo shoot easily! Just search for your in-game nick (IGN).
Check out: http://www.duststar.net/projects/maplesea-registry-of-marriages-database/
Hope you all like it.
.duststar
MapleSEA Registry of Marriages (Project ROM)
Author duststar | 16.01.2010 | Category MapleSEA
You see. In real life, we can find out if someone is married or not by checking with the Registry of Marriages. In maplestory (MapleSEA), we have to crawl through every page in the gallery to find out what we want. Therefore, I am working on an automated archival and search project that will automatically collects MapleSEA’s wedding data periodically and allow user to search through these data.
Why do we need this?
1. For fun!
2. Before you get married in game don’t you wish to know if your partner was married before (and how many times)?
3. Now you can find back your favourite wedding photo shoot easily! Just search for your in-game nick (IGN).
While we are waiting for the user interface (UI) for searching to be up, here is some fun statistic.
1. x3ZhuZhux married 5 times ever since MapleSEA keep tracks of in-game wedding.
2009-10-13 ArcanaXII x3ZhuZhux http://www.duststar.net/rom/335d7d90b93fe88ce88a126c05cc08cb.jpg
2008-12-23 MrSp0ngeBob x3ZhuZhux http://www.duststar.net/rom/3dc2c70b578322511785e42035c2ceba.jpg
2008-11-21 xXiaoZaiKia x3ZhuZhux http://www.duststar.net/rom/3676b942b9412a8244c1eb774033acc4.jpg
2008-11-07 x3PeAcHTeA x3ZhuZhux http://www.duststar.net/rom/5d472a37cac68fbb1acd4a5bec8544e3.jpg
2008-10-03 XCrEaTmAgEX x3ZhuZhux http://www.duststar.net/rom/5862c37ebec4ba780bffa806b0eae096.jpg
2. On 14th Feb 2009, we saw the highest number (68) of couples getting married in MapleSEA!
“xXZwordXx”;”MRSCOOKIEx3″
“XxXxShadowxX”;”StarliteDust”
“xSociometry”;”pICkzp0ck3tX”
“XIiaoOnubboi”;”joey890″
“xiiaodidis”;”xPureL0ve”
“XAncientGodX”;”Darlingzx”
“Wizordy”;”xSHI”
“Shaolin”;”BIurrSiiN”
“renry”;”renerine”
“Punchkid”;”b2rusty”
“Nelsonworld”;”Stella279″
“MrZsparrow”;”xDrEDreLx”
“Mickyboyz”;”MinniegirIz”
“meetboyonli”;”ghostlyhq”
“mabaouncle”;”ChubbyKaty”
“Lord0FheaveN”;”YuenakBoos”
“littleboy11″;”x3Tobix3″
“LetMe0ut”;”xbabyMINTxDD”
“IxRuiQuanxI”;”IxXiaoXuanxI”
“HolyRomeo”;”HolyJuliet”
“HIJAYSONL33″;”bonia”
“Godfrey”;”CherAndrea”
“EarthRay”;”xiia0ppEy”
“Chameleos”;”Purpl3YinG”
“BenDanPiggy”;”x3ZacEfron”
“alalulu”;”oOkuenOo”
“nanooo”;”aaMiryonGaa”
“Soospirit”;”o0DeviLry0o”
“SeanPirate”;”BabyLeit”
“JVlyvidanus”;”CutieJoc”
“GodlyAkira”;”MiyuSama”
“Chanceux”;”llEsti”
“3vOlutiOnx”;”xPokeEu”
“zzfreez0nzzz”;”natsuki92″
“xXxDazzyxXx”;”MelodicAngel”
“XiaoMilkx33″;”XiaoAngeIx3″
“xHer3tiC”;”XiAoaNgeLgAI”
“xBakaJey”;”Xqu3lin3X”
“UpInTheSky”;”XiaoLoA”
“SacredLoveY”;”SacredLoveX”
“RangerWANpq”;”CIericWANpq”
“LuVmEgAnLyN”;”lCleriCsiaI”
“l0v3DlT”;”4Everlov33″
“KissChEnDoLx”;”snow1510″
“K4Lieb0yz”;”xXeMoTeddYXx”
“IYoShiRoI”;”xTomat0m3lx”
“IndianPriest”;”ChineseSlN”
“IIDKI”;”baobelx33″
“HoLyAsaSiNe”;”oHoLyoAnGeLo”
“feRmiZa”;”xXClericQiXx”
“ExotherMit”;”Metallicx3″
“BossKen”;”zBabyCrystaL”
“xxxKenSanxxx”;”BubbieDuddie”
“XiaoMoS3s”;”OoKuioO”
“xH0IyI3I5h0p”;”berry951″
“WNU2613″;”H0LySeEeNz0″
“UnKnOwnDeViI”;”tebby”
“QTcolumBOY”;”AlohaGal”
“proaddicted”;”LoVeLoLiPox3″
“mrharry3″;”xaishax”
“gonzafite2″;”BOttleWinter”
“EverDear”;”Ndas”
“Esplarade”;”TeddyJojo”
“Espadadrigo”;”Kittylingz”
“dEverIove”;”LuLuLaLa8080″
“dessertRazor”;”JefenneyRa”
“CafeGalilee”;”PuR3P1r4T3″
“Boy70″;”Preggie”
Watch out for more updates coming soon!
.duststar
Chinese’s attack on Google, and IE 0-day is out.
Author duststar | 15.01.2010 | Category Cyber Security
In case you was not aware, Google got hacked from what is seems to be another series of “targeted attacks” by the Chinese.
Bojan Zdrnja from ISC wrote that “It appears that the initial attack vector on Google (and 20+ other companies!) was probably a malicious PDF document. Judging by attack dates posted by Google (middle of December), it was maybe even the very latest vulnerability”.
George Kurtz, CTO McAfee wrote that “McAfee Labs has been working around the clock, diving deep into the attack we are now calling Aurora that hit multiple companies and was publicly disclosed by Google on Tuesday.” Follow on, “In our investigation we discovered that one of the malware samples involved in this broad attack exploits a new, not publicly known vulnerability in Microsoft Internet Explorer. We informed Microsoft about this vulnerability and Microsoft is expected to publish an advisory on the matter soon.”
My personal thoughts on this hacking spree:
1. Seems to be using a combination of “Social Engineering” attack with “0-day” payloads. And I would not be surprised if a root-kit was used.
2. How individuals can protect themselves? Always patch your OS and applications, use limited rights account, configure firewall to limit outbound access, and use an anti-virus that relies on not only signatures to detect malware but behavioral and heuristic detection capability as well. It was all described previous in this post.
3. If you wish to do more, for the more technical individuals:
- Catching an IE/Firefox running in your process list but you see no “windows” on the foreground? Probably a trojan horse is using it to bypass your personal desktop firewall since you would have allowed these web browsers to access the Internet.
- Monitor your network connections. Look out for those connections that are frequent and periodic to single address. It might be the trojan horse’s communication channel.
4. It is a good time for corporates to re-look at their cyber security defensive strategies.
.duststar
First Microsoft vulnerability (MS10-001) in 2010: Vulnerability in the Embedded OpenType Font Engine Could Allow Remote Code Execution (972270)
Author duststar | 14.01.2010 | Category Cyber Security
Official link to Microsoft: http://www.microsoft.com/technet/security/Bulletin/MS10-001.mspx
This security update resolves a privately reported vulnerability in Microsoft Windows. The vulnerability could allow remote code execution if a user viewed content rendered in a specially crafted Embedded OpenType (EOT) font in client applications that can render EOT fonts, such as Microsoft Internet Explorer, Microsoft Office PowerPoint, or Microsoft Office Word. An attacker who successfully exploited this vulnerability could take complete control of an affected system. An attacker could then install programs, view, change, or delete data, or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights.
There are 3 points worth mentioning here:
1. The vulnerability is privately reported.
What if this vulnerability was not reported, and kept for private use? It becomes a 0-day. That means undetectable by signatured-based anti-virus, undetectable by network intrusion detection systems. Host-based intrusion detection systems might works in this case if you configure it to detect any code execution attempt performed by these client applications. In case you are thinking that your host-based firewall will save you; no. they can be bypassed.
2. The vulnerability is delivered to users through “piggybacking” popular applications.
In short, any applications that can render EOT fonts will be affected. Therefore, the possibilities to get infected increased drastically. It is imperative to patch your system immediately.
3. Lockdown accounts on system does reduce the impact caused by the exploitation of the vulnerability.
In my previous post, I mentioned the importance of using lockdown accounts and it is applicable to this issue now.
.duststar
Categories
- blog (2)
- Cyber Security (16)
- MapleGlobal (2)
- MapleSEA (21)
Archives
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Feb | ||||||
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 | |||||