Fixing the Google Reader ‘Backward Hack’

Users of Google Reader, gulker.com followers were complaining that my RSS feed had become a torrent of spam. Somehow, a hacker (or more likely, his ‘bot) was able to penetrate both my WordPress MySQL database and the plugins directory on my host server. I was curious why the spam only showed up in Google Reader, and why I never saw it: it turns out the hack, which runs on the fly whenever the RSS feed is called, blocks itself from running whenever the request comes from the host’s IP or a reader other than Google’s. So my readers see the crud, and I just see my feed, thinking problem must lie elsewhere. Someone has way too much time on their hands.

I’m christening this the Google Reader Backward Hack’, because the code is written into  the wp_options table backwards where it just looks like garbage – not executable code. There is a small amount of forward-reading PHP distributed throughout the ‘garbage’ code, where it’s not obvious to the unaided eye. My guess is that a call to the options table (not sure exactly how this works yet) runs the forward-facing code which, in turn, reads the long stream of backward code. The backward code runs and writes a hidden file (name starts with a period, rendering it invisible on UNIX-based and  some other OSes) to the  Wordpress plug-ins folder where it then runs as a WordPress plugin (which probably won’t show up on your WP Plugins activation page). Whenever Google Reader calls the RSS feed on an IP address other than the host’s, the code returns a torrent of spam from somewhere in the hacker botnet.

My recipe for cleaning out the backward hack (with thanks to Chris Merlo, Jim Goldstein, Scott Loftesness and some anonymous posters over at Google Reader discussion):

  1. Back up your WordPress db, plugins folder and anything else you value.
  2. Search all of the folders and subfolders in your WordPress Plugins folder for files that begin with a period (e.g. .akismet.cache.php, .licence.cache.php) – make a copy of these to your local machine, then delete them. Most WP plugins apparently do not require hidden files.
  3. Using phpMyAdmin (your host may offer it on their server) log in to your MySQL database and search in the wp_options table  for entries named like this – rss_f541b3abd05e7962fcab37737f40fad8 – there will probably be several files named rss_ with a long random string. Most of these files look like regular PHP code. One table entry will contain a very large chunck of ‘garbage’.  One end of the garbage may be marked with this string: edoced_46esab (lave’;s:150 On my system the garbage was at the beginning of the file and ended at ‘edoced_46esab(lave’;s:150.’
  4. Delete the garbage code and save the table.
  5. You should probably disable user registration if it’s on, delete any suspicious users, and change your WordPress db username and passwords and update your wordpress.config.php file. You should also follow all the WordPress security recommedations (e.g. changing  AUTH_KEY, SECURE_AUTH_KEY, LOGGED_IN_KEY, and ‘NONCE_KEYfrom their defaults)

That did the trick on my system. Best of luck to all…

Share:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Twitter

{ 2 trackbacks }

We wuz h4×0r’d
07.14.09 at 6:59 pm
Twitted by gulker
08.25.09 at 1:01 pm

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • 24 vortex toy hauler
  • baltic capital
  • how does it work silkscreen emulsion
  • calculate pneumatic impact force
  • automotive rack pinion componets
  • 18aa.com
  • albert swayhoover outer banks prints
  • adaptations of a reptile
  • utahwildlife.net
  • 2007 channel 3000 meterologists
  • family practitioners committee gloucestershire
  • boston terrier cursor
  • deutsch bank vs john healy
  • jesus requires his followers to love
  • antioch college and horace mann
  • cheap eats rehoboth beach
  • forced milking pics
  • piquaoh.org
  • 10.0 x 20 inner tube
  • ceramic continuous ball mill
  • ginny parnell
  • friends of planned parenthood
  • 10x10 canopy kit
  • tradevv.com
  • cevipof rey perrineau 2008 syndicat
  • javascript change selected form value
  • digital-brilliance.com
  • convince people to donate organs
  • chinas cia factbook
  • familiar quotations name change
  • ac adapters for aaa batteries
  • maps australia queenstown
  • crest builders sdn bhd my
  • airchina seat configuration
  • catholic pastoral council
  • ace of spades headquarters
  • bill chinook death
  • shopglobelife.com
  • alldata tech tip bcm
  • chicas con perros
  • cute emo guy pics
  • bro bang
  • evelyn kitchens salt and pepper shakers
  • download-boosters.com
  • drag chain harrow
  • 1998 nissan 200sx glove box
  • chanel jewerly
  • caroline homer report
  • 1984 regal hood ornament
  • bella italia cambridge
  • baby pics of usher raymond
  • 1 4 sharp color ccd camera
  • grand ledge mi
  • can you dye synthetic wigs
  • 50 ml teflon tubing sample loops
  • mussula osprey
  • frankenmuthjellystone.com
  • air jordan 2
  • friar habit
  • all mixed cat breeds
  • bible symbolism what it means walmart
  • glendora
  • krista bowes
  • civil engineers steel structures karachi
  • interracial.org
  • amador valley high
  • boone and crockett outfitters
  • appleton wisconsin buyers agent
  • 1992 audi 100 performance parts
  • 1500 ton cincinnati press brake
  • cartoon grim reaper
  • ctelzo.com
  • built ny gourmet getaway bag black
  • bartlesville powersports
  • watersorb.com
  • auto repair cost estimator
  • amy thorn
  • calspics.com
  • 12th and porter nashville
  • authentic ticketmaster
  • baptist belief in birth
  • 96 coachman camper 16 floor plan
  • branford conn home town paper
  • crash warped time trials walkthrough
  • ben val
  • occidental grand flamingo in riveria maya
  • a dissertation topic
  • dorothy prentice
  • fishermans bend oregon
  • analysis of romeo and juliet quotes
  • deborah elaine purcell
  • 9 11 budweiser ad
  • airwarriors.com
  • changing forenza headlamp bulb
  • american bulldog rescue massachusettes
  • brondesford.com
  • 29 round glock magazine
  • beef wellington sauce
  • momo hoshino sample
  • golden grain promises
  • 1953 ford sedan
  • kr element
  • psosports.com
  • automotive automobiles trucks rvs tractors motorcycles
  • alphabet soup to copy
  • beep out the f words nitebreed
  • intel fortran compiler
  • borden indiana radio station
  • he hun yellow
  • eboards4all.com
  • bad girl scrapbooking kits
  • ford ka
  • band members foo fighters
  • ammonium nitrate mixture
  • brantford blast
  • domain registration and webhosting
  • 160 meter long wire length
  • lord.com
  • noahs ark branson
  • comfortably numb song facts
  • doeacc olevel examination guess question paper
  • box elder school district
  • brita disposable faucet filtration and canada
  • coursework4you.co.uk
  • alliance airport runway extension project
  • alexandria trips and tours
  • canadian diplomatic passport
  • nakedcapitalism.com
  • children ideal weight
  • anaheim duck fan
  • radiologist opportunity
  • rollsrite.com
  • andrew baldwin tessa
  • asuw experimental college
  • a political map of chile
  • malignant glomangioma
  • ablation complications include
  • colortration.com
  • kiddie kobbler shoes
  • my-space.com
  • kleine drift hilversum thais massage
  • agricultural biogas plant
  • cephalexin parrots
  • banana melon
  • american century homet dorado bedding coordinates
  • 1101 van ness san francisco ca
  • avignon two-door hutch
  • church at quail creek
  • ballistic chokes
  • accompiment soundtracks
  • forced perfomance
  • cable tv series leverage
  • antique glassware prices
  • cosmic vibrational orthodox christianity
  • asl 102 receptive translations
  • david h mcdaniel md
  • adverts gap ben barnes
  • ap calculus course audit
  • listen to seether
  • company novelties
  • alaska tsunami center
  • my street scape
  • impartial mortgage adviser
  • ballard bouquet
  • blueq.com
  • social works influence on family socialization
  • okidata c3400 toner
  • admiz com banner advertising
  • daisy kenyon fox film noir
  • longaberger rosebud basket
  • avi plugin
  • .32 h r magnum cartridge
  • 7 levels of consciousness
  • aluminum molding trim
  • fellows powershred 480
  • hair strengthen oil
  • bird noises swf
  • nortonma.org
  • buy phentermine blue white capsules online
  • 5th wisdom tooth
  • allman brothers pine knob 2008 tour
  • bantam chargers
  • allens belfast bandit tennessee walker
  • gibraltar construction nebraska
  • allaboutcredit.net
  • bx cable clamps
  • bien decrire dans la nouvelle litteraire
  • definition of reflective listening
  • alabama laws on suspect dna testing
  • 2006 nissan altima se r pulley
  • tippmann a5 speed mods
  • battle cry 2007 detroit
  • a t medical supply webster
  • building muscle without weightlifting
  • house of saddam song
  • 07 spring classes dallas baptist university
  • grace mcnish grafton ill
  • 787 aircraft manufacturing partnerships
  • cavalier king charles spaniels uk
  • 01 mustang gt stats
  • eastside cheese
  • a heartwell ending band members
  • claire wilder kansas
  • japaneese 4000x gold water stone
  • doorbell for dogs
  • glimmer handpainted mood rings
  • 100 point id verification sim cards
  • akira original dub stream
  • 2009 ira contributions
  • 14 search engines in 1
  • integrating pc with tv
  • colonial marines militia
  • 1976 almanac
  • anabolic steriods by mail order
  • delinquent tax sale in oregon
  • cara lockwood writer
  • easydos.com
  • andrew grumet s weblog hacks archives
  • john alston speaker keynote
  • district attorney reed walters jena louisiana
  • harman kardon avr-85
  • bully farting in face
  • lady and the tramp tramp doll
  • abercrombie and fitch discrimination law suit
  • 2006 rockwood roo 23b
  • adi ad1988
  • 2000 dodge grand caravan remove radio
  • jd wetherspoons telford
  • cpp taxation and ltd
  • imperiodefamosas.com
  • lawfull intercept internet traffic
  • 1600 bryant san francisco live work
  • size 5 treble hooks
  • seascape explorer
  • brother 320 typewriter user manual
  • 2009 jr hockey world championship schedule
  • katrina bullshit
  • download free gradient for cs
  • herbal-provider.com
  • alpha gamma delta songs
  • angelica diaz de jesus
  • list of scooby doo villains
  • panasonic xtra pro
  • definations of symbolic interactionist
  • brief history of deloitte and touche
  • nature periodical
  • kadena bx
  • amy van dyken swimming underwater video
  • estado de la cuestion medicina
  • apartment rentals providence rhodeisland
  • harriet beecher stowe purple morning
  • overpopulation marbles ceo
  • convertable cribs
  • carfree family interesting shit
  • edelbrock 6 pack mehanical mopar
  • adobe acrobat 9 pro compare
  • california greyhound rescue
  • abrasive belt silicon manufacture
  • adjectives too adjective article noun structure
  • edta blank plasma nicotine-free
  • la ink tlc
  • alps dye sublimation printers
  • cim3.net
  • automotive manufacturers industrial hygiene europe
  • callahan followers
  • vegasvilla.com
  • disneys peter pan
  • hazelton hotel toronto architect
  • free flash chatroom for webmasters
  • rareamateurvideos.com
  • carleton hotel san francisco
  • chinese religon
  • jared jeffries
  • chicken little numa dance
  • 3 major processes of collective bargaining
  • d1v hb
  • mixed signal oscilloscope
  • wetballs.com
  • bagless canister vaccums
  • allison whyte blog
  • alberto contador velasco
  • globalresortsnetwork.com
  • 16 gb flash memory sdhc
  • janet c raphael
  • barong tagalog for sale
  • casablanca 7500
  • arsco.com
  • arms room installation sop
  • 10 day forecast san diego
  • 1973 porsche 911 carrera rs
  • hamer californian boomerang
  • american legion fund raiser
  • ak ira cambodia
  • ephedrine and deaths
  • blood bought
  • iednserror.info
  • bases for a partition lawsuit
  • tnlotteryhr.com
  • dicount code gateway
  • cleanroom software engineering functional specification
  • cordoba dove hunt
  • cn traveller
  • shelovesbukkake.com
  • derivatives
  • affinia erie pa