YugaTech | Philippines, Technology News & Reviews

Philippines, Technology News & Reviews



No Hacking Involved in DOJ and Enchanted Kingdom Websites

Been receiving emails from readers and fellow bloggers about the alleged hacking of 3 government agency websites, namely the DOJ, PNP-CIDG and ITECC. Investigations were being done by PLDT (or Infocom, the webhost), the DOJ and the management of Enchanted Kingdom. What would have seemed like a hack was actually a server glitch.

If you dig deeper into the incident, you will notice that all of the four (4) websites involve are located on a similar IP address (i.e. 202.57.124.135). That’s one sure indication that all of the websites involved are hosted on the same server.

Here’s the weird thing when I first heard/read about it. If it were a hacking attempt, there wasn’t any logic behind it. No visible trace or indication that a hack was made or a script was maliciously injected into the website. They just basically opened up to the official Enchanted Kingdom website. It would seem that the webmaster or someone who have access to the FTP uploaded the Enchanted Kingdom webpages into the other 3 domain accounts.

If the web host (Infocom) was running these websites on a *nix server, it is possible that this was caused by a glitch in the DNS (Bind) or webserver (Apache) configs. Ordinarily, you can only host one website per IP address. However, this is now possible because of Virtual Hosting.

Virtual hosting is a method that is used to host more than one domain name on the same computer, sometimes on the same IP address. This allows you to virtually host as many domain accounts on a single server or single IP. This is done via name-based or IP-based. In this case, since all websites are on a single IP, they used a named-based system.

Wikipedia explains it in more detail:

Name based virtual hosts use multiple host names for the same webserver IP address. With web browsers that support HTTP/1.1 (as nearly all now do), upon connecting to a webserver, the browsers send the address that the user typed into their browser’s address bar (the URL). The server can use this information to determine which web site, as well as page, to show the user. The browser specifies the address by setting the Host HTTP header with the host specified by the user. The Host header is required in all HTTP/1.1 requests.

For instance, a server could be receiving requests for two domains, www.site1.com and www.site2.com, both of which resolve to the same IP address. For www.site1.com, the server would send the HTML file file from the directory /www/JoeUser/site/, while requests for www.site2.com would make the server serve pages from /www/AnthonyUser/site/.

If the Domain Name System (DNS) is not properly functioning, it becomes much harder to access a virtually-hosted website. Ordinarily, in this case, the user could try and fall back to using the IP address to contact the system, as in http://12.34.56.78/. However, the web browser doesn’t know what hostname to send when this happens, so the server will respond with a default website—often not the site the user expects. This workaround is not really useful for an average web user, but may be of some use to a site administrator while fixing DNS records.

Usually this information is stored in the server as httpd.conf. In essence, in misconfiguration might have happened or the httpd file must ahve been corrupted that resulted in the incident above. This usually happens when the files are updated with newer information and was not saved properly, got truncated in the process or the config file had some typos in them.

When this happens, it is usually the first website listed in the configs will appear for all other domains you typed in your browser. As a webhost, we’ve encountered this type of errors/glitches on several occasions in the past. Sometimes, it’s a cPanel bug, a DNS error (Bind) or simply an incorrectly saved webserver config.

permalink

Enter your email address:

Related Entries:


    20 Responses to “No Hacking Involved in DOJ and Enchanted Kingdom Websites”


    1. Gravatar Icon the jester-in-exile replied on Jan 5th, 2008 at 7:07 am (1)

      i knew it. haha.

    2. Gravatar Icon Noemi Dado replied on Jan 5th, 2008 at 8:30 am (2)

      I’ve seen it happen in my servers around once or twice. The hacking didn’t make sense to me too. Usually hackers leave a small note.

    3. Gravatar Icon jay replied on Jan 5th, 2008 at 8:30 am (3)

      when i saw this on the news last night, i already had a doubt. what was said is that the page will be redirected to enchanted-kingdom’s site after login. there were guys from cidg and nbi, claiming that noypi hackers are on the attack again. why in the world they are saying that? they didn’t even provide logs or something that will prove it.

    4. Gravatar Icon Dark Knight replied on Jan 5th, 2008 at 8:40 am (4)

      hehe. thanks for the info!

    5. Gravatar Icon Arnel Reodica replied on Jan 5th, 2008 at 8:56 am (5)

      I think, if the hosting provider is using apache, it is an error in directive…. hmmmm……. Indeed no hacking happened….

      :D

    6. Gravatar Icon Arnel Reodica replied on Jan 5th, 2008 at 8:57 am (6)

      ooopppssss i mean “VirtualHost directive”….. sorry I enclosed the worl VirtualHost in “” characters….

    7. Gravatar Icon otoymreyes replied on Jan 5th, 2008 at 9:03 am (7)

      i knew it! the meda is way too excited to report this :)

    8. Gravatar Icon CallCenterVet replied on Jan 5th, 2008 at 11:26 am (8)

      Sensationalist reporting mofos! That’s what our Philippine T.V. reporting media has come down to.

    9. Gravatar Icon anakng ofw replied on Jan 5th, 2008 at 2:33 pm (9)

      You have the same opinion with technews-ihaw.blogspot.com this group was formerly from ISAW.

    10. Gravatar Icon BrianB replied on Jan 5th, 2008 at 2:56 pm (10)

      I am simply proud that the first hacker to ever be persecuted and put in jail is from my home town and graduated from my high school. Hacked into government sites and I’m damn proud of him, though he’s probably being tattooed right now deep in his privates, if you know what I mean.

    11. Gravatar Icon Peejay replied on Jan 5th, 2008 at 4:05 pm (11)

      Hindi kaya sinadya talaga ng NBI na i-hack-daw ang site ng doj para mabilis na maipasa ang mas matibay na INTERNET LAW??? tingin ko lang naman…

    12. Gravatar Icon Ian replied on Jan 5th, 2008 at 5:30 pm (12)

      They don’t run Apache on a *nix server:

      $ curl -I http://www.itecc.gov.ph
      HTTP/1.1 200 OK
      Content-Length: 10745
      Content-Type: text/html
      Content-Location: http://www.itecc.gov.ph/Index.html
      Last-Modified: Fri, 27 Jul 2007 17:13:39 GMT
      Accept-Ranges: bytes
      ETag: “7e8ef7971d0c71:72c1″
      Server: Microsoft-IIS/6.0
      X-Powered-By: ASP.NET
      Date: Sat, 05 Jan 2008 08:57:15 GMT

      for example.

      It *may* be a misconfigured IIS, though, but still:

      http://www.google.com.ph/search?q=enchanted+kingdom

      Note that the first result (at least in my search results) is http://www.nbi.doj.gov.ph. Interesting…

    13. Gravatar Icon Junelle replied on Jan 6th, 2008 at 3:11 pm (13)

      haaay naku kakahiya talaga sila … sana i hack na lang nga ng totoo! kung marunong lang ako … sira lahat ng sites nila :))

    14. Gravatar Icon blackhat replied on Jan 7th, 2008 at 5:53 am (14)

      i guess he use blackhat techniques.Simple mysql injection can hack a website.

    15. Gravatar Icon ChrisMo replied on Jan 7th, 2008 at 1:53 pm (15)

      Just a freakin glitch, if it was hacked, you’ll never see it redirect, it will either be a defacement or insertions…

      And if I were to hack it, I’d rather have accounts copies and insert misleading info occasionally, that would have a bigger impact…

    16. Gravatar Icon ChrisMo replied on Jan 7th, 2008 at 1:54 pm (16)

      …Just a freakin glitch, if it was hacked, you’ll never see it redirect, it will either be a defacement or insertions…

      And if I were to hack it, I’d rather have accounts copies and insert misleading info occasionally, that would have a bigger impact…imho

    17. Gravatar Icon Ed replied on Jan 8th, 2008 at 11:11 am (17)

      A redirect is good as a defacement. Nobody here actually knew what happened.

    18. Gravatar Icon Sheena replied on Jan 9th, 2008 at 5:04 pm (18)

      Lufhet, Pinoy talaga.

    19. Gravatar Icon dwek replied on Jan 10th, 2008 at 11:23 pm (19)

      there is a possibilty that they are just covering it up :D

    20. Gravatar Icon jampfong replied on Jan 24th, 2008 at 7:53 am (20)

      hi,could you help me about my investigative proj?
      i nid more comments and could you tel me what really happend?is it really hacked or its just a glitch?what does glitch means?tnx

    Leave a Reply




    Technology & Computers - Top Blogs Philippines hit counter
    Modeling Miami Search Results