Security questions (spy, workflow, applescript, etc).

Discussion in 'macOS' started by cefey, Mar 27, 2016.

?

Being safe of paranoid? :D

  1. Better safe then sorry!

    1 vote(s)
    100.0%
  2. You are paranoid and crazy!

    0 vote(s)
    0.0%
  1. cefey macrumors newbie

    Joined:
    May 20, 2010
    #1
    Hello,


    Last few year I had couple of minor issues with security of my macbook air.
    I have firevault installed, antivirus (avast or bitdefender) and firewall on.

    I do travel a lot and had someone to look at my mac in couple of shady places (3rd world country, not autosized workshop). Is it possible that they have installed something on my mac, while "fixing" it?

    - I had my CC information stolen (but it might in a store or some website got hacked).
    - In e-mail attachment folder I found some PDF files created not too long ago. But it´s a "copy" of attachments I sent around 2 years ago. How they got created - I do not know...
    - Recently I started learning about applescript and found 3 suspicious workflows, that was supposed (as I understood them) to keep track of all my archives (name of files, make silent copy etc). I panicked and deleted them.. :D
    - 5 workflows were in i-cloud that I did not create... I think.


    It´s been around 2 years since I had someone twitching on my mac. After last time, I even did I clean install. However, I did copy my mailboxes (whole folder), photos and some other stuff back to new installation.


    So my questions are:
    - Is it possible to install spyware, that will not be detected by antivirus (if someone have physical access to my mac)?
    - Is it possible to create workflow/applescript, that will act like spyware. I assume, then it will not be detected by antivirus neither?
    - Is it possible to write workflow/applescript that will keep track of my files (documents, archives, photos, audio, video files, etc?), make a list of all files and/or copy those files and silently e-mail them/upload them somewhere?


    Now, second set of questions, assuming then answer is "yes" to any above.
    - After clean install, if they were in my e-mail folder and I copy them back. They do start working again?
    - Is it possible to hide this kind of script somewhere in my e-mail or icloud, so clean install would not help?
    - Is it possible to place something like that in a keychain?



    So what I did now:
    Another clean install. New icloud account. New e-mail account.
    But I still have backup of my older files. I´ll try to be careful with them.


    So, am I being paranoid or being safe?


    Thank you everyone!
     
  2. Mcmeowmers macrumors 6502

    Joined:
    Jun 1, 2015
    #2
    I would have wiped it ages ago!

    I believe you could potentially hide a script like that in your email but you'd have to reactivate it on the clean install.

    Hiding in keychain? No.

    I'd clean install, do all updates, firewall on, don't install flash, only install apps from the AppStore(if you can) - don't install from backups
     
  3. cefey thread starter macrumors newbie

    Joined:
    May 20, 2010
    #3
    I did clean install, new appleID and new e-mail boxes (checking my old ones from my phone).


    This is really scary, to be honest. In theory, if someone is good enough, it´s enough to infect the computer once and that´s it! Clean install, new mac/pc will not help to get rid of it!

    I need to install apps outside of AppStore, since most of apps I use is not in AppStore (even Viber, Skype etc).
    But I will try to stay away from my old backup and migrate everything manually.


    Is it possible to hide scripts in photos/music? So once I open the photo/music file/video file, the script runs and screws me over?
     
  4. cefey thread starter macrumors newbie

    Joined:
    May 20, 2010
    #4
    Is it possible to zero-out HD? I know it was possible earlier, but I can´t find this option anymore, even if I restart through cmd+R.
     
  5. Mcmeowmers macrumors 6502

    Joined:
    Jun 1, 2015
    #5
    I think it's in Disk Utility which lost or hid a few options in el capitan. Try searching for some terminal commands. Zeroing is probably not worth the time, especially on ssd.
     
  6. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #6
    https://support.apple.com/en-us/HT201949
    Note: With an SSD drive, Secure Erase and Erasing Free Space are not available in Disk Utility. These options are not needed for an SSD drive because a standard erase makes it difficult to recover data from an SSD. For more security, consider turning on FileVault encryption when you start using your SSD drive.​

    If you turn on FileVault on the SSD, it will encrypt it, including the free space. Then lose the password, and it's good to go.

    You could also make a giant disk image file on the SSD and zero that out.
     

Share This Page