2

I saw this popular question and I was wondering if my solution was secure/would be of any help for trying to save any source code written on the machine and prevent attacks:

  • Run the computer on a local network.
  • Copy the code into a file with possible html formatting if you're feeling fancy
  • Host the page to be visible to the local network as a static page
  • Copy and paste the code from the page onto a clean computer
  • I considered posting this as an answer/comment but I wasn't sure if it would work/keep the receiving computer clean. Would you put the local network at risk?

    The goal here is to avoid actually exposing the receiving computer to any malware that could be sent to the "clean" computer. I am looking at this as a way to send text information in a sanitized way from an infected machine to a clean one without allowing for the possibility of malware from traveling between the machines. It's possible for emails/scp's from an infected machines to include extra malicious traffic right?

    You still risk your network but I think most modern browsers should have protections. You avoid using a usb all together.

    10
    • 1
      Why is this different/safer, than copying the text into a text file?
      – schroeder
      Commented Nov 13, 2015 at 15:38
    • It's possible whatever malware on the computer infects every file created/emailed in that machine Commented Nov 13, 2015 at 15:46
    • infecting a text file?
      – schroeder
      Commented Nov 13, 2015 at 15:48
    • Well how do you send the text file? email? scp? I am kinda a novice Commented Nov 13, 2015 at 15:52
    • 1
      It depends on the possible malware and the files. Generally I would open the computer case, remove the HDD, attach it to another PC readonly (there are writeblockers) and copy the binary files. This could be one simple and comfortable solution.
      – user6090
      Commented Nov 13, 2015 at 17:08

    1 Answer 1

    2

    It depends on the possible malware and the files. Generally I would open the computer case, remove the HDD, attach it to another PC readonly (there are writeblockers) and copy the binary files. This could be one simple and comfortable solution.

    You must log in to answer this question.

    Not the answer you're looking for? Browse other questions tagged .