ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    WordPress Site Redirecting Sometimes to Hijacked Page

    Scheduled Pinned Locked Moved Solved IT Discussion
    wordpresssecurity
    52 Posts 9 Posters 6.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • travisdh1T
      travisdh1 @MattSpeller
      last edited by

      @MattSpeller said in WordPress Site Redirecting Sometimes to Hijacked Page:

      @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

      @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

      Gah, the dreaded random event diagnostic! I take it that the random redirect happens to everyone? Is it a site some other people could look at and reload just to see when/if it happens to them?

      Nope, not to everyone. I went to the site via IP address first and so the redirect seems to never happen to me from my Linux laptop, regardless of browser. But my Linux terminal server sees the redirect.

      That's pretty interesting all on it's own. Cool problem

      Yeah, when you're not the one that has to fix it!

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller @MattSpeller
        last edited by

        @MattSpeller said in WordPress Site Redirecting Sometimes to Hijacked Page:

        @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

        @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

        Gah, the dreaded random event diagnostic! I take it that the random redirect happens to everyone? Is it a site some other people could look at and reload just to see when/if it happens to them?

        Nope, not to everyone. I went to the site via IP address first and so the redirect seems to never happen to me from my Linux laptop, regardless of browser. But my Linux terminal server sees the redirect.

        That's pretty interesting all on it's own. Cool problem

        LOL, yeah. VERY hard for me to confirm when things are broken or fixed. And at one point it acted fixed for everyone, so they all thought that it got fixed after I did tons of updates and cleanup.

        JaredBuschJ 1 Reply Last reply Reply Quote 1
        • JaredBuschJ
          JaredBusch @scottalanmiller
          last edited by

          @scottalanmiller assuming this is running on Apache can you not find anything in the logs when the pages getting referred

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @JaredBusch
            last edited by

            @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

            @scottalanmiller assuming this is running on Apache can you not find anything in the logs when the pages getting referred

            Sorry should have mentioned that. We did a live "make it happen" even while staring at the logs. Not one redirect to an outside source. From what we can tell, it is somehow being served off of the server using standard page names. But we can't figure out how.

            JaredBuschJ 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @scottalanmiller
              last edited by

              @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

              @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

              @scottalanmiller assuming this is running on Apache can you not find anything in the logs when the pages getting referred

              Sorry should have mentioned that. We did a live "make it happen" even while staring at the logs. Not one redirect to an outside source. From what we can tell, it is somehow being served off of the server using standard page names. But we can't figure out how.

              Oh I've seen that before, it's just a folder with the shit ton a random names HTML an image files. I've never seen it via word press only older websites with the cPanel vulnerabilities.

              travisdh1T 1 Reply Last reply Reply Quote 1
              • travisdh1T
                travisdh1 @JaredBusch
                last edited by

                @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                @scottalanmiller assuming this is running on Apache can you not find anything in the logs when the pages getting referred

                Sorry should have mentioned that. We did a live "make it happen" even while staring at the logs. Not one redirect to an outside source. From what we can tell, it is somehow being served off of the server using standard page names. But we can't figure out how.

                Oh I've seen that before, it's just a folder with the shit ton a random names HTML an image files. I've never seen it via word press only older websites with the cPanel vulnerabilities.

                Sounds very much like a code injection we had years back, yep.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @travisdh1
                  last edited by

                  @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

                  @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                  @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                  @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                  @scottalanmiller assuming this is running on Apache can you not find anything in the logs when the pages getting referred

                  Sorry should have mentioned that. We did a live "make it happen" even while staring at the logs. Not one redirect to an outside source. From what we can tell, it is somehow being served off of the server using standard page names. But we can't figure out how.

                  Oh I've seen that before, it's just a folder with the shit ton a random names HTML an image files. I've never seen it via word press only older websites with the cPanel vulnerabilities.

                  Sounds very much like a code injection we had years back, yep.

                  Yeah, I'm worried that it is in the database somewhere. That would suck big time.

                  At the moment I'm attempting the generation of a static site to have something while the dynamic one is being worked on.

                  travisdh1T 1 Reply Last reply Reply Quote 1
                  • travisdh1T
                    travisdh1 @scottalanmiller
                    last edited by

                    @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                    @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

                    @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                    @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                    @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                    @scottalanmiller assuming this is running on Apache can you not find anything in the logs when the pages getting referred

                    Sorry should have mentioned that. We did a live "make it happen" even while staring at the logs. Not one redirect to an outside source. From what we can tell, it is somehow being served off of the server using standard page names. But we can't figure out how.

                    Oh I've seen that before, it's just a folder with the shit ton a random names HTML an image files. I've never seen it via word press only older websites with the cPanel vulnerabilities.

                    Sounds very much like a code injection we had years back, yep.

                    Yeah, I'm worried that it is in the database somewhere. That would suck big time.

                    At the moment I'm attempting the generation of a static site to have something while the dynamic one is being worked on.

                    Have you restored a backup from before it started happening yet? We found ours by using a diff across all the files for the website comparing the live one to an old version. Doubt that'll work if it's in the database tho, at least not the same way.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @travisdh1
                      last edited by

                      @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

                      @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                      @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

                      @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                      @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                      @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                      @scottalanmiller assuming this is running on Apache can you not find anything in the logs when the pages getting referred

                      Sorry should have mentioned that. We did a live "make it happen" even while staring at the logs. Not one redirect to an outside source. From what we can tell, it is somehow being served off of the server using standard page names. But we can't figure out how.

                      Oh I've seen that before, it's just a folder with the shit ton a random names HTML an image files. I've never seen it via word press only older websites with the cPanel vulnerabilities.

                      Sounds very much like a code injection we had years back, yep.

                      Yeah, I'm worried that it is in the database somewhere. That would suck big time.

                      At the moment I'm attempting the generation of a static site to have something while the dynamic one is being worked on.

                      Have you restored a backup from before it started happening yet? We found ours by using a diff across all the files for the website comparing the live one to an old version. Doubt that'll work if it's in the database tho, at least not the same way.

                      We just took over as their IT.... no backups, no original files, nothing.

                      travisdh1T 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        And the previous company won't even respond.

                        1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch
                          last edited by

                          Did you browse /var/www/html for random stuff??

                          If it is local, it is probably there.

                          Forget about WordPress piece for a minute.

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @JaredBusch
                            last edited by

                            @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                            Did you browse /var/www/html for random stuff??

                            If it is local, it is probably there.

                            Forget about WordPress piece for a minute.

                            There is only the wordpress folder in there and I've looked through it a bit.

                            1 Reply Last reply Reply Quote 1
                            • travisdh1T
                              travisdh1 @scottalanmiller
                              last edited by

                              @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                              @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

                              @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                              @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

                              @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                              @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                              @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                              @scottalanmiller assuming this is running on Apache can you not find anything in the logs when the pages getting referred

                              Sorry should have mentioned that. We did a live "make it happen" even while staring at the logs. Not one redirect to an outside source. From what we can tell, it is somehow being served off of the server using standard page names. But we can't figure out how.

                              Oh I've seen that before, it's just a folder with the shit ton a random names HTML an image files. I've never seen it via word press only older websites with the cPanel vulnerabilities.

                              Sounds very much like a code injection we had years back, yep.

                              Yeah, I'm worried that it is in the database somewhere. That would suck big time.

                              At the moment I'm attempting the generation of a static site to have something while the dynamic one is being worked on.

                              Have you restored a backup from before it started happening yet? We found ours by using a diff across all the files for the website comparing the live one to an old version. Doubt that'll work if it's in the database tho, at least not the same way.

                              We just took over as their IT.... no backups, no original files, nothing.

                              Well, that's gonna be fun to find 😞

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @travisdh1
                                last edited by

                                @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                @travisdh1 said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                @scottalanmiller assuming this is running on Apache can you not find anything in the logs when the pages getting referred

                                Sorry should have mentioned that. We did a live "make it happen" even while staring at the logs. Not one redirect to an outside source. From what we can tell, it is somehow being served off of the server using standard page names. But we can't figure out how.

                                Oh I've seen that before, it's just a folder with the shit ton a random names HTML an image files. I've never seen it via word press only older websites with the cPanel vulnerabilities.

                                Sounds very much like a code injection we had years back, yep.

                                Yeah, I'm worried that it is in the database somewhere. That would suck big time.

                                At the moment I'm attempting the generation of a static site to have something while the dynamic one is being worked on.

                                Have you restored a backup from before it started happening yet? We found ours by using a diff across all the files for the website comparing the live one to an old version. Doubt that'll work if it's in the database tho, at least not the same way.

                                We just took over as their IT.... no backups, no original files, nothing.

                                Well, that's gonna be fun to find 😞

                                Welcome to my personal hell.

                                JaredBuschJ 1 Reply Last reply Reply Quote 1
                                • JaredBuschJ
                                  JaredBusch @scottalanmiller
                                  last edited by

                                  @scottalanmiller have you had somebody go to the site get the bad page grab the file name of one of the files it's loading and then grep it ?

                                  scottalanmillerS 1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller @JaredBusch
                                    last edited by

                                    @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                    @scottalanmiller have you had somebody go to the site get the bad page grab the file name of one of the files it's loading and then grep it ?

                                    It only loads the same page names that are correct for me. Can't find any bad page name. And it is only one page, every link on the bad page points to the main site.

                                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      This is going to take a while...

                                      0_1477614976888_Screenshot from 2016-10-27 20-35-54.png

                                      1 Reply Last reply Reply Quote 1
                                      • JaredBuschJ
                                        JaredBusch @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                        @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                        @scottalanmiller have you had somebody go to the site get the bad page grab the file name of one of the files it's loading and then grep it ?

                                        It only loads the same page names that are correct for me. Can't find any bad page name. And it is only one page, every link on the bad page points to the main site.

                                        The bad page does not have any images or anything else that you could get the file names of their local resources to try and find?

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @JaredBusch
                                          last edited by

                                          @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                          @scottalanmiller said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                          @JaredBusch said in WordPress Site Redirecting Sometimes to Hijacked Page:

                                          @scottalanmiller have you had somebody go to the site get the bad page grab the file name of one of the files it's loading and then grep it ?

                                          It only loads the same page names that are correct for me. Can't find any bad page name. And it is only one page, every link on the bad page points to the main site.

                                          The bad page does not have any images or anything else that you could get the file names of their local resources to try and find?

                                          No images, all image links point back to the URL of the site we are on. Can't find any resource on it. Nothing but text loads, and it only comes up when you go to the default page.

                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @scottalanmiller
                                            last edited by JaredBusch

                                            @scottalanmiller back it up nuke it from orbit, install clean. Install the back up on some temporary service and copy paste the text and shit over

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post